CbmRoot
Loading...
Searching...
No Matches
PairAnalysisTrack Class Reference

#include <PairAnalysisTrack.h>

Inheritance diagram for PairAnalysisTrack:
[legend]
Collaboration diagram for PairAnalysisTrack:
[legend]

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 ()
 
CbmGlobalTrackGetGlobalTrack () const
 
Int_t GetGlobalIndex () const
 
CbmStsTrackGetStsTrack () const
 
CbmMuchTrackGetMuchTrack () const
 
CbmTrdTrackGetTrdTrack () const
 
CbmRichRingGetRichRing () const
 
CbmTofHitGetTofHit () const
 
CbmTrackGetTrack (ECbmModuleId det) const
 
FairTrackParam * GetRichProj () const
 
FairTrackParam * GetMvdEntrance () const
 
CbmMCTrackGetMCTrack () const
 
CbmTrackMatchNewGetTrackMatch (ECbmModuleId det) const
 
CbmKFVertexGetPrimaryKFVertex () 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 ()
 
PairAnalysisTrackoperator= (const PairAnalysisTrack &c)
 

Private Attributes

CbmKFVertexfPrimVertex = NULL
 
CbmGlobalTrackfGlblTrack = NULL
 
Int_t fGlblTrackIndex = -1
 
CbmStsTrackfStsTrack = NULL
 
CbmMuchTrackfMuchTrack = NULL
 
CbmTrdTrackfTrdTrack = NULL
 
CbmRichRingfRichRing = NULL
 
CbmTofHitfTofHit = NULL
 
CbmMCTrackfMCTrack = NULL
 
CbmTrackMatchNewfStsTrackMatch = NULL
 
CbmTrackMatchNewfMuchTrackMatch = NULL
 
CbmTrackMatchNewfTrdTrackMatch = NULL
 
CbmTrackMatchNewfRichRingMatch = 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
 

Detailed Description

Definition at line 41 of file PairAnalysisTrack.h.

Constructor & Destructor Documentation

◆ PairAnalysisTrack() [1/5]

PairAnalysisTrack::PairAnalysisTrack ( )

◆ PairAnalysisTrack() [2/5]

PairAnalysisTrack::PairAnalysisTrack ( const char * name,
const char * title )

Definition at line 66 of file PairAnalysisTrack.cxx.

◆ PairAnalysisTrack() [3/5]

◆ PairAnalysisTrack() [4/5]

PairAnalysisTrack::PairAnalysisTrack ( TParticle * fastTrk,
CbmMCTrack * mctrk )

Definition at line 77 of file PairAnalysisTrack.cxx.

References fCharge, fMomentum, and fPosition.

◆ ~PairAnalysisTrack()

PairAnalysisTrack::~PairAnalysisTrack ( )
virtual

Definition at line 198 of file PairAnalysisTrack.cxx.

◆ PairAnalysisTrack() [5/5]

PairAnalysisTrack::PairAnalysisTrack ( const PairAnalysisTrack & track)

Definition at line 155 of file PairAnalysisTrack.cxx.

References BIT, kMuch, kRich, kSts, kTof, kTrd, and ToIntegralType().

Member Function Documentation

◆ CalculateChi2Vtx()

void PairAnalysisTrack::CalculateChi2Vtx ( )
private

◆ Charge()

◆ ChiToVertex()

Double_t PairAnalysisTrack::ChiToVertex ( ) const
inline

Definition at line 100 of file PairAnalysisTrack.h.

References fChi2Vtx.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ E()

Double_t PairAnalysisTrack::E ( ) const
inline

Definition at line 94 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ GetGlobalIndex()

Int_t PairAnalysisTrack::GetGlobalIndex ( ) const
inline

Definition at line 64 of file PairAnalysisTrack.h.

References fGlblTrackIndex.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ GetGlobalTrack()

CbmGlobalTrack * PairAnalysisTrack::GetGlobalTrack ( ) const
inline

Definition at line 63 of file PairAnalysisTrack.h.

References fGlblTrack.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ GetLabel()

Int_t PairAnalysisTrack::GetLabel ( ) const
inline

◆ GetMCTrack()

◆ GetMomentum()

TLorentzVector * PairAnalysisTrack::GetMomentum ( )
inline

Definition at line 62 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysis::PairPreFilter().

◆ GetMuchTrack()

CbmMuchTrack * PairAnalysisTrack::GetMuchTrack ( ) const
inline

Definition at line 66 of file PairAnalysisTrack.h.

References fMuchTrack.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ GetMvdEntrance()

FairTrackParam * PairAnalysisTrack::GetMvdEntrance ( ) const
inline

Definition at line 73 of file PairAnalysisTrack.h.

References fMvdEntrance.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ GetPosition()

TLorentzVector * PairAnalysisTrack::GetPosition ( )
inline

Definition at line 61 of file PairAnalysisTrack.h.

References fPosition.

Referenced by PairAnalysisPairLV::SetTracks().

◆ GetPrimaryKFVertex()

CbmKFVertex * PairAnalysisTrack::GetPrimaryKFVertex ( ) const
inline

Definition at line 78 of file PairAnalysisTrack.h.

References fPrimVertex.

◆ GetRichProj()

FairTrackParam * PairAnalysisTrack::GetRichProj ( ) const
inline

Definition at line 72 of file PairAnalysisTrack.h.

References fRichProj.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ GetRichRing()

CbmRichRing * PairAnalysisTrack::GetRichRing ( ) const
inline

◆ GetStsTrack()

CbmStsTrack * PairAnalysisTrack::GetStsTrack ( ) const
inline

◆ GetTofHit()

CbmTofHit * PairAnalysisTrack::GetTofHit ( ) const
inline

◆ GetTrack()

CbmTrack * PairAnalysisTrack::GetTrack ( ECbmModuleId det) const

◆ GetTrackMatch()

◆ GetTrdTrack()

CbmTrdTrack * PairAnalysisTrack::GetTrdTrack ( ) const
inline

Definition at line 67 of file PairAnalysisTrack.h.

References fTrdTrack.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ GetWeight()

Double_t PairAnalysisTrack::GetWeight ( ) const
inline

◆ M()

Double_t PairAnalysisTrack::M ( ) const
inline

Definition at line 95 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ OneOverPt()

Double_t PairAnalysisTrack::OneOverPt ( ) const
inline

Definition at line 90 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ operator=()

PairAnalysisTrack & PairAnalysisTrack::operator= ( const PairAnalysisTrack & c)
private

◆ P()

Double_t PairAnalysisTrack::P ( ) const
inline

Definition at line 84 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ PdgCode()

Int_t PairAnalysisTrack::PdgCode ( ) const
inline

◆ Phi()

Double_t PairAnalysisTrack::Phi ( ) const
inline

Definition at line 91 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ Pt()

Double_t PairAnalysisTrack::Pt ( ) const
inline

Definition at line 83 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ Px()

Double_t PairAnalysisTrack::Px ( ) const
inline

◆ Py()

Double_t PairAnalysisTrack::Py ( ) const
inline

◆ Pz()

Double_t PairAnalysisTrack::Pz ( ) const
inline

◆ Refit()

void PairAnalysisTrack::Refit ( Int_t pidHypo)
private

do proceed if fast simulation track

Definition at line 294 of file PairAnalysisTrack.cxx.

References Error, fCharge, fChi2Vtx, fFastTrack, CbmL1PFFitter::Fit(), fMomentum, fPosition, fPrimVertex, fStsTrack, CbmL1PFFitter::GetChiToVertex(), and pos.

Referenced by PairAnalysisTrack(), and SetMassHypo().

◆ SetLabel()

void PairAnalysisTrack::SetLabel ( Int_t lbl)
inline

Definition at line 56 of file PairAnalysisTrack.h.

References fLabel.

Referenced by PairAnalysisEvent::Init().

◆ SetMassHypo()

void PairAnalysisTrack::SetMassHypo ( Int_t pdg1,
Int_t pdg2,
Bool_t refitMassAssump )

◆ SetPdgCode()

void PairAnalysisTrack::SetPdgCode ( Int_t pdg)
inline

Definition at line 55 of file PairAnalysisTrack.h.

References fPdgCode.

Referenced by PairAnalysis::PairPreFilter().

◆ SetWeight()

void PairAnalysisTrack::SetWeight ( Double_t wght)
inline

Definition at line 57 of file PairAnalysisTrack.h.

References fWeight.

Referenced by PairAnalysis::FillTrackArrays().

◆ Theta()

Double_t PairAnalysisTrack::Theta ( ) const
inline

Definition at line 92 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ Xv()

Double_t PairAnalysisTrack::Xv ( ) const
inline

Definition at line 86 of file PairAnalysisTrack.h.

References fPosition.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ Y()

Double_t PairAnalysisTrack::Y ( ) const
inline

Definition at line 98 of file PairAnalysisTrack.h.

References fMomentum.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ Yv()

Double_t PairAnalysisTrack::Yv ( ) const
inline

Definition at line 87 of file PairAnalysisTrack.h.

References fPosition.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

◆ Zv()

Double_t PairAnalysisTrack::Zv ( ) const
inline

Definition at line 88 of file PairAnalysisTrack.h.

References fPosition.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisTrack().

Member Data Documentation

◆ fCharge

Short_t PairAnalysisTrack::fCharge = 0
private

Definition at line 131 of file PairAnalysisTrack.h.

Referenced by Charge(), PairAnalysisTrack(), PairAnalysisTrack(), Refit(), and SetMassHypo().

◆ fChi2Vtx

Double_t PairAnalysisTrack::fChi2Vtx = -1.
private

Definition at line 130 of file PairAnalysisTrack.h.

Referenced by CalculateChi2Vtx(), ChiToVertex(), and Refit().

◆ fFastTrack

Bool_t PairAnalysisTrack::fFastTrack = kFALSE
private

Definition at line 137 of file PairAnalysisTrack.h.

Referenced by Refit(), and SetMassHypo().

◆ fGlblTrack

CbmGlobalTrack* PairAnalysisTrack::fGlblTrack = NULL
private

◆ fGlblTrackIndex

Int_t PairAnalysisTrack::fGlblTrackIndex = -1
private

Definition at line 112 of file PairAnalysisTrack.h.

Referenced by GetGlobalIndex().

◆ fLabel

Int_t PairAnalysisTrack::fLabel = -1
private

Definition at line 133 of file PairAnalysisTrack.h.

Referenced by GetLabel(), and SetLabel().

◆ fMCTrack

CbmMCTrack* PairAnalysisTrack::fMCTrack = NULL
private

Definition at line 119 of file PairAnalysisTrack.h.

Referenced by GetMCTrack().

◆ fMomentum

TLorentzVector PairAnalysisTrack::fMomentum
private

◆ fMuchTrack

CbmMuchTrack* PairAnalysisTrack::fMuchTrack = NULL
private

Definition at line 114 of file PairAnalysisTrack.h.

Referenced by GetMuchTrack(), and GetTrack().

◆ fMuchTrackMatch

CbmTrackMatchNew* PairAnalysisTrack::fMuchTrackMatch = NULL
private

Definition at line 121 of file PairAnalysisTrack.h.

Referenced by GetTrackMatch().

◆ fMultiMatch

Int_t PairAnalysisTrack::fMultiMatch = 0
private

Definition at line 135 of file PairAnalysisTrack.h.

◆ fMvdEntrance

FairTrackParam* PairAnalysisTrack::fMvdEntrance = NULL
private

Definition at line 126 of file PairAnalysisTrack.h.

Referenced by GetMvdEntrance(), and PairAnalysisTrack().

◆ fPdgCode

Int_t PairAnalysisTrack::fPdgCode = 0
private

Definition at line 132 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack(), PdgCode(), and SetPdgCode().

◆ fPosition

TLorentzVector PairAnalysisTrack::fPosition
private

◆ fPrimVertex

CbmKFVertex* PairAnalysisTrack::fPrimVertex = NULL
private

Definition at line 110 of file PairAnalysisTrack.h.

Referenced by CalculateChi2Vtx(), GetPrimaryKFVertex(), and Refit().

◆ fRichProj

FairTrackParam* PairAnalysisTrack::fRichProj = NULL
private

Definition at line 125 of file PairAnalysisTrack.h.

Referenced by GetRichProj().

◆ fRichRing

CbmRichRing* PairAnalysisTrack::fRichRing = NULL
private

Definition at line 116 of file PairAnalysisTrack.h.

Referenced by GetRichRing().

◆ fRichRingMatch

CbmTrackMatchNew* PairAnalysisTrack::fRichRingMatch = NULL
private

Definition at line 123 of file PairAnalysisTrack.h.

Referenced by GetTrackMatch().

◆ fStsTrack

CbmStsTrack* PairAnalysisTrack::fStsTrack = NULL
private

Definition at line 113 of file PairAnalysisTrack.h.

Referenced by GetStsTrack(), GetTrack(), and Refit().

◆ fStsTrackMatch

CbmTrackMatchNew* PairAnalysisTrack::fStsTrackMatch = NULL
private

Definition at line 120 of file PairAnalysisTrack.h.

Referenced by GetTrackMatch().

◆ fTofHit

CbmTofHit* PairAnalysisTrack::fTofHit = NULL
private

Definition at line 117 of file PairAnalysisTrack.h.

Referenced by GetTofHit(), and SetMassHypo().

◆ fTrdTrack

CbmTrdTrack* PairAnalysisTrack::fTrdTrack = NULL
private

Definition at line 115 of file PairAnalysisTrack.h.

Referenced by GetTrack(), and GetTrdTrack().

◆ fTrdTrackMatch

CbmTrackMatchNew* PairAnalysisTrack::fTrdTrackMatch = NULL
private

Definition at line 122 of file PairAnalysisTrack.h.

Referenced by GetTrackMatch().

◆ fWeight

Double_t PairAnalysisTrack::fWeight = 1.
private

Definition at line 134 of file PairAnalysisTrack.h.

Referenced by GetWeight(), and SetWeight().


The documentation for this class was generated from the following files: