14#include "MicrosliceDescriptor.hpp"
43 template<fles::Subsystem subsys>
46 if constexpr (subsys == fles::Subsystem::STS) {
49 else if constexpr (subsys == fles::Subsystem::MVD) {
52 else if constexpr (subsys == fles::Subsystem::MUCH) {
55 else if constexpr (subsys == fles::Subsystem::TRD) {
58 if constexpr (subsys == fles::Subsystem::TOF) {
66 template<EDetectorID detID>
70 return fles::Subsystem::MVD;
73 return fles::Subsystem::STS;
76 return fles::Subsystem::MUCH;
79 return fles::Subsystem::TRD;
82 return fles::Subsystem::TOF;
85 return fles::Subsystem::FLES;
96 template<
class... Types>
98 template<EDetectorID DetID>
99 using at = std::tuple_element_t<static_cast<std::size_t>(DetID), std::tuple<Types...>>;
100 static constexpr std::size_t
size =
sizeof...(Types);
Implementation of cbm::algo::ca::EnumArray class.
Class of arrays, which can be accessed by an enum class entry as an index.
A light-weight TRD hit class for online reconstruction, based on CbmTrdHit. .
TODO: SZh 8.11.2022: add selection of parameterisation.
::cbm::algo::mvd::Hit MvdHit
Hit vector types.
constexpr DetIdArray_t< const char * > kDetName
Detector subsystem names.
EDetectorID
Enumeration for the tracking detector subsystems in CBM-CA.
constexpr fles::Subsystem ToFlesSubsystem()
constexpr EDetectorID FromFlesSubsystem()
::cbm::algo::much::Hit MuchHit
Array of types, indexed by EDetectorID.
static constexpr std::size_t size
std::tuple_element_t< static_cast< std::size_t >(DetID), std::tuple< Types... > > at