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

#include <CbmL1Hit.h>

Collaboration diagram for CbmL1HitDebugInfo:
[legend]

Public Member Functions

int GetDetectorType () const
 Gets detector type 0 - MVD 1 - STS 2 - MuCh 3 - TRD 4 - TOF.
 
double GetR () const
 Gets distance from z-axis [cm].
 
int GetExternalHitId () const
 Gets index of the hit in the external container.
 
int GetBestMcPointId () const
 Gets index of matched MC point.
 
const std::vector< int > & GetMcPointIds () const
 
int GetStationId () const
 Gets global index of active tracking station.
 
double GetT () const
 Gets time measurement [ns].
 
double GetX () const
 Gets x component of position [cm].
 
double GetY () const
 Gets y component of position [cm].
 
double GetZ () const
 Gets z component of position [cm].
 
void SetBestMcPointId (int pointID)
 Sets index of matched MC point.
 
void AddMcPointId (int pointID)
 Sets index of matched MC point.
 
std::string ToString (int verbose=0, bool header=false) const
 String representation of the object.
 

Public Attributes

int ExtIndex
 index of hit in the external branch
 
int IntIndex
 index of hit in the internal array
 
int iStation
 index of station in active stations array
 
int Det
 detector subsystem ID
 
double x
 x coordinate of position [cm]
 
double y
 y coordinate of position [cm]
 
double z
 z coordinate of position [cm]
 
double time
 hit time [ns]
 
double dx
 x coordinate error [cm]
 
double dy
 y coordinate error [cm]
 
double dt
 time error [ns]
 
double dxy
 covariance between x and y [cm2]
 
int fBestMcPointId {-1}
 index of best matched MC point
 
std::vector< int > fMcPointIds {}
 indices of all matched MC points
 

Detailed Description

a helper class for performance evaluation that contains useful info about cbm hits with hit-mcpoint match information

Definition at line 50 of file CbmL1Hit.h.

Member Function Documentation

◆ AddMcPointId()

void CbmL1HitDebugInfo::AddMcPointId ( int pointID)
inline

Sets index of matched MC point.

Parameters
pointIDInternal index of MC point

Definition at line 93 of file CbmL1Hit.h.

References fMcPointIds.

◆ GetBestMcPointId()

int CbmL1HitDebugInfo::GetBestMcPointId ( ) const
inline

Gets index of matched MC point.

Definition at line 68 of file CbmL1Hit.h.

References fBestMcPointId.

Referenced by ToString().

◆ GetDetectorType()

int CbmL1HitDebugInfo::GetDetectorType ( ) const
inline

Gets detector type 0 - MVD 1 - STS 2 - MuCh 3 - TRD 4 - TOF.

Definition at line 59 of file CbmL1Hit.h.

References Det.

◆ GetExternalHitId()

int CbmL1HitDebugInfo::GetExternalHitId ( ) const
inline

Gets index of the hit in the external container.

Definition at line 65 of file CbmL1Hit.h.

References ExtIndex.

◆ GetMcPointIds()

const std::vector< int > & CbmL1HitDebugInfo::GetMcPointIds ( ) const
inline

Definition at line 70 of file CbmL1Hit.h.

References fMcPointIds.

◆ GetR()

double CbmL1HitDebugInfo::GetR ( ) const
inline

Gets distance from z-axis [cm].

Definition at line 62 of file CbmL1Hit.h.

References x, and y.

◆ GetStationId()

int CbmL1HitDebugInfo::GetStationId ( ) const
inline

Gets global index of active tracking station.

Definition at line 73 of file CbmL1Hit.h.

References iStation.

Referenced by CbmL1::IdealTrackFinder().

◆ GetT()

double CbmL1HitDebugInfo::GetT ( ) const
inline

Gets time measurement [ns].

Definition at line 76 of file CbmL1Hit.h.

References time.

◆ GetX()

double CbmL1HitDebugInfo::GetX ( ) const
inline

Gets x component of position [cm].

Definition at line 79 of file CbmL1Hit.h.

References x.

◆ GetY()

double CbmL1HitDebugInfo::GetY ( ) const
inline

Gets y component of position [cm].

Definition at line 82 of file CbmL1Hit.h.

References y.

◆ GetZ()

double CbmL1HitDebugInfo::GetZ ( ) const
inline

Gets z component of position [cm].

Definition at line 85 of file CbmL1Hit.h.

References z.

◆ SetBestMcPointId()

void CbmL1HitDebugInfo::SetBestMcPointId ( int pointID)
inline

Sets index of matched MC point.

Parameters
pointIDInternal index of MC point

Definition at line 89 of file CbmL1Hit.h.

References fBestMcPointId.

◆ ToString()

std::string CbmL1HitDebugInfo::ToString ( int verbose = 0,
bool header = false ) const
inline

String representation of the object.

Parameters
verboseVerbosity level
headerIf true, header will be printed

Definition at line 98 of file CbmL1Hit.h.

References Det, dt, dx, dxy, dy, ExtIndex, GetBestMcPointId(), IntIndex, iStation, time, x, y, and z.

Member Data Documentation

◆ Det

int CbmL1HitDebugInfo::Det

detector subsystem ID

Definition at line 145 of file CbmL1Hit.h.

Referenced by GetDetectorType(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ dt

double CbmL1HitDebugInfo::dt

time error [ns]

Definition at line 152 of file CbmL1Hit.h.

Referenced by cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ dx

double CbmL1HitDebugInfo::dx

x coordinate error [cm]

Definition at line 150 of file CbmL1Hit.h.

Referenced by CbmL1::EfficienciesPerformance(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ dxy

double CbmL1HitDebugInfo::dxy

covariance between x and y [cm2]

Definition at line 153 of file CbmL1Hit.h.

Referenced by cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ dy

double CbmL1HitDebugInfo::dy

y coordinate error [cm]

Definition at line 151 of file CbmL1Hit.h.

Referenced by CbmL1::EfficienciesPerformance(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ ExtIndex

int CbmL1HitDebugInfo::ExtIndex

index of hit in the external branch

Definition at line 142 of file CbmL1Hit.h.

Referenced by GetExternalHitId(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ fBestMcPointId

int CbmL1HitDebugInfo::fBestMcPointId {-1}

index of best matched MC point

Definition at line 154 of file CbmL1Hit.h.

Referenced by GetBestMcPointId(), and SetBestMcPointId().

◆ fMcPointIds

std::vector<int> CbmL1HitDebugInfo::fMcPointIds {}

indices of all matched MC points

Definition at line 155 of file CbmL1Hit.h.

Referenced by AddMcPointId(), and GetMcPointIds().

◆ IntIndex

int CbmL1HitDebugInfo::IntIndex

index of hit in the internal array

Definition at line 143 of file CbmL1Hit.h.

Referenced by cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ iStation

int CbmL1HitDebugInfo::iStation

index of station in active stations array

Definition at line 144 of file CbmL1Hit.h.

Referenced by CbmL1MCTrack::CountHitStations(), GetStationId(), CbmL1::HistoPerformance(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ time

double CbmL1HitDebugInfo::time

hit time [ns]

Definition at line 149 of file CbmL1Hit.h.

Referenced by GetT(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ x

double CbmL1HitDebugInfo::x

x coordinate of position [cm]

Definition at line 146 of file CbmL1Hit.h.

Referenced by CbmL1::EfficienciesPerformance(), GetR(), GetX(), CbmL1::HistoPerformance(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ y

double CbmL1HitDebugInfo::y

y coordinate of position [cm]

Definition at line 147 of file CbmL1Hit.h.

Referenced by CbmL1::EfficienciesPerformance(), GetR(), GetY(), CbmL1::HistoPerformance(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().

◆ z

double CbmL1HitDebugInfo::z

z coordinate of position [cm]

Definition at line 148 of file CbmL1Hit.h.

Referenced by GetZ(), cbm::ca::TimeSliceReader::StoreHitRecord(), and ToString().


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