CbmRoot
PairAnalysisPair Class Referenceabstract

#include <PairAnalysisPair.h>

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

Public Member Functions

 PairAnalysisPair ()
 
virtual ~PairAnalysisPair ()
 
 PairAnalysisPair (const PairAnalysisPair &pair)
 
 PairAnalysisPair (Char_t type)
 
virtual void SetTracks (PairAnalysisTrack *const particle1, Int_t pid1, PairAnalysisTrack *const particle2, Int_t pid2)=0
 
virtual void SetMCTracks (const CbmMCTrack *const particle1, const CbmMCTrack *const particle2)=0
 
virtual Double_t Px () const
 
virtual Double_t Py () const
 
virtual Double_t Pz () const
 
virtual Double_t Pt () const
 
virtual Double_t P () const
 
virtual Bool_t PxPyPz (Double_t p[3]) const
 
virtual Double_t Xv () const
 
virtual Double_t Yv () const
 
virtual Double_t Zv () const
 
virtual Bool_t XvYvZv (Double_t x[3]) const
 
virtual Double_t OneOverPt () const
 
virtual Double_t Phi () const
 
virtual Double_t Theta () const
 
virtual Double_t E () const
 
virtual Double_t M () const
 
virtual Double_t Y () const
 
Short_t Charge () const
 
Int_t GetLabel () const
 
Double_t GetWeight () const
 
const Double_t * PID () const
 
UChar_t GetType () const
 
void SetType (Char_t type)
 
void SetLabel (Int_t label)
 
void SetWeight (Double_t wght)
 
void SetPdgCode (Int_t pdgCode)
 
Int_t PdgCode () const
 
virtual Double_t GetChi2 () const
 
virtual Int_t GetNdf () const
 
virtual Double_t GetDecayLength () const
 
virtual Double_t GetR () const
 
virtual Double_t OpeningAngle () const
 
virtual Double_t OpeningAngleXY () const
 
virtual Double_t OpeningAngleRZ () const
 
virtual Double_t DistanceDaughters () const
 
virtual Double_t DistanceDaughtersXY () const
 
virtual Double_t DeviationDaughters () const
 
virtual Double_t DeviationDaughtersXY () const
 
virtual Double_t DeltaEta () const
 
virtual Double_t DeltaPhi () const
 
virtual Double_t DaughtersP () const
 
virtual void GetThetaPhiCM (Double_t &thetaHE, Double_t &phiHE, Double_t &thetaCS, Double_t &phiCS) const =0
 
void GetThetaPhiCM (TLorentzVector &motherMom, TLorentzVector &p1Mom, TLorentzVector &p2Mom, Double_t &thetaHE, Double_t &phiHE, Double_t &thetaCS, Double_t &phiCS) const
 
virtual Double_t PsiPair (Double_t MagField) const =0
 
virtual Double_t PhivPair (Double_t MagField) const =0
 
virtual Double_t GetCosPointingAngle (const CbmVertex *primVtx) const
 
virtual Double_t GetArmAlpha () const =0
 
virtual Double_t GetArmPt () const =0
 
void GetDCA (const CbmVertex *primVtx, Double_t d0z0[2]) const
 
void SetRefFirstDaughter (PairAnalysisTrack *const track)
 
void SetRefSecondDaughter (PairAnalysisTrack *const track)
 
PairAnalysisTrackGetFirstDaughter () const
 
PairAnalysisTrackGetSecondDaughter () const
 
Int_t GetFirstDaughterPid () const
 
Int_t GetSecondDaughterPid () const
 
virtual void RotateTrack (PairAnalysisTrackRotator *rot)=0
 
void SetKFUsage (Bool_t KFUsage)
 
Bool_t GetKFUsage () const
 
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 ChiToVertex () const
 

Static Public Member Functions

static void SetBeamEnergy (Double_t beamEbyHand=-1.)
 

Protected Attributes

Char_t fType
 
Short_t fCharge = -1
 
Int_t fLabel = -1
 
Double_t fWeight = 1.
 
Int_t fPdgCode = 0
 
TRef fRefD1
 beam energy More...
 
TRef fRefD2
 
Int_t fPid1 = 0
 
Int_t fPid2 = 0
 
Bool_t fKFUsage = kFALSE
 

Static Protected Attributes

static Double_t fBeamEnergy
 

Private Member Functions

void Refit (Int_t pidHypo)
 
void CalculateChi2Vtx ()
 

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.
 
Int_t fMultiMatch = 0
 
Bool_t fFastTrack = kFALSE
 

Detailed Description

Definition at line 25 of file PairAnalysisPair.h.

Constructor & Destructor Documentation

◆ PairAnalysisPair() [1/3]

PairAnalysisPair::PairAnalysisPair ( )

◆ ~PairAnalysisPair()

PairAnalysisPair::~PairAnalysisPair ( )
virtual

Definition at line 59 of file PairAnalysisPair.cxx.

◆ PairAnalysisPair() [2/3]

PairAnalysisPair::PairAnalysisPair ( const PairAnalysisPair pair)

Definition at line 33 of file PairAnalysisPair.cxx.

◆ PairAnalysisPair() [3/3]

PairAnalysisPair::PairAnalysisPair ( Char_t  type)

Definition at line 51 of file PairAnalysisPair.cxx.

Member Function Documentation

◆ CalculateChi2Vtx()

◆ Charge()

◆ ChiToVertex()

Double_t PairAnalysisTrack::ChiToVertex ( ) const
inlineinherited

◆ DaughtersP()

virtual Double_t PairAnalysisPair::DaughtersP ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF, and PairAnalysisPairLV.

Definition at line 110 of file PairAnalysisPair.h.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ DeltaEta()

virtual Double_t PairAnalysisPair::DeltaEta ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF, and PairAnalysisPairLV.

Definition at line 108 of file PairAnalysisPair.h.

◆ DeltaPhi()

virtual Double_t PairAnalysisPair::DeltaPhi ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF, and PairAnalysisPairLV.

Definition at line 109 of file PairAnalysisPair.h.

◆ DeviationDaughters()

virtual Double_t PairAnalysisPair::DeviationDaughters ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 106 of file PairAnalysisPair.h.

◆ DeviationDaughtersXY()

virtual Double_t PairAnalysisPair::DeviationDaughtersXY ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 107 of file PairAnalysisPair.h.

◆ DistanceDaughters()

virtual Double_t PairAnalysisPair::DistanceDaughters ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 104 of file PairAnalysisPair.h.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ DistanceDaughtersXY()

virtual Double_t PairAnalysisPair::DistanceDaughtersXY ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 105 of file PairAnalysisPair.h.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ E()

virtual Double_t PairAnalysisPair::E ( ) const
inlinevirtual

◆ GetArmAlpha()

virtual Double_t PairAnalysisPair::GetArmAlpha ( ) const
pure virtual

◆ GetArmPt()

virtual Double_t PairAnalysisPair::GetArmPt ( ) const
pure virtual

◆ GetChi2()

virtual Double_t PairAnalysisPair::GetChi2 ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 97 of file PairAnalysisPair.h.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ GetCosPointingAngle()

Double_t PairAnalysisPair::GetCosPointingAngle ( const CbmVertex primVtx) const
virtual

◆ GetDCA()

void PairAnalysisPair::GetDCA ( const CbmVertex primVtx,
Double_t  d0z0[2] 
) const

◆ GetDecayLength()

virtual Double_t PairAnalysisPair::GetDecayLength ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 99 of file PairAnalysisPair.h.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ GetFirstDaughter()

◆ GetFirstDaughterPid()

Int_t PairAnalysisPair::GetFirstDaughterPid ( ) const
inline

◆ GetGlobalIndex()

Int_t PairAnalysisTrack::GetGlobalIndex ( ) const
inlineinherited

◆ GetGlobalTrack()

CbmGlobalTrack* PairAnalysisTrack::GetGlobalTrack ( ) const
inlineinherited

◆ GetKFUsage()

Bool_t PairAnalysisPair::GetKFUsage ( ) const
inline

Definition at line 153 of file PairAnalysisPair.h.

References fKFUsage.

◆ GetLabel()

Int_t PairAnalysisPair::GetLabel ( ) const
inline

Definition at line 80 of file PairAnalysisPair.h.

References fLabel.

◆ GetMCTrack()

◆ GetMomentum()

TLorentzVector* PairAnalysisTrack::GetMomentum ( )
inlineinherited

Definition at line 68 of file PairAnalysisTrack.h.

References PairAnalysisTrack::fMomentum.

Referenced by PairAnalysis::PairPreFilter().

◆ GetMuchTrack()

CbmMuchTrack* PairAnalysisTrack::GetMuchTrack ( ) const
inlineinherited

◆ GetMvdEntrance()

FairTrackParam* PairAnalysisTrack::GetMvdEntrance ( ) const
inlineinherited

◆ GetNdf()

virtual Int_t PairAnalysisPair::GetNdf ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 98 of file PairAnalysisPair.h.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ GetPosition()

TLorentzVector* PairAnalysisTrack::GetPosition ( )
inlineinherited

Definition at line 67 of file PairAnalysisTrack.h.

References PairAnalysisTrack::fPosition.

Referenced by PairAnalysisPairLV::SetTracks().

◆ GetPrimaryKFVertex()

CbmKFVertex* PairAnalysisTrack::GetPrimaryKFVertex ( ) const
inlineinherited

Definition at line 84 of file PairAnalysisTrack.h.

References PairAnalysisTrack::fPrimVertex.

◆ GetR()

virtual Double_t PairAnalysisPair::GetR ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF, and PairAnalysisPairLV.

Definition at line 100 of file PairAnalysisPair.h.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ GetRichProj()

FairTrackParam* PairAnalysisTrack::GetRichProj ( ) const
inlineinherited

◆ GetRichRing()

CbmRichRing* PairAnalysisTrack::GetRichRing ( ) const
inlineinherited

◆ GetSecondDaughter()

◆ GetSecondDaughterPid()

Int_t PairAnalysisPair::GetSecondDaughterPid ( ) const
inline

◆ GetStsTrack()

CbmStsTrack* PairAnalysisTrack::GetStsTrack ( ) const
inlineinherited

◆ GetThetaPhiCM() [1/2]

virtual void PairAnalysisPair::GetThetaPhiCM ( Double_t &  thetaHE,
Double_t &  phiHE,
Double_t &  thetaCS,
Double_t &  phiCS 
) const
pure virtual

◆ GetThetaPhiCM() [2/2]

void PairAnalysisPair::GetThetaPhiCM ( TLorentzVector &  motherMom,
TLorentzVector &  p1Mom,
TLorentzVector &  p2Mom,
Double_t &  thetaHE,
Double_t &  phiHE,
Double_t &  thetaCS,
Double_t &  phiCS 
) const

Definition at line 66 of file PairAnalysisPair.cxx.

References Charge(), fBeamEnergy, and fRefD1.

◆ GetTofHit()

CbmTofHit* PairAnalysisTrack::GetTofHit ( ) const
inlineinherited

◆ GetTrack()

◆ GetTrackMatch()

◆ GetTrdTrack()

CbmTrdTrack* PairAnalysisTrack::GetTrdTrack ( ) const
inlineinherited

◆ GetType()

UChar_t PairAnalysisPair::GetType ( ) const
inline

◆ GetWeight()

Double_t PairAnalysisPair::GetWeight ( ) const
inline

Definition at line 81 of file PairAnalysisPair.h.

References fWeight.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ M()

virtual Double_t PairAnalysisPair::M ( ) const
inlinevirtual

◆ OneOverPt()

virtual Double_t PairAnalysisPair::OneOverPt ( ) const
inlinevirtual

◆ OpeningAngle()

virtual Double_t PairAnalysisPair::OpeningAngle ( ) const
inlinevirtual

◆ OpeningAngleRZ()

virtual Double_t PairAnalysisPair::OpeningAngleRZ ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 103 of file PairAnalysisPair.h.

◆ OpeningAngleXY()

virtual Double_t PairAnalysisPair::OpeningAngleXY ( ) const
inlinevirtual

Reimplemented in PairAnalysisPairKF.

Definition at line 102 of file PairAnalysisPair.h.

◆ P()

virtual Double_t PairAnalysisPair::P ( ) const
inlinevirtual

◆ PdgCode()

Int_t PairAnalysisPair::PdgCode ( ) const
inline

Definition at line 94 of file PairAnalysisPair.h.

References fPdgCode.

◆ Phi()

virtual Double_t PairAnalysisPair::Phi ( ) const
inlinevirtual

◆ PhivPair()

virtual Double_t PairAnalysisPair::PhivPair ( Double_t  MagField) const
pure virtual

Implemented in PairAnalysisPairKF, and PairAnalysisPairLV.

◆ PID()

const Double_t* PairAnalysisPair::PID ( ) const
inline

Definition at line 83 of file PairAnalysisPair.h.

◆ PsiPair()

virtual Double_t PairAnalysisPair::PsiPair ( Double_t  MagField) const
pure virtual

Implemented in PairAnalysisPairKF, and PairAnalysisPairLV.

◆ Pt()

virtual Double_t PairAnalysisPair::Pt ( ) const
inlinevirtual

◆ Px()

virtual Double_t PairAnalysisPair::Px ( ) const
inlinevirtual

◆ PxPyPz()

virtual Bool_t PairAnalysisPair::PxPyPz ( Double_t  p[3]) const
inlinevirtual

Reimplemented in PairAnalysisPairKF, and PairAnalysisPairLV.

Definition at line 47 of file PairAnalysisPair.h.

References Px(), Py(), and Pz().

◆ Py()

virtual Double_t PairAnalysisPair::Py ( ) const
inlinevirtual

◆ Pz()

virtual Double_t PairAnalysisPair::Pz ( ) const
inlinevirtual

◆ Refit()

◆ RotateTrack()

virtual void PairAnalysisPair::RotateTrack ( PairAnalysisTrackRotator rot)
pure virtual

◆ SetBeamEnergy()

void PairAnalysisPair::SetBeamEnergy ( Double_t  beamEbyHand = -1.)
static

Definition at line 150 of file PairAnalysisPair.cxx.

References fBeamEnergy.

Referenced by PairAnalysisVarManager::FillVarPairAnalysisPair().

◆ SetKFUsage()

void PairAnalysisPair::SetKFUsage ( Bool_t  KFUsage)
inline

◆ SetLabel()

void PairAnalysisPair::SetLabel ( Int_t  label)
inline

Definition at line 91 of file PairAnalysisPair.h.

References fLabel.

Referenced by PairAnalysis::FillPairArrays(), and PairAnalysis::PairPreFilter().

◆ SetMassHypo()

◆ SetMCTracks()

virtual void PairAnalysisPair::SetMCTracks ( const CbmMCTrack *const  particle1,
const CbmMCTrack *const  particle2 
)
pure virtual

◆ SetPdgCode()

void PairAnalysisPair::SetPdgCode ( Int_t  pdgCode)
inline

Definition at line 93 of file PairAnalysisPair.h.

References fPdgCode.

Referenced by PairAnalysis::FillPairArrays().

◆ SetRefFirstDaughter()

void PairAnalysisPair::SetRefFirstDaughter ( PairAnalysisTrack *const  track)
inline

Definition at line 137 of file PairAnalysisPair.h.

References fRefD1.

◆ SetRefSecondDaughter()

void PairAnalysisPair::SetRefSecondDaughter ( PairAnalysisTrack *const  track)
inline

Definition at line 138 of file PairAnalysisPair.h.

References fRefD2.

◆ SetTracks()

virtual void PairAnalysisPair::SetTracks ( PairAnalysisTrack *const  particle1,
Int_t  pid1,
PairAnalysisTrack *const  particle2,
Int_t  pid2 
)
pure virtual

◆ SetType()

void PairAnalysisPair::SetType ( Char_t  type)
inline

◆ SetWeight()

void PairAnalysisPair::SetWeight ( Double_t  wght)
inline

Definition at line 92 of file PairAnalysisPair.h.

References fWeight.

◆ Theta()

virtual Double_t PairAnalysisPair::Theta ( ) const
inlinevirtual

◆ Xv()

virtual Double_t PairAnalysisPair::Xv ( ) const
inlinevirtual

◆ XvYvZv()

virtual Bool_t PairAnalysisPair::XvYvZv ( Double_t  x[3]) const
inlinevirtual

Reimplemented in PairAnalysisPairKF, and PairAnalysisPairLV.

Definition at line 57 of file PairAnalysisPair.h.

References x, Xv(), Yv(), and Zv().

◆ Y()

virtual Double_t PairAnalysisPair::Y ( ) const
inlinevirtual

◆ Yv()

virtual Double_t PairAnalysisPair::Yv ( ) const
inlinevirtual

◆ Zv()

virtual Double_t PairAnalysisPair::Zv ( ) const
inlinevirtual

Member Data Documentation

◆ fBeamEnergy

Double_t PairAnalysisPair::fBeamEnergy
staticprotected

Definition at line 162 of file PairAnalysisPair.h.

Referenced by GetThetaPhiCM(), and SetBeamEnergy().

◆ fCharge

Short_t PairAnalysisPair::fCharge = -1
protected

◆ fChi2Vtx

Double_t PairAnalysisTrack::fChi2Vtx = -1.
privateinherited

◆ fFastTrack

Bool_t PairAnalysisTrack::fFastTrack = kFALSE
privateinherited

◆ fGlblTrack

◆ fGlblTrackIndex

Int_t PairAnalysisTrack::fGlblTrackIndex = -1
privateinherited

Definition at line 118 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetGlobalIndex().

◆ fKFUsage

Bool_t PairAnalysisPair::fKFUsage = kFALSE
protected

Definition at line 169 of file PairAnalysisPair.h.

Referenced by GetKFUsage(), and SetKFUsage().

◆ fLabel

Int_t PairAnalysisPair::fLabel = -1
protected

Definition at line 159 of file PairAnalysisPair.h.

Referenced by GetLabel(), and SetLabel().

◆ fMCTrack

CbmMCTrack* PairAnalysisTrack::fMCTrack = NULL
privateinherited

Definition at line 125 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetMCTrack().

◆ fMomentum

◆ fMuchTrack

CbmMuchTrack* PairAnalysisTrack::fMuchTrack = NULL
privateinherited

◆ fMuchTrackMatch

CbmTrackMatchNew* PairAnalysisTrack::fMuchTrackMatch = NULL
privateinherited

Definition at line 127 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetTrackMatch().

◆ fMultiMatch

Int_t PairAnalysisTrack::fMultiMatch = 0
privateinherited

Definition at line 141 of file PairAnalysisTrack.h.

◆ fMvdEntrance

FairTrackParam* PairAnalysisTrack::fMvdEntrance = NULL
privateinherited

◆ fPdgCode

Int_t PairAnalysisPair::fPdgCode = 0
protected

Definition at line 161 of file PairAnalysisPair.h.

Referenced by PdgCode(), and SetPdgCode().

◆ fPid1

Int_t PairAnalysisPair::fPid1 = 0
protected

◆ fPid2

Int_t PairAnalysisPair::fPid2 = 0
protected

◆ fPosition

◆ fPrimVertex

CbmKFVertex* PairAnalysisTrack::fPrimVertex = NULL
privateinherited

◆ fRefD1

◆ fRefD2

TRef PairAnalysisPair::fRefD2
protected

◆ fRichProj

FairTrackParam* PairAnalysisTrack::fRichProj = NULL
privateinherited

Definition at line 131 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetRichProj().

◆ fRichRing

CbmRichRing* PairAnalysisTrack::fRichRing = NULL
privateinherited

Definition at line 122 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetRichRing().

◆ fRichRingMatch

CbmTrackMatchNew* PairAnalysisTrack::fRichRingMatch = NULL
privateinherited

Definition at line 129 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetTrackMatch().

◆ fStsTrack

CbmStsTrack* PairAnalysisTrack::fStsTrack = NULL
privateinherited

◆ fStsTrackMatch

CbmTrackMatchNew* PairAnalysisTrack::fStsTrackMatch = NULL
privateinherited

Definition at line 126 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetTrackMatch().

◆ fTofHit

CbmTofHit* PairAnalysisTrack::fTofHit = NULL
privateinherited

◆ fTrdTrack

CbmTrdTrack* PairAnalysisTrack::fTrdTrack = NULL
privateinherited

◆ fTrdTrackMatch

CbmTrackMatchNew* PairAnalysisTrack::fTrdTrackMatch = NULL
privateinherited

Definition at line 128 of file PairAnalysisTrack.h.

Referenced by PairAnalysisTrack::GetTrackMatch().

◆ fType

Char_t PairAnalysisPair::fType
protected
Initial value:
=
-1

Definition at line 156 of file PairAnalysisPair.h.

Referenced by GetType(), and SetType().

◆ fWeight

Double_t PairAnalysisPair::fWeight = 1.
protected

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