CbmRoot
CbmL1Track Class Reference

#include <CbmL1Track.h>

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

Public Member Functions

 CbmL1Track ()
 
int GetNOfHits ()
 Number of Degrees of Freedom after fit. More...
 
void AddMCTrack (CbmL1MCTrack *mcTr)
 
vector< CbmL1MCTrack * > & GetMCTracks ()
 
CbmL1MCTrackGetMCTrack ()
 
int GetNMCTracks ()
 
bool IsGhost ()
 
void SetMaxPurity (double maxPurity_)
 
double GetMaxPurity ()
 
double * GetTrack ()
 Is it electron. More...
 
double * GetCovMatrix ()
 array[6] of track parameters(x,y,tx,ty,qp,z) More...
 
double & GetRefChi2 ()
 array[15] of covariance matrix More...
 
int & GetRefNDF ()
 Chi^2 after fit. More...
 
double GetMass ()
 
bool IsElectron ()
 Mass hypothesis. More...
 
virtual CbmKFHitGetHit (Int_t)
 Number of hits. More...
 
Int_t Extrapolate (Double_t z, Double_t *QP0=0)
 Access to i-th hit. More...
 
Int_t Fit (Bool_t downstream=1)
 
void Smooth (Double_t Z)
 
void Fit2Vertex (CbmKFVertexInterface &vtx)
 
Int_t Propagate (Double_t z_out, Double_t QP0)
 
Int_t Propagate (Double_t z_out)
 
int Id () const
 
void SetId (int id)
 

Static Public Member Functions

static bool compareChi2 (const CbmL1Track &a, const CbmL1Track &b)
 
static bool comparePChi2 (const CbmL1Track *a, const CbmL1Track *b)
 

Public Attributes

double Tpv [7]
 
double Cpv [21]
 
double TLast [7]
 
double CLast [21]
 
vector< int > StsHits
 
int nStations
 
int index
 
double fTrackTime
 
map< int, int > hitMap
 
double T [7]
 
double C [21]
 
double chi2
 
int NDF
 
double mass
 
bool is_electron
 

Protected Attributes

int fId
 

Private Attributes

vector< CbmL1MCTrack * > mcTracks
 
double maxPurity
 

Detailed Description

Definition at line 33 of file CbmL1Track.h.

Constructor & Destructor Documentation

◆ CbmL1Track()

CbmL1Track::CbmL1Track ( )
inline

Definition at line 35 of file CbmL1Track.h.

Member Function Documentation

◆ AddMCTrack()

void CbmL1Track::AddMCTrack ( CbmL1MCTrack mcTr)
inline

Definition at line 46 of file CbmL1Track.h.

References mcTracks.

Referenced by CbmL1::TrackMatch().

◆ compareChi2()

static bool CbmL1Track::compareChi2 ( const CbmL1Track a,
const CbmL1Track b 
)
inlinestatic

Definition at line 55 of file CbmL1Track.h.

References CbmL1TrackPar::chi2.

◆ comparePChi2()

static bool CbmL1Track::comparePChi2 ( const CbmL1Track a,
const CbmL1Track b 
)
inlinestatic

Definition at line 58 of file CbmL1Track.h.

References CbmL1TrackPar::chi2.

◆ Extrapolate()

◆ Fit()

◆ Fit2Vertex()

◆ GetCovMatrix()

double* CbmL1TrackPar::GetCovMatrix ( )
inlinevirtualinherited

array[6] of track parameters(x,y,tx,ty,qp,z)

Reimplemented from CbmKFTrackInterface.

Definition at line 11 of file CbmL1TrackPar.h.

References CbmL1TrackPar::C.

◆ GetHit()

virtual CbmKFHit* CbmKFTrackInterface::GetHit ( Int_t  )
inlinevirtualinherited

Number of hits.

Reimplemented in CbmKFTrack.

Definition at line 55 of file CbmKFTrackInterface.h.

Referenced by CbmKFTrackInterface::Fit(), and CbmKFTrackInterface::Smooth().

◆ GetMass()

double CbmL1TrackPar::GetMass ( )
inlinevirtualinherited

Information not to be changed

Reimplemented from CbmKFTrackInterface.

Definition at line 14 of file CbmL1TrackPar.h.

References CbmL1TrackPar::mass.

◆ GetMaxPurity()

double CbmL1Track::GetMaxPurity ( )
inline

Definition at line 53 of file CbmL1Track.h.

References maxPurity.

Referenced by CbmL1::HistoPerformance().

◆ GetMCTrack()

CbmL1MCTrack* CbmL1Track::GetMCTrack ( )
inline

Definition at line 48 of file CbmL1Track.h.

References mcTracks.

Referenced by CbmL1::HistoPerformance().

◆ GetMCTracks()

vector<CbmL1MCTrack*>& CbmL1Track::GetMCTracks ( )
inline

Definition at line 47 of file CbmL1Track.h.

References mcTracks.

◆ GetNMCTracks()

int CbmL1Track::GetNMCTracks ( )
inline

Definition at line 49 of file CbmL1Track.h.

References mcTracks.

◆ GetNOfHits()

int CbmL1Track::GetNOfHits ( )
inlinevirtual

Number of Degrees of Freedom after fit.

Accessors to the track hits during track fit

Reimplemented from CbmKFTrackInterface.

Definition at line 44 of file CbmL1Track.h.

References StsHits.

◆ GetRefChi2()

double& CbmL1TrackPar::GetRefChi2 ( )
inlinevirtualinherited

array[15] of covariance matrix

Parameters during and after the track fit

Reimplemented from CbmKFTrackInterface.

Definition at line 12 of file CbmL1TrackPar.h.

References CbmL1TrackPar::chi2.

◆ GetRefNDF()

int& CbmL1TrackPar::GetRefNDF ( )
inlinevirtualinherited

Chi^2 after fit.

Reimplemented from CbmKFTrackInterface.

Definition at line 13 of file CbmL1TrackPar.h.

References CbmL1TrackPar::NDF.

◆ GetTrack()

double* CbmL1TrackPar::GetTrack ( )
inlinevirtualinherited

Is it electron.

I/O parameters for extrapolation routines

Reimplemented from CbmKFTrackInterface.

Definition at line 10 of file CbmL1TrackPar.h.

References CbmL1TrackPar::T.

◆ Id()

int CbmKFTrackInterface::Id ( ) const
inlineinherited

Definition at line 67 of file CbmKFTrackInterface.h.

References CbmKFTrackInterface::fId.

Referenced by ClassImp().

◆ IsElectron()

bool CbmL1TrackPar::IsElectron ( )
inlinevirtualinherited

Mass hypothesis.

Reimplemented from CbmKFTrackInterface.

Definition at line 15 of file CbmL1TrackPar.h.

References CbmL1TrackPar::is_electron.

◆ IsGhost()

bool CbmL1Track::IsGhost ( )
inline

Definition at line 50 of file CbmL1Track.h.

References mcTracks.

Referenced by CbmL1::HistoPerformance().

◆ Propagate() [1/2]

Int_t CbmKFTrackInterface::Propagate ( Double_t  z_out)
inherited

◆ Propagate() [2/2]

◆ SetId()

void CbmKFTrackInterface::SetId ( int  id)
inlineinherited

Definition at line 68 of file CbmKFTrackInterface.h.

References CbmKFTrackInterface::fId.

Referenced by CbmL1::Reconstruct().

◆ SetMaxPurity()

void CbmL1Track::SetMaxPurity ( double  maxPurity_)
inline

Definition at line 52 of file CbmL1Track.h.

References maxPurity.

Referenced by CbmL1::TrackMatch().

◆ Smooth()

Member Data Documentation

◆ C

◆ chi2

◆ CLast

◆ Cpv

double CbmL1Track::Cpv[21]

◆ fId

int CbmKFTrackInterface::fId
protectedinherited

Definition at line 71 of file CbmKFTrackInterface.h.

Referenced by CbmKFTrackInterface::Id(), and CbmKFTrackInterface::SetId().

◆ fTrackTime

double CbmL1Track::fTrackTime

Definition at line 71 of file CbmL1Track.h.

Referenced by CbmL1::Reconstruct().

◆ hitMap

map<int, int> CbmL1Track::hitMap

Definition at line 74 of file CbmL1Track.h.

Referenced by CbmL1::TrackMatch().

◆ index

int CbmL1Track::index

Definition at line 69 of file CbmL1Track.h.

◆ is_electron

bool CbmL1TrackPar::is_electron
inherited

Definition at line 20 of file CbmL1TrackPar.h.

Referenced by CbmL1TrackPar::IsElectron(), and CbmL1::Reconstruct().

◆ mass

double CbmL1TrackPar::mass
inherited

Definition at line 19 of file CbmL1TrackPar.h.

Referenced by CbmL1TrackPar::GetMass(), and CbmL1::Reconstruct().

◆ maxPurity

double CbmL1Track::maxPurity
private

Definition at line 79 of file CbmL1Track.h.

Referenced by GetMaxPurity(), and SetMaxPurity().

◆ mcTracks

vector<CbmL1MCTrack*> CbmL1Track::mcTracks
private

Definition at line 78 of file CbmL1Track.h.

Referenced by AddMCTrack(), GetMCTrack(), GetMCTracks(), GetNMCTracks(), and IsGhost().

◆ NDF

◆ nStations

int CbmL1Track::nStations

Definition at line 68 of file CbmL1Track.h.

◆ StsHits

vector<int> CbmL1Track::StsHits

◆ T

◆ TLast

◆ Tpv

double CbmL1Track::Tpv[7]

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