CbmRoot
|
#include <CbmMCTrack.h>
Public Member Functions | |
CbmMCTrack () | |
CbmMCTrack (Int_t pdgCode, Int_t motherID, Double_t px, Double_t py, Double_t pz, Double_t x, Double_t y, Double_t z, Double_t t, Int_t nPoints) | |
CbmMCTrack (const CbmMCTrack &track) | |
CbmMCTrack (TParticle *particle) | |
virtual | ~CbmMCTrack () |
Int_t | AccMVD () const |
Int_t | AccSTS () const |
Int_t | AccPSD () const |
UInt_t | GetGeantProcessId () const |
Int_t | GetPdgCode () const |
Int_t | GetMotherId () const |
Double_t | GetPx () const |
Double_t | GetPy () const |
Double_t | GetPz () const |
Double_t | GetStartX () const |
Double_t | GetStartY () const |
Double_t | GetStartZ () const |
Double_t | GetStartT () const |
Double_t | GetMass () const |
Mass of the associated particle. More... | |
Double_t | GetCharge () const |
Charge of the associated particle. More... | |
Double_t | GetEnergy () const |
Double_t | GetPt () const |
Double_t | GetP () const |
Double_t | GetRapidity () const |
void | GetMomentum (TVector3 &momentum) const |
void | Get4Momentum (TLorentzVector &momentum) const |
void | GetStartVertex (TVector3 &vertex) const |
Int_t | GetNPoints (ECbmModuleId detId) const |
void | SetMotherId (Int_t id) |
void | SetNPoints (ECbmModuleId iDet, Int_t np) |
std::string | ToString () const |
Private Attributes | |
UInt_t | fProcessId |
Int_t | fPdgCode |
Int_t | fMotherId |
Double32_t | fPx |
Double32_t | fPy |
Double32_t | fPz |
Double32_t | fE |
Double32_t | fStartX |
Double32_t | fStartY |
Double32_t | fStartZ |
Double32_t | fStartT |
Int_t | fNPoints |
Definition at line 34 of file CbmMCTrack.h.
CbmMCTrack::CbmMCTrack | ( | ) |
Default constructor
Definition at line 23 of file CbmMCTrack.cxx.
CbmMCTrack::CbmMCTrack | ( | Int_t | pdgCode, |
Int_t | motherID, | ||
Double_t | px, | ||
Double_t | py, | ||
Double_t | pz, | ||
Double_t | x, | ||
Double_t | y, | ||
Double_t | z, | ||
Double_t | t, | ||
Int_t | nPoints = 0 |
||
) |
CbmMCTrack::CbmMCTrack | ( | const CbmMCTrack & | track | ) |
Copy constructor
Definition at line 71 of file CbmMCTrack.cxx.
CbmMCTrack::CbmMCTrack | ( | TParticle * | particle | ) |
Constructor from TParticle
Definition at line 91 of file CbmMCTrack.cxx.
|
virtual |
Destructor
Definition at line 109 of file CbmMCTrack.cxx.
|
inline |
Definition at line 64 of file CbmMCTrack.h.
References GetNPoints(), and kMvd.
|
inline |
Definition at line 66 of file CbmMCTrack.h.
References GetNPoints(), and kPsd.
|
inline |
Definition at line 65 of file CbmMCTrack.h.
References GetNPoints(), and kSts.
|
inline |
Definition at line 177 of file CbmMCTrack.h.
References fPx, fPy, fPz, and GetEnergy().
Referenced by CbmAnaConversionTest::CalcInvMass(), CbmKresEtaMCAnalysis::CalculateOpeningAngleBetweenGammas_MC(), CbmKresConversionReconstruction::CalculateOpeningAngleBetweenGammas_MC(), CbmAnaConversionReco::CalculateOpeningAngleBetweenGammasMC(), CbmAnaConversionRecoFull::CombinePhotons(), CbmL1::Fill_vMCTracks(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresFunctions::Invmass_2particles_MC(), CbmAnaConversionReco::Invmass_4particles(), CbmAnaConversionKF::Invmass_4particles(), CbmAnaConversion::Invmass_4particles(), CbmKresFunctions::Invmass_4particles_MC(), CbmKresFunctions::Invmass_6particles_MC(), CbmAnaConversionKinematicParams::KinematicParams_4particles_MC(), and PairAnalysisPairLV::SetMCTracks().
Double_t CbmMCTrack::GetCharge | ( | ) | const |
Charge of the associated particle.
The charge is taken from TDatabasePDG if the particle exists there. For ions, the charge is calculated from the PDG code. The method throws an error for unknown PDG codes.
Definition at line 146 of file CbmMCTrack.cxx.
References fPdgCode.
Referenced by CbmAnaDimuonAnalysis::Exec(), PairAnalysis::FillMCHistograms(), CbmAnaDielectronTask::FillNofChargedParticlesPerEvent(), CbmRichRecoQa::FillRingTrackDistance(), PairAnalysisVarManager::FillVarMCParticle(), and PairAnalysisVarManager::FillVarMCTrack().
|
inline |
Definition at line 165 of file CbmMCTrack.h.
References fE, fPx, fPy, fPz, and GetMass().
Referenced by CbmAnaConversionPhotons::AnalyseElectronsFromGammaMC(), CbmAnaConversionPhotons::CheckMC(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), Get4Momentum(), GetRapidity(), LxTBFinder::Init(), CbmHadronAnalysis::ReconstructSecondaries(), PairAnalysisPairKF::SetMCTracks(), CbmAnaConversionTomography::TomographyMC(), and NicaCbmMCTrack::Update().
|
inline |
Accessors
Definition at line 69 of file CbmMCTrack.h.
References fProcessId.
Referenced by CbmAnaDimuonAnalysis::Exec(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmRichRecoTbQa::GetNofPrimaryMcTracks(), CbmRichRecoTbQa::IsCherenkovPhotonFromSecondaryElectron(), CbmLmvmUtils::IsMcPi0Electron(), CbmRichRecoQa::IsMcPrimaryElectron(), CbmRichMirrorSortingCorrection::IsMcPrimaryElectron(), CbmRichRecoTbQa::IsMcPrimaryElectron(), CbmAnaJpsiUtils::IsMcSignalElectron(), CbmLmvmUtils::IsMcSignalElectron(), PairAnalysisMC::IsPhysicalPrimary(), CbmLitAcceptanceFunction::PrimaryElectronReferenceRingAcceptanceFunction(), CbmLitAcceptanceFunction::PrimaryElectronRingAcceptanceFunction(), CbmLitAcceptanceFunction::PrimaryElectronTrackAcceptanceFunction(), CbmLitAcceptanceFunction::PrimaryMuonTrackAcceptanceFunction(), CbmRichGeoTest::ProcessMc(), CbmStsDigitize::ProcessMCEvent(), and CbmRichGeoTest::RingParameters().
Double_t CbmMCTrack::GetMass | ( | ) | const |
Mass of the associated particle.
The mass is taken from TDatabasePDG if the particle exists there. For ions, the mass is calculated from the PDG code. The method throws an error for unknown PDG codes.
Definition at line 114 of file CbmMCTrack.cxx.
References CbmProtonMass(), and fPdgCode.
Referenced by CbmKresSelectGoodEvents::Exec(), CbmTrdDigitizer::Exec(), CbmHadronAnalysis::ExecEvent(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), GetEnergy(), LxTBFinder::Init(), LxTBMLFinder::Init(), CbmAnaConversionReco::InvariantMassTest_4epem(), CbmKresConversionReconstruction::MakeRecoAnalysis(), DataTreeCbmInterface::ReadPsdPrimaryParticles(), and CbmHadronAnalysis::ReconstructSecondaries().
|
inline |
Definition at line 172 of file CbmMCTrack.h.
Referenced by CbmAnaConversionRich::AnalyseRICHdata(), CbmAnaConversionPhotons::CalculateKinematicParams(), CbmAnaConversion::CalculateKinematicParams(), CbmKresFunctions::CalculateOpeningAngle_MC(), CbmKresFunctions::CalculateOpeningAngleBetweenPions_MC(), CbmAnaConversionReco::CalculateOpeningAngleMC(), CbmLitTrackingQa::ElectronId(), CbmKresTemperature::Exec(), CbmKresConversionGeneral::Exec(), CbmRichMCbmQa::Exec(), CbmRichMirrorSortingAlignment::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmAnaConversion::Exec(), CbmRichGeoOpt::FillMcHist(), CbmBinnedTrackerQA::Finish(), CbmRichGeoOpt::HitsAndPoints(), CbmRichGeoOpt::HitsAndPointsWithRef(), CbmAnaConversion::Invmass_2gammas(), CbmAnaConversion::Invmass_2particles(), CbmAnaJpsiKinematicParams::KinematicParamsWithMcTracks(), CbmLmvmKinematicParams::KinematicParamsWithMcTracks(), CbmLitTrackingQa::PionSuppression(), CbmStsFindTracksQa::ProcessEvent(), CbmLitTrackingQa::ProcessMcTracks(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmLitFitQa::ProcessTrackParamsAtVertex(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 71 of file CbmMCTrack.h.
References fMotherId.
Referenced by CbmLitMCTrackCreator::AddPoints(), CbmLitMCTrackCreator::AddRingParameters(), CbmLitAcceptanceFunction::AllReferenceRingAcceptanceFunction(), CbmAnaConversion::AnalyseElectrons(), CbmAnaConversionPhotons::AnalyseElectronsFromGammaMC(), CbmAnaConversionPhotons::AnalyseElectronsFromGammaReco(), CbmAnaConversionPhotons::AnalysePhotons(), CbmAnaConversion::AnalysePi0_MC(), CbmAnaConversion::AnalysePi0_Reco(), CbmAnaConversion::AnalysePi0_Reco_calc(), CbmAnaConversion::AnalysePi0_Reco_noRichInd(), CbmAnaConversion::AnalysePi0_Reco_noRichInd_calc(), CbmAnaConversionRich::AnalyseRICHdata(), CbmAnaDielectronTask::AssignMcToCandidates(), CbmAnaJpsiTask::AssignMcToCandidates(), CbmAnaDielectronTask::AssignMcToTopologyCandidates(), CbmAnaDielectronTask::CalculateNofTopologyPairs(), CbmKresEtaMCAnalysis::CalculateOpeningAngleBetweenGammas_MC(), CbmKresConversionReconstruction::CalculateOpeningAngleBetweenGammas_MC(), CbmAnaConversionReco::CalculateOpeningAngleBetweenGammasMC(), CbmAnaDielectronTask::CheckClosestMvdHit(), PairAnalysisMC::CheckIsDalitz(), CbmAnaConversionRich::CheckMC(), CbmAnaConversionPhotons::CheckMC(), CbmAnaConversionPhotons::CombineElectrons(), CbmAnaConversionTest::CombinePhotons(), CbmAnaConversionRecoFull::CombinePhotons(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmTofDigitize::DigitizeDirectClusterSize(), CbmTofDigitize::DigitizeFlatDisc(), CbmTofDigitize::DigitizeGaussCharge(), CbmMuchHitFinderQa::DigitizerQa(), CbmMuchDigitizerQa::DigitizerQa(), CbmMuchTrackFinderIdeal::DoFind(), CbmAnaConversionPhotons2::EstimateFullRecoResults(), CbmKresEtaMCAnalysis::EtaChargedPionsGammaAnalysis(), CbmKresEtaMCAnalysis::EtaChargedPionsGammaAnalysis_plusBG(), CbmKresEtaMCAnalysis::EtaDoubleGammaAnalysis(), CbmKresEtaMCAnalysis::EtaDoubleGammaAnalysis_plusBG(), CbmKresEtaMCAnalysis::EtaPosNegNeutralPionsAnalysis(), LxCalcStats::Exec(), CbmKresConversionBG::Exec(), CbmKresSelectGoodEvents::Exec(), CbmKresTemperature::Exec(), CbmKresConversionReconstruction::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmKresConversionGeneral::Exec(), CbmRichMCbmQa::Exec(), CbmTrdQa::Exec(), LxFinderTriplet::Exec(), CbmKFParticleFinderQA::Exec(), CbmAnaConversionTomography::Exec(), CbmL1MuchFinderQa::Exec(), CbmAnaConversionTest::Exec(), CbmRichMirrorSortingAlignment::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmKFParticleFinder::Exec(), CbmAnaConversionPhotons::Exec(), CbmStsFitPerformanceTask::Exec(), CbmRichMatchRings::Exec(), CbmKFTrackQA::Exec(), CbmMuchTransportQa::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), CbmAnaConversion::Exec(), LxFinder::Exec(), CbmBinnedDebug::Exec(), CbmL1RichRingQa::Exec(), CbmHadronAnalysis::ExecEvent(), CbmL1::Fill_vMCTracks(), CbmTrdElectronsTrainAnn::FillElossVectorSim(), CbmTofTests::FillHistos(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofSimpClusterizer::FillHistos(), CbmRichCorrection::FillHistProjection(), CbmRichCorrectionVector::FillHistProjection(), CbmRichGeoOpt::FillMcHist(), CbmAnaConversionPhotons::FillMCTracklist(), CbmAnaConversionPhotons::FillMCTracklist_allElectrons(), CbmAnaConversionPhotons::FillMCTracklist_allGammas(), CbmAnaConversion::FillMCTracklists(), CbmAnaDielectronTask::FillNofChargedParticlesPerEvent(), CbmAnaConversion::FillRecoTracklist(), CbmAnaConversionPhotons::FillRecoTracklist_allElectrons(), CbmAnaConversion::FillRecoTracklistEPEM(), CbmAnaDielectronTask::FillRichRingNofHits(), CbmAnaJpsiTask::FillRichRingNofHits(), PairAnalysisVarManager::FillVarMCParticle(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresEta::FindEta(), CbmKresConversionKF::FindGammas(), CbmKresConversionManualmbias1::FindGammasOutside(), CbmKresConversionManualmbias2::FindGammasOutside(), CbmKresConversionManualmbias4::FindGammasOutside(), CbmKresConversionManualmbias3::FindGammasOutside(), CbmKresEta::FindGammasOutside(), CbmKresConversionManual::FindGammasOutside(), CbmKresConversionPhotons::FindGammasOutside(), CbmKresConversionCorrectedPhotons::FindGammasOutside(), CbmKresConversionManualmbias1::FindGammasTarget(), CbmKresConversionManualmbias2::FindGammasTarget(), CbmKresConversionManualmbias3::FindGammasTarget(), CbmKresConversionManualmbias4::FindGammasTarget(), CbmKresEta::FindGammasTarget(), CbmKresConversionManual::FindGammasTarget(), CbmKresConversionPhotons::FindGammasTarget(), CbmKresConversionCorrectedPhotons::FindGammasTarget(), CbmKresConversionKF::FindPi0(), CbmKresConversionManualmbias1::FindPi0(), CbmKresConversionManualmbias2::FindPi0(), CbmKresConversionManualmbias3::FindPi0(), CbmKresConversionManualmbias4::FindPi0(), CbmKresConversionManual::FindPi0(), CbmPVFinderIdeal::FindPrimaryVertex(), PairAnalysisMC::GetLabelMotherWithPdg(), PairAnalysisMC::GetMCTrackMother(), CbmMatchRecoToMC::GetMcTrackMotherIdsForRichHit(), CbmRichMirrorSortingCorrection::GetPmtNormal(), CbmRichMirrorSortingAlignment::GetPmtNormal(), CbmRichProjectionProducer2::GetPmtNormal(), CbmRichCorrection::GetPmtNormal(), CbmRichCorrectionVector::GetPmtNormal(), CbmRichPMTMapping::GetPmtNormal(), PairAnalysisMC::HaveSameMother(), CbmRichGeoOpt::HitsAndPoints(), CbmRichGeoOpt::HitsAndPointsWithRef(), CbmBinnedTrackerQANew::Init(), CbmBinnedTrackerQA::Init(), LxTBTrdFinder::Init(), LxTBFinder::Init(), LxTBMLFinder::Init(), CbmGlobalTrackingQA::Init(), CbmAnaConversionReco::InvariantMassMC_all(), CbmAnaConversionTest2::InvariantMassTest_2RICH(), CbmAnaConversionTest2::InvariantMassTest_3RICH(), CbmAnaConversionReco::InvariantMassTest_4epem(), CbmAnaConversion::InvariantMassTestReco(), CbmRichRecoTbQa::IsCherenkovPhotonFromPion(), CbmRichRecoTbQa::IsCherenkovPhotonFromPrimaryElectron(), CbmRichRecoTbQa::IsCherenkovPhotonFromSecondaryElectron(), CbmLmvmUtils::IsMcEtaElectron(), CbmAnaJpsiUtils::IsMcGammaElectron(), CbmLmvmUtils::IsMcGammaElectron(), CbmAnaJpsiUtils::IsMcPi0Electron(), CbmLmvmUtils::IsMcPi0Electron(), PairAnalysisMC::IsPhysicalPrimary(), CbmMuchHitFinderQa::IsSignalPoint(), CbmKresConversionReconstruction::MakeRecoAnalysis(), CbmRichPMTMapping::MatchFinder(), CbmRichCorrectionVector::MatchFinder(), CbmAnaDielectronTask::MCPairs(), CbmAnaConversionRecoFull::MixedEventTest4(), CbmRichUrqmdTest::NofHitsAndPoints(), CbmRichUrqmdTest::NofRings(), CbmAnaDielectronTask::PairMcAndAcceptance(), CbmRichUrqmdTest::PmtXYSource(), CbmLitAcceptanceFunction::PrimaryTrackAcceptanceFunction(), CbmRichGeoTest::ProcessMc(), PairAnalysis::ProcessMC(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmLitFitQa::ProcessTrackParamsAtVertex(), CbmRichCorrection::ProjectionProducer(), CbmRichPMTMapping::ProjectionProducer(), CbmRichCorrectionVector::ProjectionProducer(), CbmRichPMTMapping::ProjectionProducer2(), CbmBinnedMCTrackReader::Read(), CbmL1::ReadMCPoint(), DataTreeCbmInterface::ReadPsdPrimaryParticles(), CbmHadronAnalysis::ReconstructSecondaries(), CbmLitAcceptanceFunction::ReferenceTrackAcceptanceFunction(), CbmAnaDielectronTask::RichPmtXY(), CbmAnaJpsiTask::RichPmtXY(), CbmRichGeoTest::RingParameters(), CbmRichGeoOpt::RingParameters(), CbmLitAcceptanceFunction::SecondaryTrackAcceptanceFunction(), CbmRichTrainAnnSelect::SetRecFlag(), CbmAnaDielectronTask::SingleParticleAcceptance(), CbmAnaConversionKF::test(), CbmAnaConversionTomography::TomographyReco(), NicaCbmMCTrack::Update(), and CbmStack::UpdateTrackIndex().
Int_t CbmMCTrack::GetNPoints | ( | ECbmModuleId | detId | ) | const |
Accessors to the number of MCPoints in the detectors
Definition at line 186 of file CbmMCTrack.cxx.
References fNPoints, kEcal, kMuch, kMvd, kPsd, kRef, kRich, kSts, kTof, and kTrd.
Referenced by AccMVD(), AccPSD(), AccSTS(), CbmTofDigitize::DigitizeDirectClusterSize(), CbmTofDigitize::DigitizeFlatDisc(), CbmTofDigitize::DigitizeGaussCharge(), CbmStsTrackFinderIdeal::DoFind(), CbmTrdQa::Exec(), CbmAnaDimuonAnalysis::Exec(), CbmAnaDielectronTask::FillElPiMomHist(), CbmTofTests::FillHistos(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofSimpClusterizer::FillHistos(), PairAnalysis::FillMCHistograms(), CbmAnaDielectronTask::FillNofChargedParticlesPerEvent(), PairAnalysisVarManager::FillVarMCTrack(), CbmAnaConversionTomography::GetNPoints(), CbmAnaDielectronTask::IsMcTrackAccepted(), CbmAnaJpsiTask::IsMcTrackAccepted(), CbmMatchRecoToMC::MatchStsTracks(), CbmMatchRecoToMC::MatchTracks(), CbmTofMergeMcPoints::MergeRealisticTofPoints(), CbmAnaDielectronTask::SingleParticleAcceptance(), ToString(), and NicaCbmMCTrack::Update().
|
inline |
Definition at line 100 of file CbmMCTrack.h.
Referenced by CbmAnaConversionPhotons::AnalyseElectronsFromGammaReco(), CbmAnaConversionRich::AnalyseRICHdata(), CbmEventBuilderQA::CalculateIsReconstructable(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmKresConversionBG::Exec(), CbmMvdClusterAna::Exec(), CbmKresConversionGeneral::Exec(), CbmKresConversionManual::Exec(), CbmKresConversionPhotons::Exec(), CbmKFParticleFinderQA::Exec(), CbmTrdQa::Exec(), LxFinderTriplet::Exec(), CbmKresConversionCorrectedPhotons::Exec(), CbmL1MuchFinderQa::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), CbmTrdDigitizer::Exec(), LxFinder::Exec(), CbmL1RichRingQa::Exec(), CbmMvdQa::ExecTrackQa(), CbmAnaDielectronTask::FillElPiMomHist(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmRichGeoOpt::FillMcHist(), CbmRichRecoQa::FillRingTrackDistance(), PairAnalysisVarManager::FillVarMCTrack(), CbmBinnedTrackerQA::Finish(), LxTBFinder::Init(), CbmKFTrErrMCPoints::IsReconstructable(), CbmAnaDielectronTask::MCPairs(), CbmRichUrqmdTest::NofRings(), CbmLitTrackingQa::ProcessGlobalTracks(), CbmRichGeoTest::ProcessMc(), CbmLitTrackingQa::ProcessMcTracks(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmHadronAnalysis::ReconstructSecondaries(), CbmLitAcceptanceFunction::ReferenceTrackAcceptanceFunction(), CbmRichGeoTest::RingParameters(), CbmRichGeoOpt::RingParameters(), CbmRichRecoTbQa::RingRecoEfficiency(), CbmRichRecoQa::RingTrackMismatchSource(), CbmMuchTrackFinderIdeal::SetTrackParam(), CbmAnaJpsiTask::SingleParticleAcceptance(), CbmAnaConversionTomography::TomographyMC(), and CbmAnaJpsiTask::TrackSource().
|
inline |
Definition at line 70 of file CbmMCTrack.h.
References fPdgCode.
Referenced by CbmAnaConversion::AnalyseElectrons(), CbmAnaConversionPhotons::AnalyseElectronsFromGammaMC(), CbmAnaConversionPhotons::AnalyseElectronsFromGammaReco(), CbmAnaConversionPhotons::AnalysePhotons(), CbmAnaConversion::AnalysePi0_MC(), CbmAnaConversion::AnalysePi0_Reco(), CbmAnaConversion::AnalysePi0_Reco_noRichInd(), CbmAnaConversionRich::AnalyseRICHdata(), CbmLitAcceptanceFunction::AntiProtonTrackAcceptanceFunction(), CbmAnaDielectronTask::AssignMcToCandidates(), CbmAnaJpsiTask::AssignMcToCandidates(), CbmAnaDielectronTask::AssignMcToTopologyCandidates(), CbmAnaConversionTest::CalcInvMass(), CbmAnaConversion::CalculateInvMass_MC_2particles(), CbmAnaDielectronTask::CheckClosestMvdHit(), PairAnalysisMC::CheckIsDalitz(), CbmAnaConversionRich::CheckMC(), CbmAnaConversionPhotons::CheckMC(), CbmAnaConversionPhotons::CombineElectrons(), CbmAnaConversionTest::CombinePhotons(), CbmAnaConversionRecoFull::CombinePhotons(), CbmRichTrainAnnElectrons::DiffElandPi(), CbmMuchHitFinderQa::DigitizerQa(), CbmMuchDigitizerQa::DigitizerQa(), CbmMuchTrackFinderIdeal::DoFind(), CbmLitAcceptanceFunction::ElectronTrackAcceptanceFunction(), CbmKresEtaMCAnalysis::EtaChargedPionsGammaAnalysis(), CbmKresEtaMCAnalysis::EtaChargedPionsGammaAnalysis_plusBG(), CbmKresEtaMCAnalysis::EtaDoubleGammaAnalysis(), CbmKresEtaMCAnalysis::EtaDoubleGammaAnalysis_plusBG(), CbmKresEtaMCAnalysis::EtaPosNegNeutralPionsAnalysis(), LxCalcStats::Exec(), CbmKresConversionBG::Exec(), CbmKresSelectGoodEvents::Exec(), CbmKresTemperature::Exec(), CbmKresConversionReconstruction::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmKresConversionGeneral::Exec(), CbmKresConversionManual::Exec(), CbmAnaConversionPhotons2::Exec(), CbmKresConversionPhotons::Exec(), CbmKresConversionCorrectedPhotons::Exec(), CbmRichMCbmQa::Exec(), CbmTrdQa::Exec(), LxFinderTriplet::Exec(), CbmL1MuchFinder::Exec(), CbmKFParticleFinderQA::Exec(), CbmAnaConversionTomography::Exec(), CbmL1MuchFinderQa::Exec(), CbmAnaConversionTest2::Exec(), CbmAnaDimuonAnalysis::Exec(), CbmAnaConversionTest::Exec(), CbmRichMirrorSortingAlignment::Exec(), CbmRichMirrorSortingCorrection::Exec(), CbmAnaConversionPhotons::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), CbmMuchTransportQa::Exec(), CbmThermalModelNoFlow::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), CbmTrdDigitizer::Exec(), CbmAnaConversion::Exec(), LxFinder::Exec(), CbmL1RichRingQa::Exec(), CbmHadronAnalysis::ExecEvent(), CbmLitMCTrackCreator::FairMCPointToLitMCPoint(), CbmL1::Fill_vMCTracks(), CbmAnaDielectronTask::FillCandidates(), CbmTrdElectronsTrainAnn::FillElossVectorSim(), CbmAnaDielectronTask::FillElPiMomHist(), CbmKFTrackFitQA::FillHistoAtFirstPoint(), CbmKFTrackFitQA::FillHistoAtParticleVertex(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmRichGeoOpt::FillMcHist(), CbmAnaConversionPhotons::FillMCTracklist(), CbmAnaConversionPhotons::FillMCTracklist_allElectrons(), CbmAnaConversionPhotons::FillMCTracklist_allGammas(), CbmAnaConversion::FillMCTracklists(), CbmAnaConversion::FillRecoTracklist(), CbmAnaConversionPhotons::FillRecoTracklist_allElectrons(), CbmAnaConversion::FillRecoTracklistEPEM(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresEta::FindEta(), CbmKresConversionKF::FindGammas(), CbmKresConversionManualmbias1::FindGammasOutside(), CbmKresConversionManualmbias2::FindGammasOutside(), CbmKresConversionManualmbias3::FindGammasOutside(), CbmKresConversionManualmbias4::FindGammasOutside(), CbmKresEta::FindGammasOutside(), CbmKresConversionManual::FindGammasOutside(), CbmKresConversionPhotons::FindGammasOutside(), CbmKresConversionCorrectedPhotons::FindGammasOutside(), CbmKresConversionManualmbias4::FindGammasTarget(), CbmKresConversionManualmbias1::FindGammasTarget(), CbmKresConversionManualmbias2::FindGammasTarget(), CbmKresConversionManualmbias3::FindGammasTarget(), CbmKresEta::FindGammasTarget(), CbmKresConversionManual::FindGammasTarget(), CbmKresConversionPhotons::FindGammasTarget(), CbmKresConversionCorrectedPhotons::FindGammasTarget(), CbmKresEta::FindInRich(), CbmKresConversionManualmbias4::FindInRich(), CbmKresConversionManualmbias1::FindInRich(), CbmKresConversionManualmbias2::FindInRich(), CbmKresConversionManualmbias3::FindInRich(), CbmKresConversionManual::FindInRich(), CbmKresConversionPhotons::FindInRich(), CbmKresConversionCorrectedPhotons::FindInRich(), CbmKresConversionKF::FindPi0(), CbmKresConversionManualmbias1::FindPi0(), CbmKresConversionManualmbias2::FindPi0(), CbmKresConversionManualmbias3::FindPi0(), CbmKresConversionManualmbias4::FindPi0(), CbmKresConversionManual::FindPi0(), CbmStsFitPerformanceTask::GetCharge(), PairAnalysisMC::GetLabelMotherWithPdg(), CbmStsTracksConverter::GetMcPid(), CbmMatchRecoToMC::GetMcTrackMotherIdsForRichHit(), PairAnalysisMC::GetMotherPDG(), CbmMuchDigitizeGem::GetNPrimaryElectronsPerCm(), CbmRichGeoOpt::HitsAndPoints(), CbmRichGeoOpt::HitsAndPointsWithRef(), CbmBinnedTrackerQANew::Init(), CbmBinnedTrackerQA::Init(), LxTBTrdFinder::Init(), LxTBFinder::Init(), LxTBMLFinder::Init(), CbmAnaConversionReco::InvariantMassMC_all(), CbmAnaConversionTest2::InvariantMassTest_2RICH(), CbmAnaConversionTest2::InvariantMassTest_3RICH(), CbmAnaConversionReco::InvariantMassTest_4epem(), CbmAnaConversion::InvariantMassTestReco(), CbmRichRecoTbQa::IsCherenkovPhoton(), CbmRichRecoTbQa::IsCherenkovPhotonFromPion(), CbmRichRecoTbQa::IsCherenkovPhotonFromPrimaryElectron(), CbmRichRecoTbQa::IsCherenkovPhotonFromSecondaryElectron(), CbmAnaDielectronTask::IsElectron(), CbmLmvmUtils::IsMcEtaElectron(), CbmAnaJpsiUtils::IsMcGammaElectron(), CbmLmvmUtils::IsMcGammaElectron(), CbmAnaJpsiUtils::IsMcPi0Electron(), CbmLmvmUtils::IsMcPi0Electron(), CbmRichRecoQa::IsMcPion(), CbmRichRecoTbQa::IsMcPion(), CbmRichRecoQa::IsMcPrimaryElectron(), CbmRichMirrorSortingCorrection::IsMcPrimaryElectron(), CbmRichRecoTbQa::IsMcPrimaryElectron(), CbmAnaJpsiUtils::IsMcSignalElectron(), CbmLmvmUtils::IsMcSignalElectron(), PairAnalysisMC::IsMCTruth(), PairAnalysisMC::IsPhysicalPrimary(), CbmMuchHitFinderQa::IsSignalPoint(), CbmLitAcceptanceFunction::KaonMinusTrackAcceptanceFunction(), CbmLitAcceptanceFunction::KaonPlusTrackAcceptanceFunction(), CbmLitAcceptanceFunction::KaonTrackAcceptanceFunction(), CbmKresConversionReconstruction::MakeRecoAnalysis(), CbmRichPMTMapping::MatchFinder(), CbmRichCorrectionVector::MatchFinder(), CbmAnaDielectronTask::MCPairs(), CbmLitAcceptanceFunction::MuonTrackAcceptanceFunction(), CbmLitAcceptanceFunction::NegativeTrackAcceptanceFunction(), CbmRichUrqmdTest::NofHitsAndPoints(), CbmRichUrqmdTest::NofRings(), PairAnalysisTrack::PairAnalysisTrack(), CbmAnaDielectronTask::PairMcAndAcceptance(), CbmAnaJpsiTask::PairMcAndAcceptance(), CbmLitAcceptanceFunction::PionMinusTrackAcceptanceFunction(), CbmLitAcceptanceFunction::PionPlusTrackAcceptanceFunction(), CbmLitAcceptanceFunction::PionReferenceRingAcceptanceFunction(), CbmLitAcceptanceFunction::PionRingAcceptanceFunction(), CbmLitTrackingQa::PionSuppression(), CbmLitAcceptanceFunction::PionTrackAcceptanceFunction(), CbmRichUrqmdTest::PmtXYSource(), CbmLitAcceptanceFunction::PositiveTrackAcceptanceFunction(), CbmLitAcceptanceFunction::PrimaryElectronReferenceRingAcceptanceFunction(), CbmLitAcceptanceFunction::PrimaryElectronRingAcceptanceFunction(), CbmLitAcceptanceFunction::PrimaryElectronTrackAcceptanceFunction(), CbmLitAcceptanceFunction::PrimaryMuonTrackAcceptanceFunction(), CbmRichGeoTest::ProcessMc(), CbmRichDigitizer::ProcessPoint(), CbmLitAcceptanceFunction::ProtonTrackAcceptanceFunction(), CbmBinnedMCTrackReader::Read(), CbmL1::ReadMCPoint(), DataTreeCbmInterface::ReadPsdPrimaryParticles(), CbmHadronAnalysis::ReconstructSecondaries(), CbmRichGeoTest::RingParameters(), CbmRichGeoOpt::RingParameters(), CbmKFParticleFinderPID::SetMCPID(), PairAnalysisPairKF::SetMCTracks(), CbmRichTrainAnnSelect::SetRecFlag(), CbmMuchTrackFinderIdeal::SetTrackParam(), CbmAnaDielectronTask::SignalAndBgReco(), CbmAnaJpsiTask::SignalAndBgReco(), CbmAnaDielectronTask::SingleParticleAcceptance(), CbmAnaConversionKF::test(), CbmAnaConversionTomography::TomographyReco(), NicaCbmMCEvent::Update(), and NicaCbmMCTrack::Update().
|
inline |
Definition at line 99 of file CbmMCTrack.h.
Referenced by CbmAnaConversionPhotons::AnalyseElectronsFromGammaMC(), CbmAnaConversionPhotons::AnalysePhotons(), CbmAnaConversionPhotons::CheckMC(), CbmKresConversionBG::Exec(), CbmKresTemperature::Exec(), CbmKresConversionGeneral::Exec(), CbmTrdQa::Exec(), CbmAnaConversionPhotons::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), CbmAnaConversion::Exec(), CbmHadronAnalysis::ExecEvent(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmRichGeoOpt::FillMcHist(), PairAnalysisVarManager::FillVarMCTrack(), CbmRichGeoTest::ProcessMc(), CbmLitTrackingQa::ProcessMcTracks(), CbmRichGeoTest::RingParameters(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 72 of file CbmMCTrack.h.
References fPx.
Referenced by CbmKFParticleFinderQA::Exec(), LxFinderTriplet::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxFinder::Exec(), CbmHadronAnalysis::ExecEvent(), CbmKFTrackFitQA::FillHistoAtParticleVertex(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresEta::FindGammasOutside(), CbmKresEta::FindGammasTarget(), LxTBFinder::Init(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmAnaConversionRich::Protons(), CbmHadronAnalysis::ReconstructSecondaries(), PairAnalysisPairKF::SetMCTracks(), and NicaCbmMCTrack::Update().
|
inline |
Definition at line 73 of file CbmMCTrack.h.
References fPy.
Referenced by CbmKFParticleFinderQA::Exec(), LxFinderTriplet::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxFinder::Exec(), CbmHadronAnalysis::ExecEvent(), CbmKFTrackFitQA::FillHistoAtParticleVertex(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresEta::FindGammasOutside(), CbmKresEta::FindGammasTarget(), LxTBFinder::Init(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmAnaConversionRich::Protons(), CbmHadronAnalysis::ReconstructSecondaries(), PairAnalysisPairKF::SetMCTracks(), and NicaCbmMCTrack::Update().
|
inline |
Definition at line 74 of file CbmMCTrack.h.
References fPz.
Referenced by CbmKFParticleFinderQA::Exec(), LxFinderTriplet::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxFinder::Exec(), CbmHadronAnalysis::ExecEvent(), CbmKFTrackFitQA::FillHistoAtParticleVertex(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresEta::FindGammasOutside(), CbmKresEta::FindGammasTarget(), LxTBFinder::Init(), CbmLitFitQa::ProcessTrackMomentumAtVertex(), CbmHadronAnalysis::ReconstructSecondaries(), PairAnalysisPairKF::SetMCTracks(), and NicaCbmMCTrack::Update().
Double_t CbmMCTrack::GetRapidity | ( | ) | const |
Definition at line 177 of file CbmMCTrack.cxx.
References fPz, GetEnergy(), and y.
Referenced by CbmAnaConversionPhotons::CheckMC(), CbmKresTemperature::Exec(), CbmKresConversionGeneral::Exec(), CbmAnaConversion::Exec(), CbmHadronAnalysis::ExecEvent(), CbmAnaDielectronTask::FillElPiMomHist(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmRichGeoTest::ProcessMc(), CbmLitTrackingQa::ProcessMcTracks(), CbmRichGeoTest::RingParameters(), and CbmRichGeoOpt::RingParameters().
|
inline |
Definition at line 78 of file CbmMCTrack.h.
References fStartT.
Referenced by CbmEventBuilderQA::Exec(), CbmL1::Fill_vMCTracks(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisPairLV::SetMCTracks(), and NicaCbmMCTrack::Update().
|
inline |
Definition at line 182 of file CbmMCTrack.h.
References fStartX, fStartY, and fStartZ.
Referenced by CbmAnaConversion::AnalyseElectrons(), CbmAnaConversion::AnalysePi0_MC(), CbmAnaConversionRich::AnalyseRICHdata(), CbmAnaConversionRecoFull::CombinePhotons(), CbmKresTemperature::Exec(), CbmKresConversionGeneral::Exec(), CbmStsFitPerformanceTask::Exec(), CbmAnaConversion::Exec(), CbmL1::Fill_vMCTracks(), CbmAnaDielectronTask::FillElPiMomHist(), CbmAnaConversionPhotons::FillMCTracklist_allElectrons(), CbmAnaConversionPhotons::FillMCTracklist_allGammas(), CbmAnaConversion::FillMCTracklists(), CbmAnaConversionPhotons::FillRecoTracklist_allElectrons(), PairAnalysisVarManager::FillVarMCTrack(), CbmAnaConversionTest2::InvariantMassTest_2RICH(), CbmAnaConversionTest2::InvariantMassTest_3RICH(), CbmAnaConversionReco::InvariantMassTest_4epem(), CbmAnaDielectronTask::MCPairs(), CbmAnaJpsiTask::MCPairs(), CbmRichUrqmdTest::NofHitsAndPoints(), CbmRichUrqmdTest::NofRings(), CbmRichUrqmdTest::PmtXYSource(), CbmStsFindTracksQa::ProcessEvent(), CbmHadronAnalysis::ReconstructSecondaries(), CbmAnaDielectronTask::RichPmtXY(), CbmAnaDielectronTask::SingleParticleAcceptance(), CbmAnaConversionTomography::TomographyMC(), CbmAnaConversionTomography::TomographyReco(), CbmAnaDielectronTask::TrackSource(), and CbmRichUrqmdTest::Vertex().
|
inline |
Definition at line 75 of file CbmMCTrack.h.
References fStartX.
Referenced by CbmKresConversionReconstruction::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmKresConversionGeneral::Exec(), LxFinderTriplet::Exec(), CbmKFParticleFinderQA::Exec(), CbmKFParticleFinder::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), LxFinder::Exec(), CbmL1RichRingQa::Exec(), CbmKFTrackFitQA::FillHistoAtParticleVertex(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresEta::FindGammasOutside(), CbmPVFinderIdeal::FindPrimaryVertex(), CbmBinnedTrackerQA::Finish(), CbmBinnedTrackerQA::Init(), LxTBFinder::Init(), CbmBinnedMCTrackReader::Read(), PairAnalysisPairLV::SetMCTracks(), PairAnalysisPairKF::SetMCTracks(), and NicaCbmMCTrack::Update().
|
inline |
Definition at line 76 of file CbmMCTrack.h.
References fStartY.
Referenced by CbmKresConversionBG::Exec(), CbmKresConversionReconstruction::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmKresConversionGeneral::Exec(), LxFinderTriplet::Exec(), CbmKFParticleFinderQA::Exec(), CbmKFParticleFinder::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), LxFinder::Exec(), CbmL1RichRingQa::Exec(), CbmKFTrackFitQA::FillHistoAtParticleVertex(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresEta::FindGammasOutside(), CbmPVFinderIdeal::FindPrimaryVertex(), CbmBinnedTrackerQA::Finish(), CbmBinnedTrackerQA::Init(), LxTBFinder::Init(), CbmBinnedMCTrackReader::Read(), PairAnalysisPairLV::SetMCTracks(), PairAnalysisPairKF::SetMCTracks(), and NicaCbmMCTrack::Update().
|
inline |
Definition at line 77 of file CbmMCTrack.h.
References fStartZ.
Referenced by CbmKresConversionBG::Exec(), CbmKresConversionReconstruction::Exec(), CbmKresEtaMCAnalysis::Exec(), CbmKresConversionGeneral::Exec(), CbmKresConversionManual::Exec(), CbmTrdQa::Exec(), LxFinderTriplet::Exec(), CbmKFParticleFinderQA::Exec(), CbmKFParticleFinder::Exec(), CbmStsFitPerformanceTask::Exec(), CbmKFTrackQA::Exec(), LxFinder::Exec(), CbmL1RichRingQa::Exec(), CbmTofGeometryQa::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofAnaTestbeam::FillHistos(), PairAnalysisVarManager::FillVarMCTrack(), CbmKresConversionKF::FindGammas(), CbmKresEta::FindGammasOutside(), CbmPVFinderIdeal::FindPrimaryVertex(), CbmBinnedTrackerQA::Finish(), CbmBinnedTrackerQA::Init(), LxTBTrdFinder::Init(), LxTBFinder::Init(), CbmBinnedMCTrackReader::Read(), PairAnalysisPairLV::SetMCTracks(), PairAnalysisPairKF::SetMCTracks(), and NicaCbmMCTrack::Update().
|
inline |
Modifiers
Definition at line 114 of file CbmMCTrack.h.
References fMotherId.
Referenced by CbmStack::UpdateTrackIndex().
void CbmMCTrack::SetNPoints | ( | ECbmModuleId | iDet, |
Int_t | np | ||
) |
std::string CbmMCTrack::ToString | ( | ) | const |
|
private |
energy at start vertex [GeV]
Definition at line 136 of file CbmMCTrack.h.
Referenced by GetEnergy().
|
private |
Index of mother track. -1 for primary particles.
Definition at line 130 of file CbmMCTrack.h.
Referenced by GetMotherId(), SetMotherId(), and ToString().
|
private |
Bitvector representing the number of MCPoints for this track in each subdetector. The detectors are represented by REF: Bit 0 (1 bit, max. value 1) MVD: Bit 1 - 3 (3 bits, max. value 7) STS: Bit 4 - 8 (5 bits, max. value 31) RICH: Bit 9 (1 bit, max. value 1) MUCH: Bit 10 - 14 (5 bits, max. value 31) TRD: Bit 15 - 19 (5 bits, max. value 31) TOF: Bit 20 - 23 (4 bits, max. value 15) ECAL: Bit 24 (1 bit, max. value 1) ZDC: Bit 25 (1 bit, max. value 1) The respective point numbers can be accessed and modified with the inline functions. Bits 26-31 are spare for potential additional detectors.
Definition at line 156 of file CbmMCTrack.h.
Referenced by CbmMCTrack(), GetNPoints(), and SetNPoints().
|
private |
PDG particle code
Definition at line 127 of file CbmMCTrack.h.
Referenced by GetCharge(), GetMass(), GetPdgCode(), and ToString().
|
private |
TMCProcess code
Definition at line 124 of file CbmMCTrack.h.
Referenced by GetGeantProcessId(), and ToString().
|
private |
Momentum components at start vertex [GeV]
Definition at line 133 of file CbmMCTrack.h.
Referenced by Get4Momentum(), GetEnergy(), GetMomentum(), GetP(), GetPt(), GetPx(), and ToString().
|
private |
Definition at line 133 of file CbmMCTrack.h.
Referenced by Get4Momentum(), GetEnergy(), GetMomentum(), GetP(), GetPt(), GetPy(), and ToString().
|
private |
Definition at line 133 of file CbmMCTrack.h.
Referenced by Get4Momentum(), GetEnergy(), GetMomentum(), GetP(), GetPz(), GetRapidity(), and ToString().
|
private |
Definition at line 139 of file CbmMCTrack.h.
Referenced by GetStartT().
|
private |
Coordinates of start vertex [cm, ns]
Definition at line 139 of file CbmMCTrack.h.
Referenced by GetStartVertex(), and GetStartX().
|
private |
Definition at line 139 of file CbmMCTrack.h.
Referenced by GetStartVertex(), and GetStartY().
|
private |
Definition at line 139 of file CbmMCTrack.h.
Referenced by GetStartVertex(), and GetStartZ().