|
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 | FillCandsForEventMix () |
| 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 | IsRecoTrackAccepted (const CbmGlobalTrack *gTrack) |
| void | RichPmtXY () |
| void | FillTopologyCands () |
| void | FillCands () |
| void | AssignMcToCands (std::vector< LmvmCand > &cands) |
| void | AssignMcToTopologyCands (std::vector< LmvmCand > &topoCands) |
| void | FillSourceHistos (const LmvmCand &cand) |
| void | InitHists () |
| double | MinvScale (const CbmMCTrack *mct, const std::string &signal) |
| void | AnalyseCandidates () |
| void | AnalyseGlobalTracks () |
| void | AnalyseRichRings () |
| void | AnalyseProperties () |
| void | FillHistosForFastSim () |
| void | CheckLikeSignCorrelations () |
| 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 | PidVsMom (const CbmGlobalTrack *gTrack, int iGTrack, int pdg, double mom, bool isAcc) |
| CbmMCTrack * | GetMcTrackSts (int stsIndex) |
| 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 | RatioMomentum (const CbmMCTrack *mct, const LmvmCand &cand, ELmvmAnaStep step, int pdg) |
| void | CheckTofId (const CbmMCTrack *mcTrack, const LmvmCand &cand, ELmvmAnaStep step, int pdg) |
| bool | IsInTofPile (double mom, double m2) |
| bool | IsInBox (double boxX, double boxY, double xVal, double yVal, double width) |
| std::string | GetPidString (const CbmMCTrack *mct, const LmvmCand *cand) |
| std::string | GetPidString (double vertexZ, int pdg) |
| bool | IsInAllDets (const CbmGlobalTrack *gTrack) |
| bool | IsPrimary (double vertexZ) |
| 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 | SetTaskId (const std::string &taskId) |
| void | SetPionMisidLevel (double level) |
Public Attributes | |
| std::string | fhrep |
| std::string | fhrec |
Private Member Functions | |
| LmvmTask (const LmvmTask &) | |
| LmvmTask & | operator= (const LmvmTask &) |
Private Attributes | |
| FairMCEventHeader * | fMCEventHeader = nullptr |
| TClonesArray * | fCbmEvents = 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 |
| CbmDigiManager * | fDigiManager = nullptr |
| CbmKFVertex | fKFVertex |
| CbmStsKFTrackFitter | fKFFitter |
| bool | fUseMvd = false |
| std::vector< LmvmCand > | fCands |
| std::vector< LmvmCand > | fCandsTotal |
| std::vector< LmvmCand > | fCandsMix |
| std::vector< LmvmCand > | fSTCands |
| std::vector< LmvmCand > | fTTCands |
| std::vector< LmvmCand > | fRTCands |
| double | fW = 0. |
| double | fPionMisidLevel = -1. |
| Int_t | fEventNumber = 0 |
| LmvmCuts | fCuts |
| LmvmHist | fH |
| std::map< int, int > | fNofHitsInRingMap |
| double | fZ = -44. |
| int | fNofMinHitsStsMvd = 4 |
| int | fNofMinHitsRich = 7 |
| int | fNofMinHitsTrd = 2 |
| int | fNofMinHitsTof = 1 |
| std::string | fParticle = "" |
| std::string | fTaskId = "" |
Definition at line 33 of file LmvmTask.h.
| LmvmTask::LmvmTask | ( | ) |
Definition at line 57 of file LmvmTask.cxx.
Referenced by ClassDef(), LmvmTask(), and operator=().
|
virtual |
Definition at line 60 of file LmvmTask.cxx.
|
private |
References LmvmTask().
| void LmvmTask::AnalyseCandidates | ( | ) |
Definition at line 1996 of file LmvmTask.cxx.
References Acc, CheckClosestMvdHit(), CheckGammaConvAndPi0(), CheckTofId(), CheckTopologyCut(), Chi2Prim, LmvmKinePar::Create(), ElId, fCands, fH, FillPairHists(), FillSourceHistos(), LmvmCand::fStsInd, fTofHits, fTofTracks, fUseMvd, GetMcTrackSts(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), GetPidString(), CbmRichUtil::GetRingTrackDistance(), CbmTofTrack::GetTofHitIndex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), LmvmCand::IsCutTill(), IsInBox(), LmvmUtils::IsMismatch(), Mc, Cbm::NumberToString(), pos, PtCut, RatioMomentum(), Reco, RT, sqrt(), ST, TrackSource(), TT, and TtCut.
Referenced by Exec().
| void LmvmTask::AnalyseGlobalTracks | ( | ) |
Definition at line 994 of file LmvmTask.cxx.
References CheckMismatches(), fGlobalTracks, fH, fMCTracks, fParticle, fRichRings, fStsTracks, fTofHits, fTrdTracks, fW, CbmLitGlobalElectronId::GetInstance(), GetMcTrackSts(), CbmRichRing::GetNofHits(), CbmTrack::GetNofHits(), CbmStsTrack::GetNofStsHits(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), GetPidString(), CbmMCTrack::GetPt(), CbmMCTrack::GetRapidity(), CbmGlobalTrack::GetRichRingIndex(), CbmMCTrack::GetStartVertex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmLitGlobalElectronId::GetTofM2(), CbmGlobalTrack::GetTrdTrackIndex(), IsInAllDets(), LmvmUtils::IsMcGammaEl(), LmvmUtils::IsMcSignalEl(), IsPrimary(), IsRecoTrackAccepted(), CbmLitGlobalElectronId::IsRichElectron(), CbmLitGlobalElectronId::IsTofElectron(), CbmLitGlobalElectronId::IsTrdElectron(), MinvScale(), nStsHits, nTofHits, PidVsMom(), sqrt(), and v.
Referenced by Exec().
| void LmvmTask::AnalyseProperties | ( | ) |
Definition at line 2181 of file LmvmTask.cxx.
References ElId, fCands, fH, and GetPidString().
Referenced by Exec().
| void LmvmTask::AnalyseRichRings | ( | ) |
Definition at line 726 of file LmvmTask.cxx.
References fCuts, fGlobalTracks, fH, fKFVertex, fRichProj, fRichRings, fStsTracks, CbmRichRing::GetAaxis(), CbmRichRing::GetBaxis(), CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmL1PFFitter::GetChiToVertex(), CbmLitGlobalElectronId::GetInstance(), GetMcTrackSts(), CbmMCTrack::GetP(), GetPidString(), CbmGlobalTrack::GetStsTrackIndex(), IsRecoTrackAccepted(), CbmLitGlobalElectronId::IsRichElectron(), CbmLitGlobalElectronId::IsTofElectron(), CbmLitGlobalElectronId::IsTrdElectron(), and sqrt().
Referenced by Exec().
| void LmvmTask::AssignMcToCands | ( | std::vector< LmvmCand > & | cands | ) |
Definition at line 1576 of file LmvmTask.cxx.
References LmvmKinePar::Create(), fMCTracks, LmvmKinePar::fMinv, fParticle, fPionMisidLevel, fRichRingMatches, fStsTrackMatches, fTofHits, fTofHitsMatches, fTofPoints, fTrdTrackMatches, fW, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetMotherId(), CbmMatch::GetNofLinks(), CbmMCTrack::GetPdgCode(), and LmvmUtils::MinvScale().
Referenced by FillCands().
| void LmvmTask::AssignMcToTopologyCands | ( | std::vector< LmvmCand > & | topoCands | ) |
Definition at line 1635 of file LmvmTask.cxx.
References fMCTracks, LmvmUtils::GetMcSrc(), GetMcTrackSts(), CbmMCTrack::GetMotherId(), and CbmMCTrack::GetPdgCode().
Referenced by FillCands(), and FillTopologyCands().
| void LmvmTask::BetaMom | ( | const CbmMCTrack * | mct, |
| const CbmGlobalTrack * | gTrack, | ||
| const std::string & | ptcl ) |
| void LmvmTask::BgPairPdg | ( | const LmvmCand & | candP, |
| const LmvmCand & | candM, | ||
| ELmvmAnaStep | step ) |
| void LmvmTask::CalculateNofTopologyPairs | ( | const std::string & | name, |
| ELmvmSrc | src ) |
Definition at line 2362 of file LmvmTask.cxx.
References ElId, fCands, fH, 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 2466 of file LmvmTask.cxx.
References LmvmUtils::Distance2(), ElId, fCands, fCuts, fH, LmvmCand::fIsMvd1Cut, LmvmCand::fIsMvd2Cut, LmvmCand::fMcSrc, fMCTracks, LmvmCand::fMomentum, fMvdHitMatches, fMvdHits, LmvmCand::fStsMcTrackId, fStsTracks, LmvmCand::fWeight, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMCTrack::GetMotherId(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmMCTrack::GetPdgCode(), CbmMvdHit::GetStationNr(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), LmvmCand::IsMcSignal(), and sqrt().
Referenced by AnalyseCandidates().
| void LmvmTask::CheckGammaConvAndPi0 | ( | ) |
Definition at line 2276 of file LmvmTask.cxx.
References LmvmKinePar::Create(), ElId, fCands, fCuts, and LmvmKinePar::fMinv.
Referenced by AnalyseCandidates().
| void LmvmTask::CheckLikeSignCorrelations | ( | ) |
Definition at line 500 of file LmvmTask.cxx.
Referenced by Exec().
| void LmvmTask::CheckMismatches | ( | const CbmGlobalTrack * | gTrack, |
| int | pdg, | ||
| bool | isElectron, | ||
| const std::string & | ptcl, | ||
| double | weight ) |
Definition at line 1143 of file LmvmTask.cxx.
References fH, 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 2251 of file LmvmTask.cxx.
References fH, LmvmCand::fIsTofElectron, CbmMCTrack::GetStartVertex(), sqrt(), and v.
Referenced by AnalyseCandidates().
| void LmvmTask::CheckTopologyCut | ( | ELmvmTopologyCut | cut, |
| const std::string & | name ) |
Definition at line 2293 of file LmvmTask.cxx.
References LmvmKinePar::Create(), ElId, LmvmKinePar::fAngle, fCands, fCuts, fH, fRTCands, fSTCands, fTTCands, RT, ST, and TT.
Referenced by AnalyseCandidates().
| LmvmTask::ClassDef | ( | LmvmTask | , |
| 1 | ) |
References LmvmTask().
| void LmvmTask::CombinatorialPairs | ( | ) |
Definition at line 1449 of file LmvmTask.cxx.
References LmvmKinePar::Create(), ElId, LmvmKinePar::fAngle, fCandsTotal, fH, fMCTracks, LmvmKinePar::fMinv, GetMcTrackSts(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetPx(), CbmMCTrack::GetPy(), CbmMCTrack::GetStartVertex(), LmvmUtils::GetWeightPair(), Reco, and sqrt().
Referenced by Finish().
| void LmvmTask::DoMcPair | ( | ) |
Definition at line 903 of file LmvmTask.cxx.
References LmvmKinePar::Create(), Eta, LmvmKinePar::fAngle, fH, fMCTracks, LmvmKinePar::fMinv, LmvmKinePar::fMomentumMag, fParticle, LmvmKinePar::fPt, LmvmKinePar::fRapidity, fW, LmvmUtils::GetMcPairSrc(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetP(), Mc, LmvmUtils::MinvScale(), Pi0, and Signal.
Referenced by Exec().
| void LmvmTask::DoMcTrack | ( | ) |
Definition at line 834 of file LmvmTask.cxx.
References fH, FillMomHists(), fMCTracks, fNofHitsInRingMap, fParticle, fW, CbmMCTrack::GetCharge(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetNPoints(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), GetPidString(), CbmMCTrack::GetStartVertex(), LmvmUtils::IsMcGammaEl(), LmvmUtils::IsMcSignalEl(), kMvd, kSts, kTof, kTrd, Mc, MinvScale(), sqrt(), and v.
Referenced by Exec().
|
virtual |
Definition at line 392 of file LmvmTask.cxx.
References AnalyseCandidates(), AnalyseGlobalTracks(), AnalyseProperties(), AnalyseRichRings(), CalculateNofTopologyPairs(), CheckLikeSignCorrelations(), DoMcPair(), DoMcTrack(), fEventNumber, fGlobalTracks, fH, FillCands(), FillCandsForEventMix(), FillHistosForFastSim(), FillRichRingNofHits(), FillTopologyCands(), fKFVertex, fMCTracks, fPionMisidLevel, fPrimVertex, fRichRings, fTofHits, fTofTracks, fTrdTracks, fW, Gamma, Pi0, and RichPmtXY().
| void LmvmTask::FillCands | ( | ) |
Definition at line 1348 of file LmvmTask.cxx.
References AssignMcToCands(), AssignMcToTopologyCands(), LmvmUtils::CalculateAndSetTrackParams(), fCands, LmvmCand::fCharge, LmvmCand::fChi2Prim, LmvmCand::fChi2Rich, LmvmCand::fChi2Tof, LmvmCand::fChi2Trd, fCuts, LmvmCand::fELossSts, LmvmCand::fEventNumber, fEventNumber, fGlobalTracks, LmvmCand::fGTrackInd, LmvmCand::fIsAcc, LmvmCand::fIsChi2Prim, LmvmCand::fIsElectron, LmvmCand::fIsMvd1Cut, LmvmCand::fIsMvd2Cut, LmvmCand::fIsPtCut, LmvmCand::fIsRec, fKFVertex, LmvmCand::fLength, fMCTracks, LmvmCand::fMomentum, LmvmCand::fNofHitsMvd, LmvmCand::fNofHitsRich, LmvmCand::fNofHitsSts, LmvmCand::fNofHitsTof, LmvmCand::fNofHitsTrd, fPionMisidLevel, LmvmCand::fRichInd, fRichProj, fRichRings, LmvmCand::fStsInd, fStsTracks, LmvmCand::fTaskId, fTaskId, LmvmCand::fTime, LmvmCand::fTofDist, LmvmCand::fTofHitInd, fTofHits, LmvmCand::fTofTrackInd, fTofTracks, LmvmCand::fTrdInd, LmvmCand::fTrdLikeEl, LmvmCand::fTrdLikePi, fTrdTracks, fTTCands, fUseMvd, CbmRichRing::GetChi2(), CbmTrack::GetChiSq(), CbmTofTrack::GetDistance(), CbmStsTrack::GetELoss(), CbmGlobalTrack::GetLength(), GetMcTrackSts(), CbmRichRing::GetNDF(), CbmTrack::GetNDF(), CbmRichRing::GetNofHits(), CbmTrack::GetNofHits(), CbmStsTrack::GetNofMvdHits(), CbmStsTrack::GetNofStsHits(), CbmTofTrack::GetNofTofHits(), CbmMCTrack::GetPdgCode(), CbmTrdTrack::GetPidLikeEL(), CbmTrdTrack::GetPidLikePI(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmHit::GetTime(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTofTrackIndex(), CbmGlobalTrack::GetTrdTrackIndex(), LmvmUtils::IsElectron(), LmvmUtils::IsElectronMc(), IsRecoTrackAccepted(), LmvmUtils::IsRichElectron(), LmvmUtils::IsTofElectron(), LmvmUtils::IsTrdElectron(), and richProj.
Referenced by Exec().
| void LmvmTask::FillCandsForEventMix | ( | ) |
Definition at line 443 of file LmvmTask.cxx.
References ElId, fCands, fCandsTotal, and LmvmCand::IsCutTill().
Referenced by Exec().
| void LmvmTask::FillHistosForFastSim | ( | ) |
| void LmvmTask::FillMomHists | ( | const CbmMCTrack * | mct, |
| const LmvmCand * | cand, | ||
| ELmvmSrc | src, | ||
| ELmvmAnaStep | step ) |
Definition at line 804 of file LmvmTask.cxx.
References Bg, ElId, fH, LmvmCand::fMcPdg, LmvmCand::fMomentum, fParticle, LmvmCand::fRapidity, fW, LmvmCand::fWeight, LmvmUtils::GetChargeStr(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetPt(), CbmMCTrack::GetPx(), CbmMCTrack::GetPy(), CbmMCTrack::GetPz(), CbmMCTrack::GetRapidity(), LmvmUtils::IsMcSignalEl(), and MinvScale().
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 1801 of file LmvmTask.cxx.
References Bg, ElId, LmvmCand::fCharge, fH, LmvmCand::fMcPdg, LmvmKinePar::fMinv, LmvmKinePar::fMomentumMag, LmvmKinePar::fPt, LmvmKinePar::fRapidity, LmvmUtils::GetMcPairSrc(), LmvmUtils::GetWeightPair(), LmvmCand::IsMcGamma(), LmvmCand::IsMcPi0(), LmvmCand::IsMcSignal(), LmvmUtils::IsMismatch(), Mc, Cbm::NumberToString(), PairSource(), and Signal.
Referenced by AnalyseCandidates().
| void LmvmTask::FillRichRingNofHits | ( | ) |
Definition at line 452 of file LmvmTask.cxx.
References fDigiManager, fH, fMCTracks, fNofHitsInRingMap, fRichHits, fRichPoints, CbmMatch::GetLinks(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), CbmHit::GetRefId(), and kRich.
Referenced by Exec().
| void LmvmTask::FillSourceHistos | ( | const LmvmCand & | cand | ) |
Definition at line 2424 of file LmvmTask.cxx.
References ElId, LmvmCand::fChi2Prim, LmvmCand::fChi2Sts, fH, LmvmCand::fIsChi2Prim, LmvmCand::fMass2, LmvmCand::fMcSrc, LmvmCand::fMomentum, fMvdHits, LmvmCand::fRichAnn, LmvmCand::fStsInd, fStsTracks, fUseMvd, LmvmCand::fWeight, CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmStsTrack::GetNofStsHits(), CbmMvdHit::GetStationNr(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), LmvmCand::IsCutTill(), and sqrt().
Referenced by AnalyseCandidates().
| void LmvmTask::FillTopologyCands | ( | ) |
Definition at line 1275 of file LmvmTask.cxx.
References AssignMcToTopologyCands(), LmvmUtils::CalculateAndSetTrackParams(), LmvmCand::fCharge, LmvmCand::fChi2Prim, fCuts, fGlobalTracks, LmvmCand::fIsChi2Prim, fKFVertex, LmvmCand::fMomentum, LmvmCand::fRichInd, fRichRings, fRTCands, fSTCands, LmvmCand::fStsInd, fStsTracks, LmvmCand::fTofHitInd, fTofHits, LmvmCand::fTrdInd, fTrdTracks, CbmLitGlobalElectronId::GetInstance(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTrdTrackIndex(), CbmLitGlobalElectronId::IsRichElectron(), CbmLitGlobalElectronId::IsTofElectron(), and CbmLitGlobalElectronId::IsTrdElectron().
Referenced by Exec().
|
virtual |
Definition at line 2570 of file LmvmTask.cxx.
References CombinatorialPairs(), fCandsTotal, fH, fParticle, and fTaskId.
| CbmMCTrack * LmvmTask::GetMcTrackSts | ( | int | stsIndex | ) |
Definition at line 1986 of file LmvmTask.cxx.
References fMCTracks, fStsTrackMatches, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), and CbmMatch::GetNofLinks().
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), AnalyseRichRings(), AssignMcToTopologyCands(), CombinatorialPairs(), and FillCands().
| string LmvmTask::GetPidString | ( | const CbmMCTrack * | mct, |
| const LmvmCand * | cand ) |
Definition at line 1913 of file LmvmTask.cxx.
References fH, LmvmCand::fMcPdg, CbmMCTrack::GetGeantProcessId(), CbmMCTrack::GetPdgCode(), and LmvmCand::IsMcSignal().
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), AnalyseProperties(), AnalyseRichRings(), DoMcTrack(), and RatioMomentum().
| string LmvmTask::GetPidString | ( | double | vertexZ, |
| int | pdg ) |
Definition at line 1945 of file LmvmTask.cxx.
References fH, and IsPrimary().
|
virtual |
Definition at line 354 of file LmvmTask.cxx.
References fCbmEvents, fDigiManager, fGlobalTracks, fKFFitter, 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(), CbmDigiManager::Instance(), and CbmLitMCTrackCreator::Instance().
| void LmvmTask::InitHists | ( | ) |
Definition at line 63 of file LmvmTask.cxx.
References fH, fParticle, fZ, and Cbm::NumberToString().
Referenced by Init().
|
inline |
Definition at line 57 of file LmvmTask.h.
Referenced by Init().
| bool LmvmTask::IsInAllDets | ( | const CbmGlobalTrack * | gTrack | ) |
Definition at line 1253 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::IsInBox | ( | double | boxX, |
| double | boxY, | ||
| double | xVal, | ||
| double | yVal, | ||
| double | width ) |
Definition at line 2176 of file LmvmTask.cxx.
Referenced by AnalyseCandidates().
| bool LmvmTask::IsInTofPile | ( | double | mom, |
| double | m2 ) |
|
inline |
Definition at line 163 of file LmvmTask.h.
References fZ.
Referenced by AnalyseGlobalTracks(), GetPidString(), and RichPmtXY().
| bool LmvmTask::IsRecoTrackAccepted | ( | const CbmGlobalTrack * | gTrack | ) |
Definition at line 966 of file LmvmTask.cxx.
References fNofMinHitsRich, fNofMinHitsStsMvd, fNofMinHitsTof, fNofMinHitsTrd, fRichRings, fStsTracks, fTofTracks, fTrdTracks, CbmRichRing::GetNofHits(), CbmTrack::GetNofHits(), CbmStsTrack::GetNofMvdHits(), CbmStsTrack::GetNofStsHits(), CbmTofTrack::GetNofTofHits(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTofTrackIndex(), CbmGlobalTrack::GetTrdTrackIndex(), nStsHits, and nTofHits.
Referenced by AnalyseGlobalTracks(), AnalyseRichRings(), and FillCands().
| double LmvmTask::MinvScale | ( | const CbmMCTrack * | mct, |
| const std::string & | signal ) |
Definition at line 482 of file LmvmTask.cxx.
References LmvmKinePar::Create(), fMCTracks, LmvmKinePar::fMinv, CbmMCTrack::GetCharge(), LmvmUtils::IsMcSignalEl(), and LmvmUtils::MinvScale().
Referenced by AnalyseGlobalTracks(), DoMcTrack(), FillMomHists(), and RichPmtXY().
| void LmvmTask::MvdCutMcDistance | ( | ) |
Definition at line 2539 of file LmvmTask.cxx.
References LmvmUtils::Distance(), ElId, fCands, fH, fMvdHitMatches, fMvdHits, fStsTracks, fUseMvd, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmMvdHit::GetStationNr(), CbmPixelHit::GetX(), and CbmPixelHit::GetY().
References LmvmTask().
| void LmvmTask::PairSource | ( | const LmvmCand & | candP, |
| const LmvmCand & | candM, | ||
| ELmvmAnaStep | step, | ||
| const LmvmKinePar & | parRec ) |
Definition at line 1648 of file LmvmTask.cxx.
References Bg, LmvmKinePar::fAngle, fH, LmvmCand::fMcPdg, LmvmKinePar::fMinv, LmvmUtils::GetBgPairSrc(), LmvmUtils::GetMcPairSrc(), LmvmUtils::GetWeightPair(), LmvmCand::IsMcGamma(), LmvmCand::IsMcPi0(), and Undefined.
Referenced by FillPairHists().
| void LmvmTask::PidVsMom | ( | const CbmGlobalTrack * | gTrack, |
| int | iGTrack, | ||
| int | pdg, | ||
| double | mom, | ||
| bool | isAcc ) |
Definition at line 1104 of file LmvmTask.cxx.
References fCuts, fH, fKFVertex, fStsTracks, CbmL1PFFitter::GetChiToVertex(), CbmLitGlobalElectronId::GetInstance(), CbmGlobalTrack::GetStsTrackIndex(), IsInAllDets(), CbmLitGlobalElectronId::IsRichElectron(), CbmLitGlobalElectronId::IsTofElectron(), and CbmLitGlobalElectronId::IsTrdElectron().
Referenced by AnalyseGlobalTracks().
| void LmvmTask::RatioMomentum | ( | const CbmMCTrack * | mct, |
| const LmvmCand & | cand, | ||
| ELmvmAnaStep | step, | ||
| int | pdg ) |
Definition at line 2264 of file LmvmTask.cxx.
References ElId, fH, LmvmCand::fMomentum, LmvmCand::fWeight, CbmMCTrack::GetP(), GetPidString(), and LmvmCand::IsCutTill().
Referenced by AnalyseCandidates().
| void LmvmTask::RichPmtXY | ( | ) |
Definition at line 933 of file LmvmTask.cxx.
References fDigiManager, fH, fMCTracks, fParticle, fRichHits, fRichPoints, fW, CbmMatch::GetLinks(), LmvmUtils::GetMcSrc(), CbmMCTrack::GetMotherId(), CbmHit::GetRefId(), CbmMCTrack::GetStartVertex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), LmvmUtils::IsMcSignalEl(), IsPrimary(), kRich, MinvScale(), and v.
Referenced by Exec().
| void LmvmTask::SetEnergyAndPlutoParticle | ( | const std::string & | energy, |
| const std::string & | particle ) |
Definition at line 2596 of file LmvmTask.cxx.
References fParticle, LmvmSimParam::GetWeight(), and SetWeight().
|
inline |
Definition at line 239 of file LmvmTask.h.
References fPionMisidLevel.
|
inline |
Definition at line 238 of file LmvmTask.h.
References fTaskId.
|
inline |
Definition at line 235 of file LmvmTask.h.
References fUseMvd.
|
inline |
Definition at line 236 of file LmvmTask.h.
References fW.
Referenced by SetEnergyAndPlutoParticle().
| void LmvmTask::TrackSource | ( | const LmvmCand & | cand, |
| ELmvmAnaStep | step, | ||
| int | pdg ) |
Definition at line 1736 of file LmvmTask.cxx.
References ElId, LmvmCand::fCharge, fH, FillMomHists(), LmvmCand::fMcPdg, LmvmCand::fMcSrc, fMCTracks, LmvmCand::fMomentum, LmvmCand::fRichMcTrackId, LmvmCand::fStsMcTrackId, LmvmCand::fTofMcTrackId, LmvmCand::fTrdMcTrackId, LmvmCand::fWeight, CbmMCTrack::GetStartVertex(), LmvmUtils::IsGhost(), LmvmCand::IsMcGamma(), LmvmCand::IsMcPi0(), LmvmCand::IsMcSignal(), LmvmUtils::IsMismatch(), Mc, sqrt(), and v.
Referenced by AnalyseCandidates().
|
private |
Definition at line 202 of file LmvmTask.h.
Referenced by AnalyseCandidates(), AnalyseProperties(), CalculateNofTopologyPairs(), CheckClosestMvdHit(), CheckGammaConvAndPi0(), CheckTopologyCut(), FillCands(), FillCandsForEventMix(), FillHistosForFastSim(), and MvdCutMcDistance().
|
private |
Definition at line 205 of file LmvmTask.h.
|
private |
Definition at line 203 of file LmvmTask.h.
Referenced by CombinatorialPairs(), FillCandsForEventMix(), and Finish().
|
private |
Definition at line 174 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 218 of file LmvmTask.h.
Referenced by AnalyseRichRings(), CheckClosestMvdHit(), CheckGammaConvAndPi0(), CheckTopologyCut(), FillCands(), FillTopologyCands(), and PidVsMom().
|
private |
Definition at line 196 of file LmvmTask.h.
Referenced by FillRichRingNofHits(), Init(), and RichPmtXY().
|
private |
Definition at line 217 of file LmvmTask.h.
Referenced by Exec(), and FillCands().
|
private |
Definition at line 181 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), AnalyseRichRings(), Exec(), FillCands(), FillTopologyCands(), and Init().
|
private |
Definition at line 220 of file LmvmTask.h.
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), AnalyseProperties(), AnalyseRichRings(), CalculateNofTopologyPairs(), CheckClosestMvdHit(), CheckMismatches(), CheckTofId(), CheckTopologyCut(), CombinatorialPairs(), DoMcPair(), DoMcTrack(), Exec(), FillHistosForFastSim(), FillMomHists(), FillPairHists(), FillRichRingNofHits(), FillSourceHistos(), Finish(), GetPidString(), GetPidString(), InitHists(), MvdCutMcDistance(), PairSource(), PidVsMom(), RatioMomentum(), RichPmtXY(), and TrackSource().
| std::string LmvmTask::fhrec |
Definition at line 117 of file LmvmTask.h.
| std::string LmvmTask::fhrep |
Definition at line 116 of file LmvmTask.h.
|
private |
Definition at line 198 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 197 of file LmvmTask.h.
Referenced by AnalyseRichRings(), CheckMismatches(), Exec(), FillCands(), FillTopologyCands(), and PidVsMom().
|
private |
Definition at line 173 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 175 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), AssignMcToCands(), AssignMcToTopologyCands(), CalculateNofTopologyPairs(), CheckClosestMvdHit(), CombinatorialPairs(), DoMcPair(), DoMcTrack(), Exec(), FillCands(), FillRichRingNofHits(), GetMcTrackSts(), Init(), MinvScale(), RichPmtXY(), and TrackSource().
|
private |
Definition at line 187 of file LmvmTask.h.
Referenced by CheckClosestMvdHit(), Init(), and MvdCutMcDistance().
|
private |
Definition at line 185 of file LmvmTask.h.
Referenced by CheckClosestMvdHit(), FillSourceHistos(), Init(), and MvdCutMcDistance().
|
private |
Definition at line 186 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 222 of file LmvmTask.h.
Referenced by DoMcTrack(), and FillRichRingNofHits().
|
private |
Definition at line 227 of file LmvmTask.h.
Referenced by IsRecoTrackAccepted().
|
private |
Definition at line 226 of file LmvmTask.h.
Referenced by IsRecoTrackAccepted().
|
private |
Definition at line 229 of file LmvmTask.h.
Referenced by IsRecoTrackAccepted().
|
private |
Definition at line 228 of file LmvmTask.h.
Referenced by IsRecoTrackAccepted().
|
private |
Definition at line 231 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), AssignMcToCands(), DoMcPair(), DoMcTrack(), FillHistosForFastSim(), FillMomHists(), Finish(), InitHists(), RichPmtXY(), and SetEnergyAndPlutoParticle().
|
private |
Definition at line 215 of file LmvmTask.h.
Referenced by AssignMcToCands(), Exec(), FillCands(), and SetPionMisidLevel().
|
private |
Definition at line 195 of file LmvmTask.h.
|
private |
Definition at line 180 of file LmvmTask.h.
Referenced by FillRichRingNofHits(), Init(), and RichPmtXY().
|
private |
Definition at line 178 of file LmvmTask.h.
Referenced by FillRichRingNofHits(), Init(), and RichPmtXY().
|
private |
Definition at line 177 of file LmvmTask.h.
Referenced by AnalyseRichRings(), FillCands(), and Init().
|
private |
Definition at line 179 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), and Init().
|
private |
Definition at line 176 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), AnalyseRichRings(), Exec(), FillCands(), FillTopologyCands(), Init(), IsInAllDets(), and IsRecoTrackAccepted().
|
private |
Definition at line 211 of file LmvmTask.h.
Referenced by CalculateNofTopologyPairs(), CheckTopologyCut(), and FillTopologyCands().
|
private |
Definition at line 207 of file LmvmTask.h.
Referenced by CalculateNofTopologyPairs(), CheckTopologyCut(), and FillTopologyCands().
|
private |
Definition at line 184 of file LmvmTask.h.
Referenced by Init().
|
private |
Definition at line 183 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), GetMcTrackSts(), and Init().
|
private |
Definition at line 182 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), AnalyseRichRings(), CheckClosestMvdHit(), CheckMismatches(), FillCands(), FillSourceHistos(), FillTopologyCands(), Init(), IsInAllDets(), IsRecoTrackAccepted(), MvdCutMcDistance(), and PidVsMom().
|
private |
Definition at line 232 of file LmvmTask.h.
Referenced by FillCands(), Finish(), and SetTaskId().
|
private |
Definition at line 191 of file LmvmTask.h.
Referenced by AnalyseCandidates(), AnalyseGlobalTracks(), AssignMcToCands(), Exec(), FillCands(), FillTopologyCands(), Init(), and IsInAllDets().
|
private |
Definition at line 192 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), and Init().
|
private |
Definition at line 193 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), and Init().
|
private |
Definition at line 194 of file LmvmTask.h.
Referenced by AnalyseCandidates(), Exec(), FillCands(), Init(), and IsRecoTrackAccepted().
|
private |
Definition at line 189 of file LmvmTask.h.
|
private |
Definition at line 190 of file LmvmTask.h.
Referenced by AssignMcToCands(), CheckMismatches(), and Init().
|
private |
Definition at line 188 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), Exec(), FillCands(), FillTopologyCands(), Init(), IsInAllDets(), and IsRecoTrackAccepted().
|
private |
Definition at line 209 of file LmvmTask.h.
Referenced by CalculateNofTopologyPairs(), CheckTopologyCut(), and FillCands().
|
private |
Definition at line 200 of file LmvmTask.h.
Referenced by AnalyseCandidates(), FillCands(), FillSourceHistos(), Init(), MvdCutMcDistance(), and SetUseMvd().
|
private |
Definition at line 213 of file LmvmTask.h.
Referenced by AnalyseGlobalTracks(), AssignMcToCands(), DoMcPair(), DoMcTrack(), Exec(), FillMomHists(), RichPmtXY(), and SetWeight().
|
private |
Definition at line 224 of file LmvmTask.h.
Referenced by InitHists(), and IsPrimary().