CbmRoot
Loading...
Searching...
No Matches
CbmL1DetectorID.h File Reference

Implementation of L1DetectorID enum class for CBM. More...

#include "CbmDefs.h"
#include "CbmEnumArray.h"
#include <string>
Include dependency graph for CbmL1DetectorID.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cbm::ca::DetIdTypeArr_t< Types >
 List of. More...
 

Namespaces

namespace  cbm
 
namespace  cbm::ca
 

Typedefs

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

Enumerations

enum class  ECbmCaTrackingMode { kSTS , kMCBM }
 Enumeration for different tracking running modes. More...
 

Variables

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

Detailed Description

Implementation of L1DetectorID enum class for CBM.

TODO: Rename to CbmCaDefs.h !

Author
S.Zharko
Since
01.12.2022

Definition in file CbmL1DetectorID.h.

Enumeration Type Documentation

◆ ECbmCaTrackingMode

enum class ECbmCaTrackingMode
strong

Enumeration for different tracking running modes.

Enumerator
kSTS 

Local tracking in CBM (STS + MVD), results stored to the StsTrack branch.

kMCBM 

Global tracking in mCBM (STS, MuCh, TRD, TOF), results stored to GlobalTrack branch.

Definition at line 98 of file CbmL1DetectorID.h.