CbmRoot
|
#include <LmvmTask.h>
Public Member Functions | |
LmvmTask () | |
virtual | ~LmvmTask () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *option) |
template<typename T > | |
T * | InitOrFatal (const std::string &name) |
void | PairSource (const LmvmCand &candP, const LmvmCand &candM, ELmvmAnaStep step, const LmvmKinePar &parRec) |
void | FillPairHists (const LmvmCand &candP, const LmvmCand &candM, const LmvmKinePar &parMc, const LmvmKinePar &parRec, ELmvmAnaStep step) |
void | FillMomHists (const CbmMCTrack *mct, const LmvmCand *cand, ELmvmSrc src, ELmvmAnaStep step) |
void | TrackSource (const LmvmCand &cand, ELmvmAnaStep step, int pdg) |
void | BgPairPdg (const LmvmCand &candP, const LmvmCand &candM, ELmvmAnaStep step) |
void | DoMcTrack () |
void | DoMcPair () |
void | FillRichRingNofHits () |
bool | IsMcTrackAccepted (int mcTrackInd) |
void | RichPmtXY () |
void | FillTopologyCands () |
void | FillCands () |
void | AssignMcToCands (std::vector< LmvmCand > &cands) |
void | AssignMcToTopologyCands (std::vector< LmvmCand > &topoCands) |
void | DifferenceSignalAndBg (const LmvmCand &cand) |
void | InitHists () |
double | MinvScale (double minv) |
void | AnalyseCandidates () |
void | AnalyseGlobalTracks () |
void | CheckMismatches (const CbmGlobalTrack *gTrack, int pdg, bool isElectron, const std::string &ptcl, double weight) |
void | BetaMom (const CbmMCTrack *mct, const CbmGlobalTrack *gTrack, const std::string &ptcl) |
void | CheckTofIdentification (const CbmGlobalTrack *gTrack, const std::string &pidString, double mom, double m2, int pdg, bool isTofEl) |
void | PidVsMom (const CbmGlobalTrack *gTrack, int iGTrack, int pdg, double mom) |
void | CheckGammaConvAndPi0 () |
void | CheckClosestMvdHit (int mvdStationNum, const std::string &hist, const std::string &histQa) |
void | CheckTopologyCut (ELmvmTopologyCut cut, const std::string &name) |
void | CalculateNofTopologyPairs (const std::string &name, ELmvmSrc src) |
void | MvdCutMcDistance () |
void | CombinatorialPairs () |
void | FillCandPidValues (const CbmMCTrack *mcTrack, const LmvmCand &cand, ELmvmAnaStep step) |
void | CheckTofId (const CbmMCTrack *mcTrack, const LmvmCand &cand, ELmvmAnaStep step, int pdg) |
bool | IsInTofPile (double mom, double m2) |
std::string | GetPidString (const CbmMCTrack *mct, const LmvmCand *cand) |
std::string | GetPidString (double vertexMag, int pdg) |
bool | IsInAllDets (const CbmGlobalTrack *gTrack) |
bool | IsPrimary (double vertexMag) |
virtual void | Finish () |
ClassDef (LmvmTask, 1) | |
void | SetUseMvd (bool use) |
void | SetWeight (double w) |
void | SetEnergyAndPlutoParticle (const std::string &energy, const std::string &particle) |
void | SetPionMisidLevel (double level) |
Private Member Functions | |
LmvmTask (const LmvmTask &) | |
LmvmTask & | operator= (const LmvmTask &) |
Private Attributes | |
FairMCEventHeader * | fMCEventHeader = nullptr |
TClonesArray * | fMCTracks = nullptr |
TClonesArray * | fRichRings = nullptr |
TClonesArray * | fRichProj = nullptr |
TClonesArray * | fRichPoints = nullptr |
TClonesArray * | fRichRingMatches = nullptr |
TClonesArray * | fRichHits = nullptr |
TClonesArray * | fGlobalTracks = nullptr |
TClonesArray * | fStsTracks = nullptr |
TClonesArray * | fStsTrackMatches = nullptr |
TClonesArray * | fStsHits = nullptr |
TClonesArray * | fMvdHits = nullptr |
TClonesArray * | fMvdPoints = nullptr |
TClonesArray * | fMvdHitMatches = nullptr |
TClonesArray * | fTrdTracks = nullptr |
TClonesArray * | fTrdHits = nullptr |
TClonesArray * | fTrdTrackMatches = nullptr |
TClonesArray * | fTofHits = nullptr |
TClonesArray * | fTofHitsMatches = nullptr |
TClonesArray * | fTofPoints = nullptr |
TClonesArray * | fTofTracks = nullptr |
CbmVertex * | fPrimVertex = nullptr |
CbmKFVertex | fKFVertex |
bool | fUseMvd = false |
std::vector< LmvmCand > | fCands |
std::vector< LmvmCand > | fCandsTotal |
std::vector< LmvmCand > | fSTCands |
std::vector< LmvmCand > | fTTCands |
std::vector< LmvmCand > | fRTCands |
double | fW = 0. |
double | fPionMisidLevel = -1. |
int | fEventNumber = 0 |
LmvmCuts | fCuts |
LmvmHist | fH |
std::map< int, int > | fNofHitsInRingMap |
double | fZ = -44. |
std::string | fParticle = "" |
Definition at line 33 of file LmvmTask.h.
LmvmTask::LmvmTask | ( | ) |
Definition at line 55 of file LmvmTask.cxx.
|
virtual |
Definition at line 58 of file LmvmTask.cxx.
|
private |
void LmvmTask::AnalyseCandidates | ( | ) |
Definition at line 1522 of file LmvmTask.cxx.
References CheckClosestMvdHit(), CheckGammaConvAndPi0(), CheckTofId(), CheckTopologyCut(), LmvmKinePar::Create(), DifferenceSignalAndBg(), ElId, LmvmHist::fAnaSteps, fCands, fH, FillCandPidValues(), LmvmHist::FillH1(), LmvmHist::FillH2(), FillPairHists(), fMCTracks, fUseMvd, fW, CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), GetPidString(), RT, sqrt(), ST, TrackSource(), and TT.
Referenced by Exec().
void LmvmTask::AnalyseGlobalTracks | ( | ) |
Definition at line 520 of file LmvmTask.cxx.
References BetaMom(), CheckMismatches(), CheckTofIdentification(), fGlobalTracks, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), fMCTracks, fStsTrackMatches, fStsTracks, fW, CbmMCTrack::GetGeantProcessId(), CbmLink::GetIndex(), CbmLitGlobalElectronId::GetInstance(), CbmMatch::GetMatchedLink(), CbmMatch::GetNofLinks(), CbmMCTrack::GetNPoints(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), GetPidString(), CbmMCTrack::GetPt(), CbmMCTrack::GetRapidity(), CbmGlobalTrack::GetRichRingIndex(), CbmRichUtil::GetRingTrackDistance(), CbmMCTrack::GetStartVertex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmLitGlobalElectronId::GetTofM2(), CbmGlobalTrack::GetTrdTrackIndex(), IsInAllDets(), LmvmUtils::IsMcSignalEl(), IsPrimary(), CbmLitGlobalElectronId::IsRichElectron(), CbmLitGlobalElectronId::IsTofElectron(), CbmLitGlobalElectronId::IsTrdElectron(), kMvd, kSts, PidVsMom(), and v.
Referenced by Exec().
void LmvmTask::AssignMcToCands | ( | std::vector< LmvmCand > & | cands | ) |
Definition at line 1169 of file LmvmTask.cxx.
References LmvmKinePar::Create(), fMCTracks, LmvmKinePar::fMinv, fPionMisidLevel, fRichRingMatches, fStsTrackMatches, fTofHits, fTofHitsMatches, fTofPoints, fTrdTrackMatches, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetMotherId(), CbmMatch::GetNofLinks(), and CbmMCTrack::GetPdgCode().
Referenced by FillCands().
void LmvmTask::AssignMcToTopologyCands | ( | std::vector< LmvmCand > & | topoCands | ) |
Definition at line 1223 of file LmvmTask.cxx.
References fMCTracks, fStsTrackMatches, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetMotherId(), CbmMatch::GetNofLinks(), and CbmMCTrack::GetPdgCode().
Referenced by FillCands(), and FillTopologyCands().
void LmvmTask::BetaMom | ( | const CbmMCTrack * | mct, |
const CbmGlobalTrack * | gTrack, | ||
const std::string & | ptcl ) |
Definition at line 754 of file LmvmTask.cxx.
References fH, LmvmHist::FillH2(), fTofHits, CbmMCTrack::GetCharge(), CbmGlobalTrack::GetLength(), CbmMCTrack::GetP(), CbmHit::GetTime(), and CbmGlobalTrack::GetTofHitIndex().
Referenced by AnalyseGlobalTracks().
void LmvmTask::BgPairPdg | ( | const LmvmCand & | candP, |
const LmvmCand & | candM, | ||
ELmvmAnaStep | step ) |
Definition at line 1386 of file LmvmTask.cxx.
References fH, LmvmHist::FillH2(), LmvmCand::fMcPdg, and LmvmCand::IsMcSignal().
Referenced by FillPairHists().
void LmvmTask::CalculateNofTopologyPairs | ( | const std::string & | name, |
ELmvmSrc | src ) |
Definition at line 1742 of file LmvmTask.cxx.
References ElId, fCands, fH, LmvmHist::FillH1(), LmvmCand::fMcMotherId, LmvmCand::fMcSrc, fMCTracks, fRTCands, fSTCands, LmvmCand::fStsMcTrackId, fTTCands, CbmMCTrack::GetMotherId(), CbmLitMCTrack::GetNofPointsInDifferentStations(), CbmLitMCTrackCreator::GetTrack(), CbmLitMCTrackCreator::Instance(), LmvmCand::IsCutTill(), and kSts.
Referenced by Exec().
void LmvmTask::CheckClosestMvdHit | ( | int | mvdStationNum, |
const std::string & | hist, | ||
const std::string & | histQa ) |
Definition at line 1859 of file LmvmTask.cxx.
References LmvmUtils::Distance2(), ElId, fCands, fCuts, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), LmvmCand::fIsMvd1Cut, LmvmCand::fIsMvd2Cut, LmvmCand::fMcSrc, fMCTracks, LmvmCand::fMomentum, fMvdHitMatches, fMvdHits, LmvmCand::fStsMcTrackId, fStsTracks, fW, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMCTrack::GetMotherId(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmMCTrack::GetPdgCode(), CbmMvdHit::GetStationNr(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), LmvmCand::IsMcSignal(), LmvmCuts::IsMvdCutOk(), and sqrt().
Referenced by AnalyseCandidates().
void LmvmTask::CheckGammaConvAndPi0 | ( | ) |
Definition at line 1659 of file LmvmTask.cxx.
References LmvmKinePar::Create(), ElId, fCands, fCuts, LmvmKinePar::fMinv, and LmvmCuts::IsGammaCutOk().
Referenced by AnalyseCandidates().
void LmvmTask::CheckMismatches | ( | const CbmGlobalTrack * | gTrack, |
int | pdg, | ||
bool | isElectron, | ||
const std::string & | ptcl, | ||
double | weight ) |
Definition at line 772 of file LmvmTask.cxx.
References fH, LmvmHist::FillH1(), LmvmHist::FillH2(), fKFVertex, fRichRingMatches, fStsTrackMatches, fStsTracks, fTofHitsMatches, fTofPoints, fTrdTrackMatches, CbmL1PFFitter::GetChiToVertex(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMatch::GetNofLinks(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTrdTrackIndex(), and IsInAllDets().
Referenced by AnalyseGlobalTracks().
void LmvmTask::CheckTofId | ( | const CbmMCTrack * | mcTrack, |
const LmvmCand & | cand, | ||
ELmvmAnaStep | step, | ||
int | pdg ) |
Definition at line 1605 of file LmvmTask.cxx.
References ElId, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), LmvmCand::fIsTofElectron, LmvmCand::fMass2, LmvmCand::fMomentum, GetPidString(), CbmMCTrack::GetPt(), CbmMCTrack::GetRapidity(), CbmMCTrack::GetStartVertex(), LmvmCand::IsCutTill(), LmvmCand::IsMcSignal(), IsPrimary(), and v.
Referenced by AnalyseCandidates().
void LmvmTask::CheckTofIdentification | ( | const CbmGlobalTrack * | gTrack, |
const std::string & | pidString, | ||
double | mom, | ||
double | m2, | ||
int | pdg, | ||
bool | isTofEl ) |
Definition at line 677 of file LmvmTask.cxx.
References LmvmHist::fCandNames, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), fStsTrackMatches, fTofHits, fTofHitsMatches, fTofPoints, fTofTracks, CbmTofTrack::GetDistance(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMatch::GetNofLinks(), CbmGlobalTrack::GetStsTrackIndex(), CbmHit::GetTime(), CbmGlobalTrack::GetTofHitIndex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), IsInTofPile(), and sqrt().
Referenced by AnalyseGlobalTracks().
void LmvmTask::CheckTopologyCut | ( | ELmvmTopologyCut | cut, |
const std::string & | name ) |
Definition at line 1676 of file LmvmTask.cxx.
References LmvmKinePar::Create(), ElId, LmvmKinePar::fAngle, fCands, fCuts, fH, LmvmHist::FillH2(), fRTCands, fSTCands, fTTCands, fW, LmvmCuts::IsTopologyCutOk(), RT, ST, and TT.
Referenced by AnalyseCandidates().
LmvmTask::ClassDef | ( | LmvmTask | , |
1 | ) |
void LmvmTask::CombinatorialPairs | ( | ) |
Definition at line 1076 of file LmvmTask.cxx.
References Acc, LmvmKinePar::Create(), LmvmHist::fAnaSteps, fCandsTotal, fH, LmvmHist::FillH1(), LmvmKinePar::fMinv, fW, Mc, and MinvScale().
Referenced by Finish().
void LmvmTask::DifferenceSignalAndBg | ( | const LmvmCand & | cand | ) |
Definition at line 1804 of file LmvmTask.cxx.
References ElId, LmvmCand::fChi2Prim, LmvmCand::fChi2Sts, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), LmvmCand::fIsChi2Prim, LmvmCand::fMass2, LmvmCand::fMcPdg, LmvmCand::fMcSrc, LmvmCand::fMomentum, fMvdHits, LmvmCand::fRichAnn, LmvmCand::fStsInd, fStsTracks, LmvmCand::fTrdLikeEl, LmvmCand::fTrdLikePi, fUseMvd, fW, CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmStsTrack::GetNofStsHits(), CbmMvdHit::GetStationNr(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), LmvmCand::IsCutTill(), LmvmCand::IsMcSignal(), and sqrt().
Referenced by AnalyseCandidates().
void LmvmTask::DoMcPair | ( | ) |
Definition at line 450 of file LmvmTask.cxx.
References Acc, LmvmKinePar::Create(), Eta, LmvmKinePar::fAngle, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), fMCTracks, LmvmKinePar::fMinv, LmvmKinePar::fMomentumMag, LmvmKinePar::fPt, LmvmKinePar::fRapidity, fW, LmvmUtils::GetMcPairSrc(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetP(), IsMcTrackAccepted(), Mc, MinvScale(), Pi0, and Signal.
Referenced by Exec().
void LmvmTask::DoMcTrack | ( | ) |
Definition at line 396 of file LmvmTask.cxx.
References Acc, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), FillMomHists(), fMCTracks, fNofHitsInRingMap, fW, CbmMCTrack::GetCharge(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetNPoints(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetStartVertex(), LmvmUtils::IsMcGammaEl(), LmvmUtils::IsMcSignalEl(), IsMcTrackAccepted(), kMvd, kSts, kTof, kTrd, Mc, and v.
Referenced by Exec().
|
virtual |
Definition at line 308 of file LmvmTask.cxx.
References AnalyseCandidates(), AnalyseGlobalTracks(), CalculateNofTopologyPairs(), DoMcPair(), DoMcTrack(), fCands, fCandsTotal, fCuts, fEventNumber, fH, FillCands(), LmvmHist::FillH1(), FillRichRingNofHits(), FillTopologyCands(), fKFVertex, fPionMisidLevel, fPrimVertex, fW, Gamma, Pi0, RichPmtXY(), and LmvmCuts::ToString().
void LmvmTask::FillCandPidValues | ( | const CbmMCTrack * | mcTrack, |
const LmvmCand & | cand, | ||
ELmvmAnaStep | step ) |
Definition at line 1642 of file LmvmTask.cxx.
References fH, LmvmHist::FillH1(), LmvmHist::FillH2(), LmvmCand::fMass2, LmvmCand::fMomentum, LmvmCand::fRapidity, fW, CbmMCTrack::GetP(), GetPidString(), and LmvmCand::IsMcSignal().
Referenced by AnalyseCandidates().
void LmvmTask::FillCands | ( | ) |
Definition at line 977 of file LmvmTask.cxx.
References AssignMcToCands(), AssignMcToTopologyCands(), LmvmUtils::CalculateAndSetTrackParams(), fCands, LmvmCand::fChi2Prim, LmvmCand::fChi2Rich, LmvmCand::fChi2Trd, fCuts, LmvmCand::fEventNumber, fEventNumber, fGlobalTracks, LmvmCand::fGTrackInd, LmvmCand::fIsChi2Prim, LmvmCand::fIsElectron, LmvmCand::fIsMvd1Cut, LmvmCand::fIsMvd2Cut, LmvmCand::fIsPtCut, fKFVertex, LmvmCand::fLength, fMCTracks, LmvmCand::fMomentum, LmvmCuts::fMomentumCut, fPionMisidLevel, LmvmCand::fRichInd, fRichProj, fRichRings, LmvmCand::fStsInd, LmvmCand::fStsMcTrackId, fStsTrackMatches, fStsTracks, LmvmCand::fTime, LmvmCand::fTofDist, fTofHits, LmvmCand::fTofInd, LmvmCand::fTofTrackInd, fTofTracks, LmvmCand::fTrdInd, LmvmCand::fTrdLikeEl, LmvmCand::fTrdLikePi, fTrdTracks, fTTCands, fUseMvd, CbmRichRing::GetChi2(), CbmTrack::GetChiSq(), CbmTofTrack::GetDistance(), CbmLink::GetIndex(), CbmGlobalTrack::GetLength(), CbmMatch::GetMatchedLink(), CbmRichRing::GetNDF(), CbmTrack::GetNDF(), CbmMatch::GetNofLinks(), CbmMCTrack::GetPdgCode(), CbmTrdTrack::GetPidLikeEL(), CbmTrdTrack::GetPidLikePI(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmHit::GetTime(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTrdTrackIndex(), LmvmCuts::IsChi2PrimaryOk(), LmvmUtils::IsElectron(), LmvmUtils::IsElectronMc(), LmvmCuts::IsPtCutOk(), LmvmUtils::IsRichElectron(), LmvmUtils::IsTofElectron(), LmvmUtils::IsTrdElectron(), and richProj.
Referenced by Exec().
void LmvmTask::FillMomHists | ( | const CbmMCTrack * | mct, |
const LmvmCand * | cand, | ||
ELmvmSrc | src, | ||
ELmvmAnaStep | step ) |
Definition at line 375 of file LmvmTask.cxx.
References fH, LmvmHist::FillH1(), LmvmCand::fMomentum, LmvmCand::fRapidity, fW, LmvmUtils::GetChargeStr(), CbmMCTrack::GetP(), CbmMCTrack::GetPt(), CbmMCTrack::GetPx(), CbmMCTrack::GetPy(), CbmMCTrack::GetPz(), CbmMCTrack::GetRapidity(), LmvmCand::IsMcSignal(), and LmvmUtils::IsMcSignalEl().
Referenced by DoMcTrack(), and TrackSource().
void LmvmTask::FillPairHists | ( | const LmvmCand & | candP, |
const LmvmCand & | candM, | ||
const LmvmKinePar & | parMc, | ||
const LmvmKinePar & | parRec, | ||
ELmvmAnaStep | step ) |
Definition at line 1411 of file LmvmTask.cxx.
References Acc, Bg, BgPairPdg(), fH, LmvmHist::FillH1(), LmvmHist::FillH2(), LmvmCand::fMassSig, LmvmCand::fMcPdg, LmvmKinePar::fMinv, LmvmKinePar::fMomentumMag, LmvmKinePar::fPt, LmvmKinePar::fRapidity, fW, LmvmUtils::GetMcPairSrc(), LmvmCand::IsMcSignal(), LmvmUtils::IsMismatch(), Mc, MinvScale(), PairSource(), and Signal.
Referenced by AnalyseCandidates().
void LmvmTask::FillRichRingNofHits | ( | ) |
Definition at line 348 of file LmvmTask.cxx.
References fMCTracks, fNofHitsInRingMap, fRichHits, fRichPoints, CbmMCTrack::GetMotherId(), and CbmHit::GetRefId().
Referenced by Exec().
void LmvmTask::FillTopologyCands | ( | ) |
Definition at line 910 of file LmvmTask.cxx.
References AssignMcToTopologyCands(), LmvmUtils::CalculateAndSetTrackParams(), LmvmCand::fChi2Prim, fCuts, fGlobalTracks, LmvmCand::fIsChi2Prim, fKFVertex, LmvmCand::fMomentum, LmvmCand::fRichInd, fRichRings, fRTCands, fSTCands, LmvmCand::fStsInd, fStsTracks, fTofHits, LmvmCand::fTofInd, LmvmCand::fTofTrackInd, LmvmCand::fTrdInd, fTrdTracks, CbmLitGlobalElectronId::GetInstance(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTrdTrackIndex(), LmvmCuts::IsChi2PrimaryOk(), CbmLitGlobalElectronId::IsRichElectron(), CbmLitGlobalElectronId::IsTofElectron(), and CbmLitGlobalElectronId::IsTrdElectron().
Referenced by Exec().
|
virtual |
Definition at line 1964 of file LmvmTask.cxx.
References CombinatorialPairs(), fH, and LmvmHist::WriteToFile().
string LmvmTask::GetPidString | ( | const CbmMCTrack * | mct, |
const LmvmCand * | cand ) |
Definition at line 1450 of file LmvmTask.cxx.
References LmvmHist::fCandNames, fH, LmvmCand::fMcPdg, CbmMCTrack::GetGeantProcessId(), CbmMCTrack::GetPdgCode(), and LmvmCand::IsMcSignal().
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), CheckTofId(), and FillCandPidValues().
string LmvmTask::GetPidString | ( | double | vertexMag, |
int | pdg ) |
Definition at line 1483 of file LmvmTask.cxx.
References LmvmHist::fGTrackNames, fH, and IsPrimary().
|
virtual |
Definition at line 270 of file LmvmTask.cxx.
References fGlobalTracks, fMCEventHeader, fMCTracks, fMvdHitMatches, fMvdHits, fMvdPoints, fPrimVertex, fRichHits, fRichPoints, fRichProj, fRichRingMatches, fRichRings, fStsHits, fStsTrackMatches, fStsTracks, fTofHits, fTofHitsMatches, fTofPoints, fTofTracks, fTrdTrackMatches, fTrdTracks, fUseMvd, CbmLitGlobalElectronId::GetInstance(), InitHists(), InitOrFatal(), and CbmLitMCTrackCreator::Instance().
void LmvmTask::InitHists | ( | ) |
Definition at line 61 of file LmvmTask.cxx.
References LmvmHist::CreateH1(), LmvmHist::CreateH2(), LmvmHist::fAnaStepNames, LmvmHist::fBgPairSrcNames, LmvmHist::fCandNames, LmvmHist::fGTrackNames, fH, LmvmHist::fNofAnaSteps, LmvmHist::fNofBgPairSrc, LmvmHist::fSrcNames, and fZ.
Referenced by Init().
|
inline |
Definition at line 57 of file LmvmTask.h.
Referenced by Init().
bool LmvmTask::IsInAllDets | ( | const CbmGlobalTrack * | gTrack | ) |
Definition at line 888 of file LmvmTask.cxx.
References fRichRings, fStsTracks, fTofHits, fTrdTracks, CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), and CbmGlobalTrack::GetTrdTrackIndex().
Referenced by AnalyseGlobalTracks(), CheckMismatches(), and PidVsMom().
bool LmvmTask::IsInTofPile | ( | double | mom, |
double | m2 ) |
Definition at line 653 of file LmvmTask.cxx.
Referenced by CheckTofIdentification().
bool LmvmTask::IsMcTrackAccepted | ( | int | mcTrackInd | ) |
Definition at line 511 of file LmvmTask.cxx.
References fMCTracks, fNofHitsInRingMap, CbmMCTrack::GetNPoints(), kMvd, kSts, kTof, and kTrd.
Referenced by DoMcPair(), and DoMcTrack().
bool LmvmTask::IsPrimary | ( | double | vertexMag | ) |
Definition at line 1958 of file LmvmTask.cxx.
References fZ.
Referenced by AnalyseGlobalTracks(), CheckTofId(), and GetPidString().
double LmvmTask::MinvScale | ( | double | minv | ) |
Definition at line 363 of file LmvmTask.cxx.
References fParticle, LmvmUtils::GetMassScaleInmed(), and LmvmUtils::GetMassScaleQgp().
Referenced by CombinatorialPairs(), DoMcPair(), and FillPairHists().
void LmvmTask::MvdCutMcDistance | ( | ) |
Definition at line 1930 of file LmvmTask.cxx.
References LmvmUtils::Distance(), ElId, fCands, fH, LmvmHist::FillH1(), fMvdHitMatches, fMvdHits, fStsTracks, fUseMvd, fW, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmMvdHit::GetStationNr(), CbmPixelHit::GetX(), and CbmPixelHit::GetY().
void LmvmTask::PairSource | ( | const LmvmCand & | candP, |
const LmvmCand & | candM, | ||
ELmvmAnaStep | step, | ||
const LmvmKinePar & | parRec ) |
Definition at line 1241 of file LmvmTask.cxx.
References Bg, ElId, LmvmKinePar::fAngle, LmvmHist::fBgPairSrcNames, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), LmvmCand::fMcPdg, LmvmKinePar::fMinv, fW, LmvmUtils::GetBgPairSrc(), LmvmUtils::GetMcPairSrc(), LmvmHist::GetName(), LmvmCand::IsMcGamma(), LmvmCand::IsMcPi0(), LmvmCand::IsMcSignal(), and Undefined.
Referenced by FillPairHists().
void LmvmTask::PidVsMom | ( | const CbmGlobalTrack * | gTrack, |
int | iGTrack, | ||
int | pdg, | ||
double | mom ) |
Definition at line 655 of file LmvmTask.cxx.
References fH, LmvmHist::FillH2(), CbmLitGlobalElectronId::GetInstance(), IsInAllDets(), CbmLitGlobalElectronId::IsRichElectron(), CbmLitGlobalElectronId::IsTofElectron(), and CbmLitGlobalElectronId::IsTrdElectron().
Referenced by AnalyseGlobalTracks().
void LmvmTask::RichPmtXY | ( | ) |
Definition at line 490 of file LmvmTask.cxx.
References fH, LmvmHist::FillH2(), fMCTracks, fRichHits, fRichPoints, fW, LmvmUtils::GetMcSrc(), CbmMCTrack::GetMotherId(), CbmHit::GetRefId(), CbmMCTrack::GetStartVertex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), LmvmUtils::IsMcSignalEl(), and v.
Referenced by Exec().
void LmvmTask::SetEnergyAndPlutoParticle | ( | const std::string & | energy, |
const std::string & | particle ) |
Definition at line 1976 of file LmvmTask.cxx.
References fParticle, LmvmSimParam::GetWeight(), and SetWeight().
|
inline |
Definition at line 226 of file LmvmTask.h.
References fPionMisidLevel.
|
inline |
Definition at line 223 of file LmvmTask.h.
References fUseMvd.
|
inline |
Definition at line 224 of file LmvmTask.h.
References fW.
Referenced by SetEnergyAndPlutoParticle().
void LmvmTask::TrackSource | ( | const LmvmCand & | cand, |
ELmvmAnaStep | step, | ||
int | pdg ) |
Definition at line 1324 of file LmvmTask.cxx.
References Acc, fH, LmvmHist::FillH1(), LmvmHist::FillH2(), FillMomHists(), LmvmCand::fMcPdg, LmvmCand::fMcSrc, fMCTracks, LmvmCand::fMomentum, LmvmCand::fRichMcTrackId, LmvmCand::fStsMcTrackId, LmvmCand::fTofMcTrackId, LmvmCand::fTrdMcTrackId, fW, CbmMCTrack::GetStartVertex(), LmvmUtils::IsGhost(), LmvmCand::IsMcGamma(), LmvmCand::IsMcPi0(), LmvmCand::IsMcSignal(), LmvmUtils::IsMismatch(), Mc, and v.
Referenced by AnalyseCandidates().
|
private |
Definition at line 198 of file LmvmTask.h.
Referenced by AnalyseCandidates(), CalculateNofTopologyPairs(), CheckClosestMvdHit(), CheckGammaConvAndPi0(), CheckTopologyCut(), Exec(), FillCands(), and MvdCutMcDistance().
|
private |
Definition at line 199 of file LmvmTask.h.
Referenced by CombinatorialPairs(), and Exec().
|
private |
Definition at line 212 of file LmvmTask.h.
Referenced by CheckClosestMvdHit(), CheckGammaConvAndPi0(), CheckTopologyCut(), Exec(), FillCands(), and FillTopologyCands().
|
private |
Definition at line 211 of file LmvmTask.h.
Referenced by Exec(), and FillCands().
|
private |
Definition at line 179 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), FillCands(), FillTopologyCands(), and Init().
|
private |
Definition at line 214 of file LmvmTask.h.
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), BetaMom(), BgPairPdg(), CalculateNofTopologyPairs(), CheckClosestMvdHit(), CheckMismatches(), CheckTofId(), CheckTofIdentification(), CheckTopologyCut(), CombinatorialPairs(), DifferenceSignalAndBg(), DoMcPair(), DoMcTrack(), Exec(), FillCandPidValues(), FillMomHists(), FillPairHists(), Finish(), GetPidString(), GetPidString(), InitHists(), MvdCutMcDistance(), PairSource(), PidVsMom(), RichPmtXY(), and TrackSource().
|
private |
Definition at line 194 of file LmvmTask.h.
Referenced by CheckMismatches(), Exec(), FillCands(), and FillTopologyCands().
|
private |
Definition at line 172 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 173 of file LmvmTask.h.
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), AssignMcToCands(), AssignMcToTopologyCands(), CalculateNofTopologyPairs(), CheckClosestMvdHit(), DoMcPair(), DoMcTrack(), FillCands(), FillRichRingNofHits(), Init(), IsMcTrackAccepted(), RichPmtXY(), and TrackSource().
|
private |
Definition at line 185 of file LmvmTask.h.
Referenced by CheckClosestMvdHit(), Init(), and MvdCutMcDistance().
|
private |
Definition at line 183 of file LmvmTask.h.
Referenced by CheckClosestMvdHit(), DifferenceSignalAndBg(), Init(), and MvdCutMcDistance().
|
private |
Definition at line 184 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 216 of file LmvmTask.h.
Referenced by DoMcTrack(), FillRichRingNofHits(), and IsMcTrackAccepted().
|
private |
Definition at line 220 of file LmvmTask.h.
Referenced by MinvScale(), and SetEnergyAndPlutoParticle().
|
private |
Definition at line 209 of file LmvmTask.h.
Referenced by AssignMcToCands(), Exec(), FillCands(), and SetPionMisidLevel().
|
private |
Definition at line 193 of file LmvmTask.h.
|
private |
Definition at line 178 of file LmvmTask.h.
Referenced by FillRichRingNofHits(), Init(), and RichPmtXY().
|
private |
Definition at line 176 of file LmvmTask.h.
Referenced by FillRichRingNofHits(), Init(), and RichPmtXY().
|
private |
Definition at line 175 of file LmvmTask.h.
Referenced by FillCands(), and Init().
|
private |
Definition at line 177 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), and Init().
|
private |
Definition at line 174 of file LmvmTask.h.
Referenced by FillCands(), FillTopologyCands(), Init(), and IsInAllDets().
|
private |
Definition at line 205 of file LmvmTask.h.
Referenced by CalculateNofTopologyPairs(), CheckTopologyCut(), and FillTopologyCands().
|
private |
Definition at line 201 of file LmvmTask.h.
Referenced by CalculateNofTopologyPairs(), CheckTopologyCut(), and FillTopologyCands().
|
private |
Definition at line 182 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 181 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), AssignMcToCands(), AssignMcToTopologyCands(), CheckMismatches(), CheckTofIdentification(), FillCands(), and Init().
|
private |
Definition at line 180 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), CheckClosestMvdHit(), CheckMismatches(), DifferenceSignalAndBg(), FillCands(), FillTopologyCands(), Init(), IsInAllDets(), and MvdCutMcDistance().
|
private |
Definition at line 189 of file LmvmTask.h.
Referenced by AssignMcToCands(), BetaMom(), CheckTofIdentification(), FillCands(), FillTopologyCands(), Init(), and IsInAllDets().
|
private |
Definition at line 190 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), CheckTofIdentification(), and Init().
|
private |
Definition at line 191 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), CheckTofIdentification(), and Init().
|
private |
Definition at line 192 of file LmvmTask.h.
Referenced by CheckTofIdentification(), FillCands(), and Init().
|
private |
Definition at line 187 of file LmvmTask.h.
|
private |
Definition at line 188 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), and Init().
|
private |
Definition at line 186 of file LmvmTask.h.
Referenced by FillCands(), FillTopologyCands(), Init(), and IsInAllDets().
|
private |
Definition at line 203 of file LmvmTask.h.
Referenced by CalculateNofTopologyPairs(), CheckTopologyCut(), and FillCands().
|
private |
Definition at line 196 of file LmvmTask.h.
Referenced by AnalyseCandidates(), DifferenceSignalAndBg(), FillCands(), Init(), MvdCutMcDistance(), and SetUseMvd().
|
private |
Definition at line 207 of file LmvmTask.h.
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), CheckClosestMvdHit(), CheckTopologyCut(), CombinatorialPairs(), DifferenceSignalAndBg(), DoMcPair(), DoMcTrack(), Exec(), FillCandPidValues(), FillMomHists(), FillPairHists(), MvdCutMcDistance(), PairSource(), RichPmtXY(), SetWeight(), and TrackSource().
|
private |
Definition at line 218 of file LmvmTask.h.
Referenced by InitHists(), and IsPrimary().