36 namespace ca = cbm::algo::ca;
61 template<
class... Types>
63 template<ca::EDetectorID DetID>
64 using at = std::tuple_element_t<static_cast<std::size_t>(DetID), std::tuple<Types...>>;
65 static constexpr std::size_t
size =
sizeof...(Types);
@ kMvd
Micro-Vertex Detector.
@ kTrd
Transition Radiation Detector.
@ kTof
Time-of-flight Detector.
@ kSts
Silicon Tracking System.
@ kMuch
Muon detection system.
ECbmCaTrackingMode
Enumeration for different tracking running modes.
@ kMCBM
Global tracking in mCBM (STS, MuCh, TRD, TOF), results stored to GlobalTrack branch.
@ kSTS
Local tracking in CBM (STS + MVD), results stored to the StsTrack branch.
data class for a reconstructed 3-d hit in the STS
Geometric intersection of a MC track with a TOFb detector.
data class for a reconstructed Energy-4D measurement in the TRD
TODO: SZh 8.11.2022: add selection of parameterisation.
constexpr DetIdArr_t< ECbmDataType > kCbmHitType
Data type of hits (for CbmEvent)
constexpr DetIdArr_t< ECbmModuleId > kCbmModuleId
Conversion map from ca::EDetectorID to ECbmModuleId.
constexpr DetIdArr_t< const char * > kDetPointBrName
Name of point branches for each detector.
DetIdTypeArr_t< CbmMvdPoint, CbmStsPoint, CbmMuchPoint, CbmTrdPoint, CbmTofPoint > PointTypes_t
Name.
constexpr DetIdArr_t< const char * > kDetName
Names of detector subsystems.
constexpr DetIdArr_t< const char * > kDetHitBrName
Name of hit branches for each detector.
cbm::core::EnumArray< ca::EDetectorID, T > DetIdArr_t
Alias to array, indexed by L1DetectorID enum.
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 i...
DetIdTypeArr_t< CbmMvdHit, CbmStsHit, CbmMuchPixelHit, CbmTrdHit, CbmTofHit > HitTypes_t
Types of hit objects for each detector.
constexpr DetIdArr_t< ca::EDetectorID > kDetIds
List of detector.
Array of types, indexed by L1DetectorID enum.
static constexpr std::size_t size
std::tuple_element_t< static_cast< std::size_t >(DetID), std::tuple< Types... > > at