CbmRoot
Loading...
Searching...
No Matches
cbm::ca Namespace Reference

Namespaces

namespace  tools
 

Classes

class  CaUvConverter
 A class to convert XY coordinates to UV coordinates. More...
 
struct  DetIdTypeArr_t
 List of. More...
 
class  HitQaData
 Contains necessary data to calculate hit residuals and pulls. More...
 
class  IdealHitProducer
 Ideal hit producer task for CA tracking. More...
 
class  IdealHitProducerDet
 Ideal hit producer class. More...
 
class  InputQaSetup
 A QA task to analyze hit and MC point occupancy distributions in different tracking stations. More...
 
class  MCModule
 Class CbmCaPerformance is an interface to communicate between. More...
 
class  OutputQa
 QA-task for CA tracking output results. More...
 
class  ParametersHandler
 Handles an shared pointer of CA parameters. More...
 
class  TimeSliceReader
 A reader of time slice for CA tracker. More...
 
class  TrackFitQa
 Set of histograms to monitor track parameters. More...
 
class  TrackTypeQa
 Unified QA for a group of tracks. More...
 

Typedefs

template<typename T >
using DetIdArr_t = cbm::core::EnumArray<ca::EDetectorID, T>
 Alias to array, indexed by L1DetectorID enum.
 
using PointTypes_t = DetIdTypeArr_t<CbmMvdPoint, CbmStsPoint, CbmMuchPoint, CbmTrdPoint, CbmTofPoint>
 Name.
 
using HitTypes_t = DetIdTypeArr_t<CbmMvdHit, CbmStsHit, CbmMuchPixelHit, CbmTrdHit, CbmTofHit>
 Types of hit objects for each detector.
 
template<typename T >
using TrackParArray_t = ca::EnumArray<ETrackParType, T>
 Alias to array, indexed with ETrackParType enumeration.
 

Enumerations

enum  ETrackType {
  kPrimLongFast , kPrimLong , kAll , kGhost ,
  kPrim , kPrimFast , kSec , kSecFast ,
  kAllE , kPrimE , kPrimEP , kPrimEM ,
  kSecE , kSecEP , kSecEM , kAllMU ,
  kPrimMU , kPrimMUP , kPrimMUM , kSecMU ,
  kSecMUP , kSecMUM , kAllPI , kPrimPI ,
  kPrimPIP , kPrimPIM , kSecPI , kSecPIP ,
  kSecPIM , kAllK , kPrimK , kPrimKP ,
  kPrimKM , kSecK , kSecKP , kSecKM ,
  kAllPPBAR , kPrimPPBAR , kPrimP , kPrimPBAR ,
  kSecPPBAR , kSecP , kSecPBAR , END
}
 Enumeration fors track category. More...
 
enum class  ETrackParType {
  kX , kY , kTX , kTY ,
  kQP , kTIME , kVI , END ,
  BEGIN = 0
}
 Enumeration for track parameter type. More...
 

Functions

ETrackParType operator++ (ETrackParType &type)
 Prefix increment operator for ETrackParType.
 
ETrackParType operator++ (ETrackParType &type, int)
 Postfix increment operator for ETrackParType.
 

Variables

constexpr DetIdArr_t< const char * > kDetName = {{"MVD", "STS", "MUCH", "TRD", "TOF"}}
 Names of detector subsystems.
 
constexpr DetIdArr_t< const char * > kDetHitBrName = {{"MvdHit", "StsHit", "MuchPixelHit", "TrdHit", "TofHit"}}
 Name of hit branches for each detector.
 
constexpr DetIdArr_t< const char * > kDetPointBrName = {{"MvdPoint", "StsPoint", "MuchPoint", "TrdPoint", "TofPoint"}}
 Name of point branches for each detector.
 
constexpr DetIdArr_t< ECbmDataTypekCbmHitType
 Data type of hits (for CbmEvent)
 
constexpr DetIdArr_t< ECbmModuleIdkCbmModuleId
 Conversion map from ca::EDetectorID to ECbmModuleId.
 

Typedef Documentation

◆ DetIdArr_t

template<typename T >
using cbm::ca::DetIdArr_t = cbm::core::EnumArray<ca::EDetectorID, T>

Alias to array, indexed by L1DetectorID enum.

Note
To be used only in CBM-specific code

Definition at line 41 of file CbmL1DetectorID.h.

◆ HitTypes_t

Types of hit objects for each detector.

Definition at line 93 of file CbmL1DetectorID.h.

◆ PointTypes_t

Name.

Types of MC point objects for each detector

Definition at line 90 of file CbmL1DetectorID.h.

◆ TrackParArray_t

template<typename T >
using cbm::ca::TrackParArray_t = ca::EnumArray<ETrackParType, T>

Alias to array, indexed with ETrackParType enumeration.

Definition at line 65 of file CbmCaTrackFitQa.h.

Enumeration Type Documentation

◆ ETrackParType

enum class cbm::ca::ETrackParType
strong

Enumeration for track parameter type.

TODO: SZh 02.05.2023: Move ETrackParType to another class and apply it everywhere to track parameters

Enumerator
kX 

x-position

kY 

y-position

kTX 

slope along x-axis

kTY 

slope along y-axis

kQP 

charge over total momentum

kTIME 

time

kVI 

inverse speed

END 

end of enumeration

BEGIN 

begin of enumeration

Definition at line 43 of file CbmCaTrackFitQa.h.

◆ ETrackType

Enumeration fors track category.

Enumerator
kPrimLongFast 

primary long tracks (all stations in set)

kPrimLong 

long primary

kAll 

all tracks

kGhost 

ghost tracks (no MC is used)

kPrim 

primary

kPrimFast 

primary fast

kSec 

secondary

kSecFast 

secondary fast

kAllE 

all e-/e+

kPrimE 

primary e-/e+

kPrimEP 

primary e+

kPrimEM 

primary e-

kSecE 

secondary e-/e+

kSecEP 

secondary e+

kSecEM 

secondary e-

kAllMU 

all mu+/mu-

kPrimMU 

primary mu+/mu-

kPrimMUP 

primary mu+

kPrimMUM 

primary mu-

kSecMU 

secondary mu+/mu-

kSecMUP 

secondary mu+

kSecMUM 

secondary mu-

kAllPI 

all pi+/pi-

kPrimPI 

primary pi+/pi-

kPrimPIP 

primary pi+

kPrimPIM 

primary pi-

kSecPI 

secondary pi+/pi-

kSecPIP 

secondary pi+

kSecPIM 

secondary pi-

kAllK 

all K+/K-

kPrimK 

primary K+/K-

kPrimKP 

primary K+

kPrimKM 

primary K-

kSecK 

secondary K+/K-

kSecKP 

secondary K+

kSecKM 

secondary K-

kAllPPBAR 

all p/p-bar

kPrimPPBAR 

primary p/p-bar

kPrimP 

primary p

kPrimPBAR 

primary p-bar

kSecPPBAR 

secondary p/p-bar

kSecP 

secondary p

kSecPBAR 

secondary p-bar

END 

Definition at line 31 of file CbmCaOutputQa.h.

Function Documentation

◆ operator++() [1/2]

ETrackParType cbm::ca::operator++ ( ETrackParType & type)

Prefix increment operator for ETrackParType.

◆ operator++() [2/2]

ETrackParType cbm::ca::operator++ ( ETrackParType & type,
int  )

Postfix increment operator for ETrackParType.

Variable Documentation

◆ kCbmHitType

◆ kCbmModuleId

DetIdArr_t<ECbmModuleId> cbm::ca::kCbmModuleId
constexpr
Initial value:
= {
@ kMvd
Micro-Vertex Detector.
@ kTrd
Transition Radiation Detector.
@ kTof
Time-of-flight Detector.
@ kSts
Silicon Tracking System.
@ kMuch
Muon detection system.

Conversion map from ca::EDetectorID to ECbmModuleId.

Definition at line 84 of file CbmL1DetectorID.h.

◆ kDetHitBrName

DetIdArr_t<const char*> cbm::ca::kDetHitBrName = {{"MvdHit", "StsHit", "MuchPixelHit", "TrdHit", "TofHit"}}
constexpr

Name of hit branches for each detector.

Definition at line 66 of file CbmL1DetectorID.h.

Referenced by CbmCaInputQaBase< DetID >::InitQa().

◆ kDetName

DetIdArr_t<const char*> cbm::ca::kDetName = {{"MVD", "STS", "MUCH", "TRD", "TOF"}}
constexpr

◆ kDetPointBrName

DetIdArr_t<const char*> cbm::ca::kDetPointBrName = {{"MvdPoint", "StsPoint", "MuchPoint", "TrdPoint", "TofPoint"}}
constexpr

Name of point branches for each detector.

Definition at line 69 of file CbmL1DetectorID.h.

Referenced by CbmCaInputQaBase< DetID >::InitQa().