CbmRoot
|
#include <PairAnalysisTrack.h>
Public Member Functions | |
PairAnalysisTrack () | |
PairAnalysisTrack (const char *name, const char *title) | |
PairAnalysisTrack (CbmKFVertex *vtx, CbmGlobalTrack *gtrk, CbmStsTrack *ststrk, CbmMuchTrack *muchtrk, CbmTrdTrack *trdtrk, CbmRichRing *richring, CbmTofHit *tofhit, CbmMCTrack *mctrk, CbmTrackMatchNew *stsmatch, CbmTrackMatchNew *muchmatch, CbmTrackMatchNew *trdMatch, CbmTrackMatchNew *richMatch, FairTrackParam *richproj, Int_t gIndex) | |
PairAnalysisTrack (TParticle *fastTrk, CbmMCTrack *mctrk) | |
virtual | ~PairAnalysisTrack () |
PairAnalysisTrack (const PairAnalysisTrack &track) | |
void | SetPdgCode (Int_t pdg) |
void | SetLabel (Int_t lbl) |
void | SetWeight (Double_t wght) |
void | SetMassHypo (Int_t pdg1, Int_t pdg2, Bool_t refitMassAssump) |
TLorentzVector * | GetPosition () |
TLorentzVector * | GetMomentum () |
CbmGlobalTrack * | GetGlobalTrack () const |
Int_t | GetGlobalIndex () const |
CbmStsTrack * | GetStsTrack () const |
CbmMuchTrack * | GetMuchTrack () const |
CbmTrdTrack * | GetTrdTrack () const |
CbmRichRing * | GetRichRing () const |
CbmTofHit * | GetTofHit () const |
CbmTrack * | GetTrack (ECbmModuleId det) const |
FairTrackParam * | GetRichProj () const |
FairTrackParam * | GetMvdEntrance () const |
CbmMCTrack * | GetMCTrack () const |
CbmTrackMatchNew * | GetTrackMatch (ECbmModuleId det) const |
CbmKFVertex * | GetPrimaryKFVertex () const |
Double_t | Px () const |
Double_t | Py () const |
Double_t | Pz () const |
Double_t | Pt () const |
Double_t | P () const |
Double_t | Xv () const |
Double_t | Yv () const |
Double_t | Zv () const |
Double_t | OneOverPt () const |
Double_t | Phi () const |
Double_t | Theta () const |
Double_t | E () const |
Double_t | M () const |
Double_t | Y () const |
Double_t | ChiToVertex () const |
Short_t | Charge () const |
Int_t | PdgCode () const |
Int_t | GetLabel () const |
Double_t | GetWeight () const |
Private Member Functions | |
void | Refit (Int_t pidHypo) |
void | CalculateChi2Vtx () |
PairAnalysisTrack & | operator= (const PairAnalysisTrack &c) |
Private Attributes | |
CbmKFVertex * | fPrimVertex = NULL |
CbmGlobalTrack * | fGlblTrack = NULL |
Int_t | fGlblTrackIndex = -1 |
CbmStsTrack * | fStsTrack = NULL |
CbmMuchTrack * | fMuchTrack = NULL |
CbmTrdTrack * | fTrdTrack = NULL |
CbmRichRing * | fRichRing = NULL |
CbmTofHit * | fTofHit = NULL |
CbmMCTrack * | fMCTrack = NULL |
CbmTrackMatchNew * | fStsTrackMatch = NULL |
CbmTrackMatchNew * | fMuchTrackMatch = NULL |
CbmTrackMatchNew * | fTrdTrackMatch = NULL |
CbmTrackMatchNew * | fRichRingMatch = NULL |
FairTrackParam * | fRichProj = NULL |
FairTrackParam * | fMvdEntrance = NULL |
TLorentzVector | fMomentum |
TLorentzVector | fPosition |
Double_t | fChi2Vtx = -1. |
Short_t | fCharge = 0 |
Int_t | fPdgCode = 0 |
Int_t | fLabel = -1 |
Double_t | fWeight = 1. |
Int_t | fMultiMatch = 0 |
Bool_t | fFastTrack = kFALSE |
Definition at line 37 of file PairAnalysisTrack.h.
PairAnalysisTrack::PairAnalysisTrack | ( | ) |
PairAnalysisTrack::PairAnalysisTrack | ( | const char * | name, |
const char * | title | ||
) |
Definition at line 67 of file PairAnalysisTrack.cxx.
PairAnalysisTrack::PairAnalysisTrack | ( | CbmKFVertex * | vtx, |
CbmGlobalTrack * | gtrk, | ||
CbmStsTrack * | ststrk, | ||
CbmMuchTrack * | muchtrk, | ||
CbmTrdTrack * | trdtrk, | ||
CbmRichRing * | richring, | ||
CbmTofHit * | tofhit, | ||
CbmMCTrack * | mctrk, | ||
CbmTrackMatchNew * | stsmatch, | ||
CbmTrackMatchNew * | muchmatch, | ||
CbmTrackMatchNew * | trdMatch, | ||
CbmTrackMatchNew * | richMatch, | ||
FairTrackParam * | richproj, | ||
Int_t | gIndex | ||
) |
check mvd entrance if mvd is in setup
get parameters at primary vertex
Definition at line 94 of file PairAnalysisTrack.cxx.
References CalculateChi2Vtx(), CbmLitConverterFairTrackParam::CbmLitTrackParamToFairTrackParam(), CbmLitToolFactory::CreateTrackExtrapolator(), CbmLitConverterFairTrackParam::FairTrackParamToCbmLitTrackParam(), fCharge, fGlblTrack, fMomentum, fMvdEntrance, fPdgCode, fPosition, CbmMvdDetector::GetParameterFile(), CbmTrack::GetParamFirst(), CbmGlobalTrack::GetParamVertex(), CbmMCTrack::GetPdgCode(), CbmTrackParam::GetPx(), CbmTrackParam::GetPy(), CbmTrackParam::GetPz(), CbmMvdStationPar::GetStationCount(), CbmMvdStationPar::GetZPosition(), CbmMvdDetector::Instance(), and Refit().
PairAnalysisTrack::PairAnalysisTrack | ( | TParticle * | fastTrk, |
CbmMCTrack * | mctrk | ||
) |
Definition at line 75 of file PairAnalysisTrack.cxx.
|
virtual |
Definition at line 207 of file PairAnalysisTrack.cxx.
PairAnalysisTrack::PairAnalysisTrack | ( | const PairAnalysisTrack & | track | ) |
Definition at line 165 of file PairAnalysisTrack.cxx.
References kMuch, kRich, kSts, kTof, kTrd, and ToIntegralType().
|
private |
Definition at line 351 of file PairAnalysisTrack.cxx.
References d, fChi2Vtx, fGlblTrack, fPrimVertex, CbmKFVertex::GetCovMatrix(), CbmGlobalTrack::GetParamVertex(), CbmKFVertex::GetRefX(), and CbmKFVertex::GetRefY().
Referenced by PairAnalysisTrack(), and SetMassHypo().
|
inline |
Definition at line 107 of file PairAnalysisTrack.h.
References fCharge.
Referenced by PairAnalysis::FillTrackArrays(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), PairAnalysisPairLV::SetTracks(), and PairAnalysisPairKF::SetTracks().
|
inline |
Definition at line 106 of file PairAnalysisTrack.h.
References fChi2Vtx.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 100 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 70 of file PairAnalysisTrack.h.
References fGlblTrackIndex.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 69 of file PairAnalysisTrack.h.
References fGlblTrack.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 109 of file PairAnalysisTrack.h.
References fLabel.
Referenced by PairAnalysis::FillTrackArrays(), PairAnalysisMC::HaveSameMother(), and PairAnalysisMC::IsMCTruth().
|
inline |
Definition at line 81 of file PairAnalysisTrack.h.
References fMCTrack.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), PairAnalysisMC::GetLabelMotherWithPdg(), and PairAnalysisMC::GetMCTrack().
|
inline |
Definition at line 68 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysis::PairPreFilter().
|
inline |
Definition at line 72 of file PairAnalysisTrack.h.
References fMuchTrack.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 79 of file PairAnalysisTrack.h.
References fMvdEntrance.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 67 of file PairAnalysisTrack.h.
References fPosition.
Referenced by PairAnalysisPairLV::SetTracks().
|
inline |
Definition at line 84 of file PairAnalysisTrack.h.
References fPrimVertex.
|
inline |
Definition at line 78 of file PairAnalysisTrack.h.
References fRichProj.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 74 of file PairAnalysisTrack.h.
References fRichRing.
Referenced by PairAnalysisVarManager::CalculateHitTypes(), PairAnalysis::FillHistogramsHits(), and PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 71 of file PairAnalysisTrack.h.
References fStsTrack.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack(), and PairAnalysisPairKF::SetTracks().
|
inline |
Definition at line 75 of file PairAnalysisTrack.h.
References fTofHit.
Referenced by PairAnalysisVarManager::CalculateHitTypes(), PairAnalysis::FillHistogramsHits(), and PairAnalysisVarManager::FillVarPairAnalysisTrack().
CbmTrack * PairAnalysisTrack::GetTrack | ( | ECbmModuleId | det | ) | const |
Definition at line 231 of file PairAnalysisTrack.cxx.
References fMuchTrack, fStsTrack, fTrdTrack, kMuch, kMvd, kRich, kSts, and kTrd.
Referenced by PairAnalysisVarManager::CalculateHitTypes(), and PairAnalysis::FillHistogramsHits().
CbmTrackMatchNew * PairAnalysisTrack::GetTrackMatch | ( | ECbmModuleId | det | ) | const |
Definition at line 215 of file PairAnalysisTrack.cxx.
References fMuchTrackMatch, fRichRingMatch, fStsTrackMatch, fTrdTrackMatch, kMuch, kMvd, kRich, kSts, and kTrd.
Referenced by PairAnalysisVarManager::CalculateHitTypes(), PairAnalysis::FillHistogramsHits(), and PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 73 of file PairAnalysisTrack.h.
References fTrdTrack.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 110 of file PairAnalysisTrack.h.
References fWeight.
Referenced by PairAnalysis::FillTrackArrays(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), PairAnalysisPairLV::SetTracks(), and PairAnalysisPairKF::SetTracks().
|
inline |
Definition at line 101 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 96 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
private |
|
inline |
Definition at line 90 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 108 of file PairAnalysisTrack.h.
References fPdgCode.
Referenced by PairAnalysisCutQA::Fill(), PairAnalysisCutQA::FillAll(), and PairAnalysisMC::GetLabelMotherWithPdg().
|
inline |
Definition at line 97 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 89 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 86 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack(), and PairAnalysisPairLV::SetTracks().
|
inline |
Definition at line 87 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack(), and PairAnalysisPairLV::SetTracks().
|
inline |
Definition at line 88 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack(), and PairAnalysisPairLV::SetTracks().
|
private |
do proceed if fast simulation track
Definition at line 305 of file PairAnalysisTrack.cxx.
References fCharge, fChi2Vtx, fFastTrack, CbmL1PFFitter::Fit(), fMomentum, fPosition, fPrimVertex, fStsTrack, CbmL1PFFitter::GetChiToVertex(), and pos.
Referenced by PairAnalysisTrack(), and SetMassHypo().
|
inline |
Definition at line 62 of file PairAnalysisTrack.h.
References fLabel.
Referenced by PairAnalysisEvent::Init().
void PairAnalysisTrack::SetMassHypo | ( | Int_t | pdg1, |
Int_t | pdg2, | ||
Bool_t | refitMassAssump | ||
) |
get back parameters at primary vertex
set mass hypo
Definition at line 247 of file PairAnalysisTrack.cxx.
References CalculateChi2Vtx(), fCharge, fFastTrack, fGlblTrack, fMomentum, fPosition, fTofHit, CbmGlobalTrack::GetLength(), CbmGlobalTrack::GetParamVertex(), CbmTrackParam::GetPx(), CbmTrackParam::GetPy(), CbmTrackParam::GetPz(), CbmHit::GetTime(), and Refit().
Referenced by PairAnalysis::FillTrackArrays().
|
inline |
Definition at line 61 of file PairAnalysisTrack.h.
References fPdgCode.
Referenced by PairAnalysis::PairPreFilter().
|
inline |
Definition at line 63 of file PairAnalysisTrack.h.
References fWeight.
Referenced by PairAnalysis::FillTrackArrays().
|
inline |
Definition at line 98 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 92 of file PairAnalysisTrack.h.
References fPosition.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 104 of file PairAnalysisTrack.h.
References fMomentum.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 93 of file PairAnalysisTrack.h.
References fPosition.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
inline |
Definition at line 94 of file PairAnalysisTrack.h.
References fPosition.
Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().
|
private |
Definition at line 137 of file PairAnalysisTrack.h.
Referenced by Charge(), PairAnalysisTrack(), Refit(), and SetMassHypo().
|
private |
Definition at line 136 of file PairAnalysisTrack.h.
Referenced by CalculateChi2Vtx(), ChiToVertex(), and Refit().
|
private |
Definition at line 143 of file PairAnalysisTrack.h.
Referenced by Refit(), and SetMassHypo().
|
private |
Definition at line 117 of file PairAnalysisTrack.h.
Referenced by CalculateChi2Vtx(), GetGlobalTrack(), PairAnalysisTrack(), and SetMassHypo().
|
private |
Definition at line 118 of file PairAnalysisTrack.h.
Referenced by GetGlobalIndex().
|
private |
Definition at line 139 of file PairAnalysisTrack.h.
Referenced by GetLabel(), and SetLabel().
|
private |
Definition at line 125 of file PairAnalysisTrack.h.
Referenced by GetMCTrack().
|
private |
Definition at line 134 of file PairAnalysisTrack.h.
Referenced by E(), GetMomentum(), M(), OneOverPt(), P(), PairAnalysisTrack(), Phi(), Pt(), Px(), Py(), Pz(), Refit(), SetMassHypo(), Theta(), and Y().
|
private |
Definition at line 120 of file PairAnalysisTrack.h.
Referenced by GetMuchTrack(), and GetTrack().
|
private |
Definition at line 127 of file PairAnalysisTrack.h.
Referenced by GetTrackMatch().
|
private |
Definition at line 141 of file PairAnalysisTrack.h.
|
private |
Definition at line 132 of file PairAnalysisTrack.h.
Referenced by GetMvdEntrance(), and PairAnalysisTrack().
|
private |
Definition at line 138 of file PairAnalysisTrack.h.
Referenced by PairAnalysisTrack(), PdgCode(), and SetPdgCode().
|
private |
Definition at line 135 of file PairAnalysisTrack.h.
Referenced by GetPosition(), PairAnalysisTrack(), Refit(), SetMassHypo(), Xv(), Yv(), and Zv().
|
private |
Definition at line 116 of file PairAnalysisTrack.h.
Referenced by CalculateChi2Vtx(), GetPrimaryKFVertex(), and Refit().
|
private |
Definition at line 131 of file PairAnalysisTrack.h.
Referenced by GetRichProj().
|
private |
Definition at line 122 of file PairAnalysisTrack.h.
Referenced by GetRichRing().
|
private |
Definition at line 129 of file PairAnalysisTrack.h.
Referenced by GetTrackMatch().
|
private |
Definition at line 119 of file PairAnalysisTrack.h.
Referenced by GetStsTrack(), GetTrack(), and Refit().
|
private |
Definition at line 126 of file PairAnalysisTrack.h.
Referenced by GetTrackMatch().
|
private |
Definition at line 123 of file PairAnalysisTrack.h.
Referenced by GetTofHit(), and SetMassHypo().
|
private |
Definition at line 121 of file PairAnalysisTrack.h.
Referenced by GetTrack(), and GetTrdTrack().
|
private |
Definition at line 128 of file PairAnalysisTrack.h.
Referenced by GetTrackMatch().
|
private |
Definition at line 140 of file PairAnalysisTrack.h.
Referenced by GetWeight(), and SetWeight().