12#define BOOST_TEST_MODULE Test DetID
13#define BOOST_TEST_MAIN
14#define BOOST_TEST_DYN_LINK
15#include <boost/test/unit_test.hpp>
26 std::cout <<
"#" <<
id <<
" Detector " << det.
getName() <<
" ID=" << det <<
" mask: " << det.
getMask() << std::endl;
Static class with identifiers, bitmasks and names for ALICE detectors.
static constexpr const char * getName(ID id)
names of defined detectors
static constexpr ID First
static constexpr ID Last
if extra detectors added, update this !!!
static mask_t getMask(const std::string_view detList)
detector masks from any non-alpha-num delimiter-separated list (empty if NONE is supplied)
BOOST_AUTO_TEST_CASE(DetID_test)