CbmRoot
CbmKFParticle Class Reference

#include <CbmKFParticle.h>

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

Public Member Functions

int Id () const
 
int NDaughters () const
 
const std::vector< int > & DaughterIds () const
 
void SetId (int id)
 
void SetNDaughters (int n)
 
void AddDaughter (int id)
 
void CleanDaughtersId ()
 
 CbmKFParticle ()
 
 CbmKFParticle (CbmKFTrackInterface *Track, Double_t *z0=0, Int_t *qHypo=0, Int_t *pdg=0)
 
 ~CbmKFParticle ()
 
void Construct (std::vector< CbmKFTrackInterface * > &vDaughters, CbmKFVertexInterface *Parent=0, Double_t Mass=-1, Double_t CutChi2=-1)
 
void ConstructFromKFParticle (std::vector< CbmKFParticle * > &vDaughters, CbmKFVertexInterface *Parent=0, Double_t Mass=-1, Double_t CutChi2=-1)
 
void TransportToProductionVertex ()
 
void TransportToDecayVertex ()
 
Double_t GetDStoPoint (const Double_t xyz[]) const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetPx () const
 
Double_t GetPy () const
 
Double_t GetPz () const
 
Double_t GetE () const
 
Double_t GetS () const
 
Double_t GetQ () const
 
Double_t GetChi2 () const
 
Int_t GetNDF () const
 
Double_t * GetParameters ()
 
Double_t * GetCovMatrix ()
 
Bool_t GetAtProductionVertex () const
 
Double_t GetParameter (Int_t i) const
 
Double_t GetCovariance (Int_t i) const
 
Double_t GetCovariance (Int_t i, Int_t j) const
 
Double_t & rX ()
 
Double_t & rY ()
 
Double_t & rZ ()
 
Double_t & rPx ()
 
Double_t & rPy ()
 
Double_t & rPz ()
 
Double_t & rE ()
 
Double_t & rS ()
 
Double_t & rQ ()
 
Double_t & rChi2 ()
 
Int_t & rNDF ()
 
Double_t & rParameter (Int_t i)
 
Double_t & rCovariance (Int_t i)
 
Double_t & rCovariance (Int_t i, Int_t j)
 
void GetKFTrack (CbmKFTrackInterface *Track)
 
void GetKFVertex (CbmKFVertexInterface &vtx)
 
void GetMomentum (Double_t &P, Double_t &Error)
 
void GetMass (Double_t &M, Double_t &Error)
 
void GetDecayLength (Double_t &L, Double_t &Error)
 
void GetLifeTime (Double_t &T, Double_t &Error)
 
Double_t GetRapidity () const
 
Double_t GetPt () const
 
Double_t GetTheta () const
 
Double_t GetPhi () const
 
void Extrapolate (Double_t r0[], double T)
 
void ExtrapolateLine (Double_t r0[], double T)
 
void SetPDG (int pdg)
 
int GetPDG () const
 

Public Attributes

Double_t r [8]
 
Double_t C [36]
 
Int_t NDF
 
Double_t Chi2
 
Double_t Q
 
Bool_t AtProductionVertex
 
float fieldRegion [10]
 

Protected Member Functions

Double_t & Cij (Int_t i, Int_t j)
 
void MeasureMass (Double_t r0[], Double_t Mass)
 
void MeasureProductionVertex (Double_t r0[], CbmKFVertexInterface *Parent)
 
void Convert (Double_t r0[], bool ToProduction)
 
 ClassDef (CbmKFParticle, 1)
 

Static Protected Member Functions

static Int_t IJ (Int_t i, Int_t j)
 

Private Attributes

int fId
 
std::vector< int > fDaughtersIds
 
int fPDG
 

Detailed Description

The CbmKFParticle class

Author
S.Gorbunov, I.Kisel
Version
1.0
Since
24.11.06

Class to fit decayed particle with the Kalman Filter method

Definition at line 18 of file CbmKFParticle.h.

Constructor & Destructor Documentation

◆ CbmKFParticle() [1/2]

CbmKFParticle::CbmKFParticle ( )
inline

Definition at line 45 of file CbmKFParticle.h.

◆ CbmKFParticle() [2/2]

CbmKFParticle::CbmKFParticle ( CbmKFTrackInterface Track,
Double_t *  z0 = 0,
Int_t *  qHypo = 0,
Int_t *  pdg = 0 
)

◆ ~CbmKFParticle()

CbmKFParticle::~CbmKFParticle ( )
inline

Definition at line 58 of file CbmKFParticle.h.

Member Function Documentation

◆ AddDaughter()

void CbmKFParticle::AddDaughter ( int  id)
inline

Definition at line 27 of file CbmKFParticle.h.

References fDaughtersIds.

◆ Cij()

Double_t& CbmKFParticle::Cij ( Int_t  i,
Int_t  j 
)
inlineprotected

Definition at line 145 of file CbmKFParticle.h.

References C, and i.

Referenced by MeasureMass().

◆ ClassDef()

CbmKFParticle::ClassDef ( CbmKFParticle  ,
 
)
protected

◆ CleanDaughtersId()

void CbmKFParticle::CleanDaughtersId ( )
inline

Definition at line 28 of file CbmKFParticle.h.

References fDaughtersIds.

◆ Construct()

void CbmKFParticle::Construct ( std::vector< CbmKFTrackInterface * > &  vDaughters,
CbmKFVertexInterface Parent = 0,
Double_t  Mass = -1,
Double_t  CutChi2 = -1 
)

◆ ConstructFromKFParticle()

void CbmKFParticle::ConstructFromKFParticle ( std::vector< CbmKFParticle * > &  vDaughters,
CbmKFVertexInterface Parent = 0,
Double_t  Mass = -1,
Double_t  CutChi2 = -1 
)

◆ Convert()

void CbmKFParticle::Convert ( Double_t  r0[],
bool  ToProduction 
)
protected

◆ DaughterIds()

const std::vector<int>& CbmKFParticle::DaughterIds ( ) const
inline

Definition at line 23 of file CbmKFParticle.h.

References fDaughtersIds.

◆ Extrapolate()

◆ ExtrapolateLine()

void CbmKFParticle::ExtrapolateLine ( Double_t  r0[],
double  T 
)

Definition at line 1197 of file CbmKFParticle.cxx.

References C, and r.

Referenced by Extrapolate().

◆ GetAtProductionVertex()

Bool_t CbmKFParticle::GetAtProductionVertex ( ) const
inline

Definition at line 96 of file CbmKFParticle.h.

References AtProductionVertex.

◆ GetChi2()

Double_t CbmKFParticle::GetChi2 ( ) const
inline

Definition at line 91 of file CbmKFParticle.h.

References Chi2.

◆ GetCovariance() [1/2]

Double_t CbmKFParticle::GetCovariance ( Int_t  i) const
inline

Definition at line 100 of file CbmKFParticle.h.

References C, and i.

◆ GetCovariance() [2/2]

Double_t CbmKFParticle::GetCovariance ( Int_t  i,
Int_t  j 
) const
inline

Definition at line 101 of file CbmKFParticle.h.

References C, i, and IJ().

◆ GetCovMatrix()

Double_t* CbmKFParticle::GetCovMatrix ( )
inline

Definition at line 94 of file CbmKFParticle.h.

References C.

◆ GetDecayLength()

void CbmKFParticle::GetDecayLength ( Double_t &  L,
Double_t &  Error 
)

Definition at line 1511 of file CbmKFParticle.cxx.

References C, r, sqrt(), x, y, and z2.

◆ GetDStoPoint()

Double_t CbmKFParticle::GetDStoPoint ( const Double_t  xyz[]) const

Definition at line 1546 of file CbmKFParticle.cxx.

References CbmKF::GetMagneticField(), CbmKF::Instance(), Q, r, and sqrt().

Referenced by Construct().

◆ GetE()

Double_t CbmKFParticle::GetE ( ) const
inline

Definition at line 88 of file CbmKFParticle.h.

References r.

◆ GetKFTrack()

◆ GetKFVertex()

◆ GetLifeTime()

void CbmKFParticle::GetLifeTime ( Double_t &  T,
Double_t &  Error 
)

Definition at line 1528 of file CbmKFParticle.cxx.

References C, GetMass(), m, r, and sqrt().

◆ GetMass()

void CbmKFParticle::GetMass ( Double_t &  M,
Double_t &  Error 
)

Definition at line 1496 of file CbmKFParticle.cxx.

References C, r, and sqrt().

Referenced by GetLifeTime().

◆ GetMomentum()

void CbmKFParticle::GetMomentum ( Double_t &  P,
Double_t &  Error 
)

Definition at line 1482 of file CbmKFParticle.cxx.

References C, r, sqrt(), x, y, and z2.

◆ GetNDF()

Int_t CbmKFParticle::GetNDF ( ) const
inline

Definition at line 92 of file CbmKFParticle.h.

References NDF.

◆ GetParameter()

Double_t CbmKFParticle::GetParameter ( Int_t  i) const
inline

Definition at line 99 of file CbmKFParticle.h.

References i, and r.

◆ GetParameters()

Double_t* CbmKFParticle::GetParameters ( )
inline

Definition at line 93 of file CbmKFParticle.h.

References r.

◆ GetPDG()

int CbmKFParticle::GetPDG ( ) const
inline

Definition at line 142 of file CbmKFParticle.h.

References fPDG.

◆ GetPhi()

Double_t CbmKFParticle::GetPhi ( ) const

Definition at line 1543 of file CbmKFParticle.cxx.

References r.

◆ GetPt()

Double_t CbmKFParticle::GetPt ( ) const

Definition at line 1539 of file CbmKFParticle.cxx.

References r.

Referenced by GetTheta().

◆ GetPx()

Double_t CbmKFParticle::GetPx ( ) const
inline

Definition at line 85 of file CbmKFParticle.h.

References r.

◆ GetPy()

Double_t CbmKFParticle::GetPy ( ) const
inline

Definition at line 86 of file CbmKFParticle.h.

References r.

◆ GetPz()

Double_t CbmKFParticle::GetPz ( ) const
inline

Definition at line 87 of file CbmKFParticle.h.

References r.

◆ GetQ()

Double_t CbmKFParticle::GetQ ( ) const
inline

Definition at line 90 of file CbmKFParticle.h.

References Q.

◆ GetRapidity()

Double_t CbmKFParticle::GetRapidity ( ) const

Definition at line 1536 of file CbmKFParticle.cxx.

References r.

◆ GetS()

Double_t CbmKFParticle::GetS ( ) const
inline

Definition at line 89 of file CbmKFParticle.h.

References r.

◆ GetTheta()

Double_t CbmKFParticle::GetTheta ( ) const

Definition at line 1542 of file CbmKFParticle.cxx.

References GetPt(), and r.

◆ GetX()

Double_t CbmKFParticle::GetX ( ) const
inline

Definition at line 82 of file CbmKFParticle.h.

References r.

◆ GetY()

Double_t CbmKFParticle::GetY ( ) const
inline

Definition at line 83 of file CbmKFParticle.h.

References r.

◆ GetZ()

Double_t CbmKFParticle::GetZ ( ) const
inline

Definition at line 84 of file CbmKFParticle.h.

References r.

◆ Id()

int CbmKFParticle::Id ( ) const
inline

Definition at line 21 of file CbmKFParticle.h.

References fId.

◆ IJ()

static Int_t CbmKFParticle::IJ ( Int_t  i,
Int_t  j 
)
inlinestaticprotected

Definition at line 148 of file CbmKFParticle.h.

References i.

Referenced by GetCovariance(), and rCovariance().

◆ MeasureMass()

void CbmKFParticle::MeasureMass ( Double_t  r0[],
Double_t  Mass 
)
protected

Definition at line 934 of file CbmKFParticle.cxx.

References C, Chi2, Cij(), i, NDF, and r.

◆ MeasureProductionVertex()

void CbmKFParticle::MeasureProductionVertex ( Double_t  r0[],
CbmKFVertexInterface Parent 
)
protected

◆ NDaughters()

int CbmKFParticle::NDaughters ( ) const
inline

Definition at line 22 of file CbmKFParticle.h.

References fDaughtersIds.

◆ rChi2()

Double_t& CbmKFParticle::rChi2 ( )
inline

Definition at line 116 of file CbmKFParticle.h.

References Chi2.

◆ rCovariance() [1/2]

Double_t& CbmKFParticle::rCovariance ( Int_t  i)
inline

Definition at line 120 of file CbmKFParticle.h.

References C, and i.

◆ rCovariance() [2/2]

Double_t& CbmKFParticle::rCovariance ( Int_t  i,
Int_t  j 
)
inline

Definition at line 121 of file CbmKFParticle.h.

References C, i, and IJ().

◆ rE()

Double_t& CbmKFParticle::rE ( )
inline

Definition at line 113 of file CbmKFParticle.h.

References r.

◆ rNDF()

Int_t& CbmKFParticle::rNDF ( )
inline

Definition at line 117 of file CbmKFParticle.h.

References NDF.

◆ rParameter()

Double_t& CbmKFParticle::rParameter ( Int_t  i)
inline

Definition at line 119 of file CbmKFParticle.h.

References i, and r.

◆ rPx()

Double_t& CbmKFParticle::rPx ( )
inline

Definition at line 110 of file CbmKFParticle.h.

References r.

◆ rPy()

Double_t& CbmKFParticle::rPy ( )
inline

Definition at line 111 of file CbmKFParticle.h.

References r.

◆ rPz()

Double_t& CbmKFParticle::rPz ( )
inline

Definition at line 112 of file CbmKFParticle.h.

References r.

◆ rQ()

Double_t& CbmKFParticle::rQ ( )
inline

Definition at line 115 of file CbmKFParticle.h.

References Q.

◆ rS()

Double_t& CbmKFParticle::rS ( )
inline

Definition at line 114 of file CbmKFParticle.h.

References r.

◆ rX()

Double_t& CbmKFParticle::rX ( )
inline

Definition at line 107 of file CbmKFParticle.h.

References r.

◆ rY()

Double_t& CbmKFParticle::rY ( )
inline

Definition at line 108 of file CbmKFParticle.h.

References r.

◆ rZ()

Double_t& CbmKFParticle::rZ ( )
inline

Definition at line 109 of file CbmKFParticle.h.

References r.

◆ SetId()

void CbmKFParticle::SetId ( int  id)
inline

Definition at line 25 of file CbmKFParticle.h.

References fId.

◆ SetNDaughters()

void CbmKFParticle::SetNDaughters ( int  n)
inline

Definition at line 26 of file CbmKFParticle.h.

References fDaughtersIds.

◆ SetPDG()

void CbmKFParticle::SetPDG ( int  pdg)
inline

Definition at line 141 of file CbmKFParticle.h.

References fPDG.

◆ TransportToDecayVertex()

void CbmKFParticle::TransportToDecayVertex ( )

Definition at line 1414 of file CbmKFParticle.cxx.

References AtProductionVertex, Convert(), Extrapolate(), i, and r.

◆ TransportToProductionVertex()

void CbmKFParticle::TransportToProductionVertex ( )

Definition at line 1404 of file CbmKFParticle.cxx.

References AtProductionVertex, Convert(), Extrapolate(), i, and r.

Member Data Documentation

◆ AtProductionVertex

Bool_t CbmKFParticle::AtProductionVertex

◆ C

◆ Chi2

Double_t CbmKFParticle::Chi2

◆ fDaughtersIds

std::vector<int> CbmKFParticle::fDaughtersIds
private

Definition at line 33 of file CbmKFParticle.h.

Referenced by AddDaughter(), CleanDaughtersId(), DaughterIds(), NDaughters(), and SetNDaughters().

◆ fId

int CbmKFParticle::fId
private

Definition at line 31 of file CbmKFParticle.h.

Referenced by Id(), and SetId().

◆ fieldRegion

float CbmKFParticle::fieldRegion[10]

Definition at line 43 of file CbmKFParticle.h.

◆ fPDG

int CbmKFParticle::fPDG
private

Definition at line 35 of file CbmKFParticle.h.

Referenced by GetPDG(), and SetPDG().

◆ NDF

Int_t CbmKFParticle::NDF

◆ Q

Double_t CbmKFParticle::Q

◆ r


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