HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HParticlePair Class Reference

#include <hparticlepair.h>

Inheritance diagram for HParticlePair:
Collaboration diagram for HParticlePair:

Public Member Functions

 HParticlePair ()
 
 ~HParticlePair ()
 
HVirtualCandgetCand (Int_t ind)
 
HParticlePairgetPair (Int_t ind)
 
HVirtualCandSimgetCandSim (Int_t ind)
 
TLorentzVector & getCandVect (Int_t ind)
 
Int_t index (Int_t pid)
 
Float_t getOpeningAngle ()
 
Float_t getPhi ()
 
Float_t getTheta ()
 
Int_t getCandPID (Int_t ind)
 
Int_t getMotherPID ()
 
UInt_t getPairFlags ()
 
Int_t isFakePair ()
 
Bool_t isTruePair ()
 
HVirtualCandSimgetFirstDaughter ()
 
Bool_t isGeantDecay ()
 
Bool_t isSameExternalSource ()
 
void getSourceInfo (Int_t index, Int_t &parentTr, Int_t &grandparenttr, Int_t &geninfo, Int_t &geninfo1, Int_t &geninfo2)
 
Bool_t getIsSimulation ()
 
Float_t getVerMinDistCand (Int_t ind)
 
Float_t getVerMinDistMother ()
 
Float_t getMinDistCandidates ()
 
Float_t getVerDistMother ()
 
HGeomVectorgetEventVertex ()
 
HGeomVectorgetDecayVertex ()
 
void printFlags ()
 
void print (UInt_t selection=63)
 
void clear ()
 
UInt_t getStatusFlags ()
 
Bool_t checkStatus (UInt_t flag)
 
Bool_t calcVectors (Int_t pid1, Int_t pid2, Int_t motherpid, HGeomVector &vertex)
 
Bool_t setPair (HVirtualCand *cnd1, Int_t pid1, HVirtualCand *cnd2, Int_t pid2, Int_t motherpid, UInt_t pairflags, HGeomVector &vertex)
 
Bool_t setPair (HParticlePair *cnd1, Int_t pid1, HVirtualCand *cnd2, Int_t pid2, Int_t motherpid, UInt_t pairflags, HGeomVector &vertex)
 
Bool_t setPair (HParticlePair *cnd1, Int_t pid1, HParticlePair *cnd2, Int_t pid2, Int_t motherpid, UInt_t pairflags, HGeomVector &vertex)
 

Static Public Member Functions

static void setDoMomentumCorrection (Bool_t doit)
 
static Bool_t getDoMomentumCorrection ()
 

Protected Member Functions

Bool_t calcVertex ()
 
Bool_t isSimulation ()
 
void setTruePair ()
 

Protected Attributes

HVirtualCandfcand [2]
 
HParticlePairfpair [2]
 pointer to cand1 (reference: should be a lepton candidate) and cand2 More...
 
TLorentzVector fc [2]
 pointer to cand1 and cand2 from pairs More...
 
UInt_t fpairFlags
 
UInt_t fstatusFlags
 
Int_t fPID [2]
 
Int_t fMotherPID
 
Float_t foAngle
 
Bool_t fIsSimulation
 
HGeomVector fEventVertex
 
HGeomVector fDecayVertex
 
Float_t fVerMinDistCand [2]
 
Float_t fVerMinDistMother
 
Float_t fVerDistMother
 
Float_t fMinDistCandidates
 

Static Protected Attributes

static Bool_t fDoMomCorrection
 

Detailed Description

Definition at line 14 of file hparticlepair.h.

Constructor & Destructor Documentation

HParticlePair::HParticlePair ( )
HParticlePair::~HParticlePair ( )

Definition at line 36 of file hparticlepair.cc.

Member Function Documentation

Bool_t HParticlePair::calcVectors ( Int_t  pid1,
Int_t  pid2,
Int_t  motherpid,
HGeomVector vertex 
)
Bool_t HParticlePair::checkStatus ( UInt_t  flag)
inline

Definition at line 83 of file hparticlepair.h.

void HParticlePair::clear ( void  )

Definition at line 676 of file hparticlepair.cc.

HVirtualCand* HParticlePair::getCand ( Int_t  ind)
inline
Int_t HParticlePair::getCandPID ( Int_t  ind)
inline

Definition at line 60 of file hparticlepair.h.

HVirtualCandSim* HParticlePair::getCandSim ( Int_t  ind)
inline

Definition at line 53 of file hparticlepair.h.

TLorentzVector& HParticlePair::getCandVect ( Int_t  ind)
inline

Definition at line 54 of file hparticlepair.h.

HGeomVector& HParticlePair::getDecayVertex ( )
inline

Definition at line 76 of file hparticlepair.h.

References fDecayVertex.

static Bool_t HParticlePair::getDoMomentumCorrection ( )
inlinestatic

Definition at line 90 of file hparticlepair.h.

References fDoMomCorrection.

Referenced by calcVectors().

HGeomVector& HParticlePair::getEventVertex ( )
inline

Definition at line 75 of file hparticlepair.h.

References fEventVertex.

HVirtualCandSim * HParticlePair::getFirstDaughter ( )

Definition at line 151 of file hparticlepair.cc.

Bool_t HParticlePair::getIsSimulation ( )
inline

Definition at line 69 of file hparticlepair.h.

References fIsSimulation.

Float_t HParticlePair::getMinDistCandidates ( )
inline

Definition at line 73 of file hparticlepair.h.

References fMinDistCandidates.

Int_t HParticlePair::getMotherPID ( )
inline

Definition at line 61 of file hparticlepair.h.

References fMotherPID.

Float_t HParticlePair::getOpeningAngle ( )
inline

Definition at line 56 of file hparticlepair.h.

References foAngle.

Referenced by HParticlePairMaker::filterCandidates().

HParticlePair* HParticlePair::getPair ( Int_t  ind)
inline

Definition at line 52 of file hparticlepair.h.

UInt_t HParticlePair::getPairFlags ( )
inline

Definition at line 62 of file hparticlepair.h.

References fpairFlags.

Referenced by HParticleTool::evalPairsFlags().

Float_t HParticlePair::getPhi ( void  )
inline

Definition at line 57 of file hparticlepair.h.

void HParticlePair::getSourceInfo ( Int_t  index,
Int_t &  parentTr,
Int_t &  grandparenttr,
Int_t &  geninfo,
Int_t &  geninfo1,
Int_t &  geninfo2 
)
UInt_t HParticlePair::getStatusFlags ( )
inline

Definition at line 82 of file hparticlepair.h.

References fstatusFlags.

Float_t HParticlePair::getTheta ( void  )
inline

Definition at line 58 of file hparticlepair.h.

Float_t HParticlePair::getVerDistMother ( )
inline

Definition at line 74 of file hparticlepair.h.

References fVerDistMother.

Float_t HParticlePair::getVerMinDistCand ( Int_t  ind)
inline

Definition at line 71 of file hparticlepair.h.

Float_t HParticlePair::getVerMinDistMother ( )
inline

Definition at line 72 of file hparticlepair.h.

References fVerMinDistMother.

Int_t HParticlePair::index ( Int_t  pid)
inline

Definition at line 55 of file hparticlepair.h.

Int_t HParticlePair::isFakePair ( )

Definition at line 62 of file hparticlepair.cc.

Bool_t HParticlePair::isGeantDecay ( )

Definition at line 162 of file hparticlepair.cc.

Bool_t HParticlePair::isSameExternalSource ( )

Definition at line 223 of file hparticlepair.cc.

Bool_t HParticlePair::isSimulation ( void  )
protected

Definition at line 41 of file hparticlepair.cc.

References n.

Bool_t HParticlePair::isTruePair ( )

Definition at line 73 of file hparticlepair.cc.

static void HParticlePair::setDoMomentumCorrection ( Bool_t  doit)
inlinestatic

Definition at line 89 of file hparticlepair.h.

Bool_t HParticlePair::setPair ( HVirtualCand cnd1,
Int_t  pid1,
HVirtualCand cnd2,
Int_t  pid2,
Int_t  motherpid,
UInt_t  pairflags,
HGeomVector vertex 
)

Definition at line 497 of file hparticlepair.cc.

Referenced by HParticlePairMaker::nextEvent().

Bool_t HParticlePair::setPair ( HParticlePair cnd1,
Int_t  pid1,
HVirtualCand cnd2,
Int_t  pid2,
Int_t  motherpid,
UInt_t  pairflags,
HGeomVector vertex 
)

Definition at line 517 of file hparticlepair.cc.

Bool_t HParticlePair::setPair ( HParticlePair cnd1,
Int_t  pid1,
HParticlePair cnd2,
Int_t  pid2,
Int_t  motherpid,
UInt_t  pairflags,
HGeomVector vertex 
)

Definition at line 539 of file hparticlepair.cc.

void HParticlePair::setTruePair ( )
protected

Member Data Documentation

TLorentzVector HParticlePair::fc[2]
protected

pointer to cand1 and cand2 from pairs

Definition at line 21 of file hparticlepair.h.

HVirtualCand* HParticlePair::fcand[2]
protected

Definition at line 19 of file hparticlepair.h.

HGeomVector HParticlePair::fDecayVertex
protected

Definition at line 34 of file hparticlepair.h.

Referenced by getDecayVertex().

Bool_t HParticlePair::fDoMomCorrection
staticprotected

Definition at line 40 of file hparticlepair.h.

Referenced by getDoMomentumCorrection().

HGeomVector HParticlePair::fEventVertex
protected

Definition at line 33 of file hparticlepair.h.

Referenced by getEventVertex().

Bool_t HParticlePair::fIsSimulation
protected

Definition at line 30 of file hparticlepair.h.

Referenced by getIsSimulation().

Float_t HParticlePair::fMinDistCandidates
protected

Definition at line 38 of file hparticlepair.h.

Referenced by getMinDistCandidates().

Int_t HParticlePair::fMotherPID
protected

Definition at line 28 of file hparticlepair.h.

Referenced by getMotherPID().

Float_t HParticlePair::foAngle
protected

Definition at line 29 of file hparticlepair.h.

Referenced by getOpeningAngle().

HParticlePair* HParticlePair::fpair[2]
protected

pointer to cand1 (reference: should be a lepton candidate) and cand2

Definition at line 20 of file hparticlepair.h.

UInt_t HParticlePair::fpairFlags
protected

Definition at line 23 of file hparticlepair.h.

Referenced by getPairFlags().

Int_t HParticlePair::fPID[2]
protected

Definition at line 27 of file hparticlepair.h.

UInt_t HParticlePair::fstatusFlags
protected

Definition at line 24 of file hparticlepair.h.

Referenced by getStatusFlags().

Float_t HParticlePair::fVerDistMother
protected

Definition at line 37 of file hparticlepair.h.

Referenced by getVerDistMother().

Float_t HParticlePair::fVerMinDistCand[2]
protected

Definition at line 35 of file hparticlepair.h.

Float_t HParticlePair::fVerMinDistMother
protected

Definition at line 36 of file hparticlepair.h.

Referenced by getVerMinDistMother().


The documentation for this class was generated from the following files: