CbmRoot
CbmL1MCTrack Class Reference

#include <CbmL1MCTrack.h>

Collaboration diagram for CbmL1MCTrack:
[legend]

Public Member Functions

 CbmL1MCTrack ()
 
 CbmL1MCTrack (int _ID)
 
 CbmL1MCTrack (double mass, double q, TVector3 vr, TLorentzVector vp, int ID, int mother_ID, int pdg)
 
bool IsPrimary () const
 
bool IsReconstructable () const
 
bool IsAdditional () const
 
int NStations () const
 
int NMCStations () const
 
int NMCContStations () const
 
float Fraction_MC ()
 
void Init ()
 
void AddRecoTrack (CbmL1Track *rTr)
 
vector< CbmL1Track * > & GetRecoTracks ()
 
int GetNClones () const
 
bool IsReconstructed () const
 
void AddTouchTrack (CbmL1Track *tTr)
 
bool IsDisturbed () const
 

Public Attributes

double mass
 
double q
 
double p
 
double x
 
double y
 
double z
 
double px
 
double py
 
double pz
 
double time
 
int ID
 
int iFile
 
int iEvent
 
int mother_ID
 
int pdg
 
vector< int > Points
 
vector< int > StsHits
 

Private Member Functions

void CalculateMCCont ()
 
void CalculateHitCont ()
 
void CalculateMaxNStaHits ()
 
void CalculateMaxNStaMC ()
 
void CalculateIsReconstructable ()
 

Private Attributes

int nMCContStations
 
int nHitContStations
 
int maxNStaMC
 
int maxNSensorMC
 
int maxNStaHits
 
int nStations
 
int nMCStations
 
bool isReconstructable
 
bool isAdditional
 
vector< CbmL1Track * > rTracks
 
vector< CbmL1Track * > tTracks
 

Friends

class CbmL1
 

Detailed Description

Definition at line 29 of file CbmL1MCTrack.h.

Constructor & Destructor Documentation

◆ CbmL1MCTrack() [1/3]

CbmL1MCTrack::CbmL1MCTrack ( )
inline

Definition at line 36 of file CbmL1MCTrack.h.

◆ CbmL1MCTrack() [2/3]

CbmL1MCTrack::CbmL1MCTrack ( int  _ID)
inline

Definition at line 66 of file CbmL1MCTrack.h.

◆ CbmL1MCTrack() [3/3]

CbmL1MCTrack::CbmL1MCTrack ( double  mass,
double  q,
TVector3  vr,
TLorentzVector  vp,
int  ID,
int  mother_ID,
int  pdg 
)

Definition at line 22 of file CbmL1MCTrack.cxx.

References fabs(), p, px, py, pz, sqrt(), x, y, and z.

Member Function Documentation

◆ AddRecoTrack()

void CbmL1MCTrack::AddRecoTrack ( CbmL1Track rTr)
inline

Definition at line 114 of file CbmL1MCTrack.h.

References rTracks.

Referenced by CbmL1::TrackMatch().

◆ AddTouchTrack()

void CbmL1MCTrack::AddTouchTrack ( CbmL1Track tTr)
inline

Definition at line 119 of file CbmL1MCTrack.h.

References tTracks.

Referenced by CbmL1::TrackMatch().

◆ CalculateHitCont()

void CbmL1MCTrack::CalculateHitCont ( )
private

Definition at line 136 of file CbmL1MCTrack.cxx.

References CbmL1::algo, CbmL1::Instance(), nHitContStations, StsHits, L1Algo::vSFlag, and L1Algo::vStsHits.

Referenced by Init().

◆ CalculateIsReconstructable()

◆ CalculateMaxNStaHits()

void CbmL1MCTrack::CalculateMaxNStaHits ( )
private

Definition at line 171 of file CbmL1MCTrack.cxx.

References CbmL1::Instance(), CbmL1HitStore::iStation, maxNStaHits, nStations, StsHits, and CbmL1::vHitStore.

Referenced by Init().

◆ CalculateMaxNStaMC()

void CbmL1MCTrack::CalculateMaxNStaMC ( )
private

◆ CalculateMCCont()

void CbmL1MCTrack::CalculateMCCont ( )
private

Definition at line 115 of file CbmL1MCTrack.cxx.

References CbmL1::Instance(), nMCContStations, Points, and CbmL1::vMCPoints.

Referenced by Init().

◆ Fraction_MC()

float CbmL1MCTrack::Fraction_MC ( )

◆ GetNClones()

int CbmL1MCTrack::GetNClones ( ) const
inline

Definition at line 116 of file CbmL1MCTrack.h.

References rTracks.

Referenced by CbmL1::EfficienciesPerformance().

◆ GetRecoTracks()

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

Definition at line 115 of file CbmL1MCTrack.h.

References rTracks.

Referenced by CbmL1::EfficienciesPerformance().

◆ Init()

◆ IsAdditional()

bool CbmL1MCTrack::IsAdditional ( ) const
inline

Definition at line 106 of file CbmL1MCTrack.h.

References isAdditional.

Referenced by CbmL1::EfficienciesPerformance(), and CbmL1::HistoPerformance().

◆ IsDisturbed()

bool CbmL1MCTrack::IsDisturbed ( ) const
inline

Definition at line 120 of file CbmL1MCTrack.h.

References tTracks.

Referenced by CbmL1::EfficienciesPerformance().

◆ IsPrimary()

bool CbmL1MCTrack::IsPrimary ( ) const
inline

◆ IsReconstructable()

bool CbmL1MCTrack::IsReconstructable ( ) const
inline

◆ IsReconstructed()

bool CbmL1MCTrack::IsReconstructed ( ) const
inline

Definition at line 117 of file CbmL1MCTrack.h.

References rTracks.

Referenced by CbmL1::EfficienciesPerformance(), and CbmL1::HistoPerformance().

◆ NMCContStations()

int CbmL1MCTrack::NMCContStations ( ) const
inline

Definition at line 109 of file CbmL1MCTrack.h.

References nMCContStations.

◆ NMCStations()

int CbmL1MCTrack::NMCStations ( ) const
inline

Definition at line 108 of file CbmL1MCTrack.h.

References nMCStations.

Referenced by CbmL1::EfficienciesPerformance().

◆ NStations()

int CbmL1MCTrack::NStations ( ) const
inline

Definition at line 107 of file CbmL1MCTrack.h.

References nStations.

Referenced by CbmL1::EfficienciesPerformance(), and CbmL1::HistoPerformance().

Friends And Related Function Documentation

◆ CbmL1

friend class CbmL1
friend

Definition at line 122 of file CbmL1MCTrack.h.

Member Data Documentation

◆ ID

◆ iEvent

int CbmL1MCTrack::iEvent

Definition at line 32 of file CbmL1MCTrack.h.

Referenced by CbmL1::Fill_vMCTracks(), and CbmL1::Reconstruct().

◆ iFile

int CbmL1MCTrack::iFile

Definition at line 32 of file CbmL1MCTrack.h.

Referenced by CbmL1::Fill_vMCTracks().

◆ isAdditional

bool CbmL1MCTrack::isAdditional
private

Definition at line 135 of file CbmL1MCTrack.h.

Referenced by CalculateIsReconstructable(), and IsAdditional().

◆ isReconstructable

bool CbmL1MCTrack::isReconstructable
private

Definition at line 134 of file CbmL1MCTrack.h.

Referenced by CalculateIsReconstructable(), and IsReconstructable().

◆ mass

double CbmL1MCTrack::mass

Definition at line 31 of file CbmL1MCTrack.h.

Referenced by CbmL1::ReadSTAPPerfData().

◆ maxNSensorMC

int CbmL1MCTrack::maxNSensorMC
private

Definition at line 128 of file CbmL1MCTrack.h.

Referenced by CalculateMaxNStaMC(), and CbmL1::ReadSTAPPerfData().

◆ maxNStaHits

int CbmL1MCTrack::maxNStaHits
private

Definition at line 129 of file CbmL1MCTrack.h.

Referenced by CalculateMaxNStaHits(), and CbmL1::ReadSTAPPerfData().

◆ maxNStaMC

int CbmL1MCTrack::maxNStaMC
private

◆ mother_ID

◆ nHitContStations

int CbmL1MCTrack::nHitContStations
private

◆ nMCContStations

int CbmL1MCTrack::nMCContStations
private

◆ nMCStations

int CbmL1MCTrack::nMCStations
private

Definition at line 132 of file CbmL1MCTrack.h.

Referenced by CalculateIsReconstructable(), CalculateMaxNStaMC(), and NMCStations().

◆ nStations

int CbmL1MCTrack::nStations
private

◆ p

◆ pdg

int CbmL1MCTrack::pdg

◆ Points

◆ px

◆ py

◆ pz

◆ q

◆ rTracks

vector<CbmL1Track*> CbmL1MCTrack::rTracks
private

Definition at line 144 of file CbmL1MCTrack.h.

Referenced by AddRecoTrack(), GetNClones(), GetRecoTracks(), and IsReconstructed().

◆ StsHits

◆ time

double CbmL1MCTrack::time

◆ tTracks

vector<CbmL1Track*> CbmL1MCTrack::tTracks
private

Definition at line 146 of file CbmL1MCTrack.h.

Referenced by AddTouchTrack(), and IsDisturbed().

◆ x

◆ y

◆ z


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