21#include <xpu/defines.h>
33XPU_D
constexpr auto ToIntegralType(T enumerator) ->
typename std::underlying_type<T>::type
35 return static_cast<typename std::underlying_type<T>::type
>(enumerator);
ECbmModuleId & operator++(ECbmModuleId &)
operator ++ for ECbmModuleId for convenient usage in loops
ECbmRecoMode
Reconstruct the full time slice or event-by-event.
XPU_D constexpr auto ToIntegralType(T enumerator) -> typename std::underlying_type< T >::type
Converts an element of enum class to its underlying integral type.
std::ostream & operator<<(std::ostream &, const ECbmDataType &)
operator << for convenient output to std::ostream.
ECbmDataType
Enumerator for CBM data types.
ECbmModuleId
Enumerator for module Identifiers.
@ kMvd
Micro-Vertex Detector.
@ kHodo
Hodoscope (for test beam times)
@ kTrd
Transition Radiation Detector.
@ kShield
Beam pipe shielding in MUCH section.
@ kTof
Time-of-flight Detector.
@ kPsd
Projectile spectator detector.
@ kSts
Silicon Tracking System.
@ kMust
MuSt detection system.
@ kTrd2d
TRD-FASP Detector (FIXME)
@ kDummyDet
Dummy for tutorials or tests.
@ kLastModule
For loops over all modules.
@ kPlatform
RICH rail platform.
@ kMuch
Muon detection system.
@ kFsd
Forward spectator detector.
@ kNofSystems
For loops over active systems.
@ kRich
Ring-Imaging Cherenkov Detector.
TODO: SZh 8.11.2022: add selection of parameterisation.
EDetectorID
Enumeration for the tracking detector subsystems in CBM-CA.
constexpr ECbmModuleId ToCbmModuleId(EDetectorID detID)
Conversion map from EDetectorID to ECbmModuleId.
constexpr EDetectorID ToCaDetectorID(ECbmModuleId modId)
Conversion map from EDetectorID to ECbmModuleId.