HYDRA_development_version
|
#include <hparticlepair.h>
Public Member Functions | |
HParticlePair () | |
~HParticlePair () | |
HVirtualCand * | getCand (Int_t ind) |
HParticlePair * | getPair (Int_t ind) |
HVirtualCandSim * | getCandSim (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 () |
HVirtualCandSim * | getFirstDaughter () |
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 () |
HGeomVector & | getEventVertex () |
HGeomVector & | getDecayVertex () |
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 | |
HVirtualCand * | fcand [2] |
HParticlePair * | fpair [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 |
Definition at line 14 of file hparticlepair.h.
HParticlePair::HParticlePair | ( | ) |
HParticlePair::~HParticlePair | ( | ) |
Definition at line 36 of file hparticlepair.cc.
Bool_t HParticlePair::calcVectors | ( | Int_t | pid1, |
Int_t | pid2, | ||
Int_t | motherpid, | ||
HGeomVector & | vertex | ||
) |
Definition at line 118 of file hparticlepair.cc.
References HParticleTool::fillTLorentzVector(), getDoMomentumCorrection(), and HPhysicsConstants::mass().
|
protected |
Definition at line 84 of file hparticlepair.cc.
References HParticleTool::calcSegVector(), HParticleTool::calculateMinimumDistance(), HParticleTool::calculateMinimumDistanceStraightToPoint(), HParticleTool::calcVertexAnalytical(), and HGeomVector::setXYZ().
|
inline |
Definition at line 83 of file hparticlepair.h.
void HParticlePair::clear | ( | void | ) |
Definition at line 676 of file hparticlepair.cc.
|
inline |
Definition at line 51 of file hparticlepair.h.
Referenced by HParticlePairMaker::filterCandidates(), and HParticlePairMaker::nextEvent().
|
inline |
Definition at line 60 of file hparticlepair.h.
|
inline |
Definition at line 53 of file hparticlepair.h.
|
inline |
Definition at line 54 of file hparticlepair.h.
|
inline |
Definition at line 76 of file hparticlepair.h.
References fDecayVertex.
|
inlinestatic |
Definition at line 90 of file hparticlepair.h.
References fDoMomCorrection.
Referenced by calcVectors().
|
inline |
Definition at line 75 of file hparticlepair.h.
References fEventVertex.
HVirtualCandSim * HParticlePair::getFirstDaughter | ( | ) |
Definition at line 151 of file hparticlepair.cc.
|
inline |
Definition at line 69 of file hparticlepair.h.
References fIsSimulation.
|
inline |
Definition at line 73 of file hparticlepair.h.
References fMinDistCandidates.
|
inline |
Definition at line 61 of file hparticlepair.h.
References fMotherPID.
|
inline |
Definition at line 56 of file hparticlepair.h.
References foAngle.
Referenced by HParticlePairMaker::filterCandidates().
|
inline |
Definition at line 52 of file hparticlepair.h.
|
inline |
Definition at line 62 of file hparticlepair.h.
References fpairFlags.
Referenced by HParticleTool::evalPairsFlags().
|
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 | ||
) |
Definition at line 319 of file hparticlepair.cc.
References HVirtualCandSim::getGeantGeninfo(), HVirtualCandSim::getGeantGeninfo1(), HVirtualCandSim::getGeantGeninfo2(), HVirtualCandSim::getGeantGrandParentTrackNum(), and HVirtualCandSim::getGeantParentTrackNum().
|
inline |
Definition at line 82 of file hparticlepair.h.
References fstatusFlags.
|
inline |
Definition at line 58 of file hparticlepair.h.
|
inline |
Definition at line 74 of file hparticlepair.h.
References fVerDistMother.
|
inline |
Definition at line 71 of file hparticlepair.h.
|
inline |
Definition at line 72 of file hparticlepair.h.
References fVerMinDistMother.
|
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.
|
protected |
Definition at line 41 of file hparticlepair.cc.
References n.
Bool_t HParticlePair::isTruePair | ( | ) |
Definition at line 73 of file hparticlepair.cc.
void HParticlePair::print | ( | UInt_t | selection = 63 | ) |
Definition at line 613 of file hparticlepair.cc.
References HParticleCand::getInnerSegInd(), HParticleCand::getMetaHitInd(), HParticleCand::getOuterSegInd(), HParticleCand::getRichInd(), HParticleCand::getSelectedMeta(), HParticleCand::getSystemUsed(), HParticleCand::isRpcClstUsed(), HParticleCand::isShowerUsed(), HParticleCand::isTofClstUsed(), and HParticleCand::isTofHitUsed().
Referenced by HParticlePairMaker::nextEvent().
void HParticlePair::printFlags | ( | ) |
Definition at line 562 of file hparticlepair.cc.
References HParticleTool::isPairsFlagsBit(), Particle::kFittedInnerMDC2, Particle::kFittedOuterMDC2, Particle::kIsLepton2, Particle::kIsUsed2, Particle::kMETA2, Particle::kNoFittedInnerMDC2, Particle::kNoFittedOuterMDC2, Particle::kNoIsLepton2, Particle::kNoIsUsed2, Particle::kNoMETA2, Particle::kNoOuterMDC2, Particle::kNoRICH2, Particle::kNoRK2, Particle::kNoSameInnerMDC, Particle::kNoSameMETA, Particle::kNoSameNegPolarity, Particle::kNoSameOuterMDC, Particle::kNoSamePolarity, Particle::kNoSamePosPolarity, Particle::kNoSameRICH, Particle::kNoUseRICH, Particle::kOuterMDC2, Particle::kRICH2, Particle::kRK2, Particle::kSameInnerMDC, Particle::kSameMETA, Particle::kSameNegPolarity, Particle::kSameOuterMDC, Particle::kSamePolarity, Particle::kSamePosPolarity, and Particle::kSameRICH.
|
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.
|
protected |
Definition at line 348 of file hparticlepair.cc.
References HVirtualCandSim::getGeantGeninfo(), and HParticleCandSim::isGhostTrack().
|
protected |
pointer to cand1 and cand2 from pairs
Definition at line 21 of file hparticlepair.h.
|
protected |
Definition at line 19 of file hparticlepair.h.
|
protected |
Definition at line 34 of file hparticlepair.h.
Referenced by getDecayVertex().
|
staticprotected |
Definition at line 40 of file hparticlepair.h.
Referenced by getDoMomentumCorrection().
|
protected |
Definition at line 33 of file hparticlepair.h.
Referenced by getEventVertex().
|
protected |
Definition at line 30 of file hparticlepair.h.
Referenced by getIsSimulation().
|
protected |
Definition at line 38 of file hparticlepair.h.
Referenced by getMinDistCandidates().
|
protected |
Definition at line 28 of file hparticlepair.h.
Referenced by getMotherPID().
|
protected |
Definition at line 29 of file hparticlepair.h.
Referenced by getOpeningAngle().
|
protected |
pointer to cand1 (reference: should be a lepton candidate) and cand2
Definition at line 20 of file hparticlepair.h.
|
protected |
Definition at line 23 of file hparticlepair.h.
Referenced by getPairFlags().
|
protected |
Definition at line 27 of file hparticlepair.h.
|
protected |
Definition at line 24 of file hparticlepair.h.
Referenced by getStatusFlags().
|
protected |
Definition at line 37 of file hparticlepair.h.
Referenced by getVerDistMother().
|
protected |
Definition at line 35 of file hparticlepair.h.
|
protected |
Definition at line 36 of file hparticlepair.h.
Referenced by getVerMinDistMother().