CbmRoot
|
List of. More...
#include <CbmL1DetectorID.h>
Public Types | |
template<ca::EDetectorID DetID> | |
using | at = std::tuple_element_t<static_cast<std::size_t>(DetID), std::tuple<Types...>> |
Static Public Attributes | |
static constexpr std::size_t | size = sizeof...(Types) |
List of.
Array of types, indexed by L1DetectorID enum
The array of types allows to treat different types of detector in a uniform manner Example: using HitTypes_t = DetIdTypeArr_t<CbmMvdHit, CbmStsHit, CbmMuchPixelHit, CbmTrdHit, CbmTofHit>; ... HitTypes_t::at<L1DetectorID::kSts> hit; // Sts hit
Definition at line 54 of file CbmL1DetectorID.h.
using cbm::ca::DetIdTypeArr_t< Types >::at = std::tuple_element_t<static_cast<std::size_t>(DetID), std::tuple<Types...>> |
Definition at line 56 of file CbmL1DetectorID.h.
|
staticconstexpr |
Definition at line 57 of file CbmL1DetectorID.h.