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
 Array of types, indexed by L1DetectorID enum. 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  McPoint
 Class describes a unified MC-point, used in CA tracking QA analysis. More...
 
class  OutputQa
 QA-task for CA tracking output results. More...
 
class  ParametersBuilder
 Builds parameters for CBM CA tracking. More...
 
class  ParametersHandler
 Handles an shared pointer of CA parameters in double precision with original magnetic field. 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 , kAll2STS1TOF ,
  kPrim2STS1TOF , kSec2STS1TOF , 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< ca::EDetectorIDkDetIds
 List of detector.
 
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.
 
constexpr DetIdArr_t< uint32_t > kCbmDatastreamBitmask
 Bit-masks to define a data-stream (within this HW level the hits must be sorted in time) FIXME: Put it into a reco-setup, when ready.
 

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 101 of file CbmL1DetectorID.h.

◆ PointTypes_t

Name.

Types of MC point objects for each detector

Definition at line 98 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 66 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 44 of file CbmCaTrackFitQa.h.

◆ ETrackType

Enumeration fors track category.

Enumerator
kPrimLongFast 

primary long tracks (all stations in set)

kPrimLong 

long primary

kAll 

all tracks

kAll2STS1TOF 

tracks, which have at least two STS hits and one TOF hit

kPrim2STS1TOF 

primary tracks, which have at least two STS hits and one TOF hit

kSec2STS1TOF 

secondary tracks, which have at least two STS hits and one TOF hit

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 33 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

◆ kCbmDatastreamBitmask

DetIdArr_t<uint32_t> cbm::ca::kCbmDatastreamBitmask
constexpr
Initial value:
= {
0x00001fff,
0xffffffff,
0x007fffff,
0x0001ffff,
0x001fffff
}

Bit-masks to define a data-stream (within this HW level the hits must be sorted in time) FIXME: Put it into a reco-setup, when ready.

Definition at line 105 of file CbmL1DetectorID.h.

Referenced by cbm::ca::TimeSliceReader::ReadHitsForDetector().

◆ kCbmHitType

◆ kCbmModuleId

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

Conversion map from ca::EDetectorID to ECbmModuleId.

Definition at line 92 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 74 of file CbmL1DetectorID.h.

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

◆ kDetIds

◆ 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 77 of file CbmL1DetectorID.h.

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