1#include "DetDescr/TrigScintID.h"
3#include "DetDescr/DetectorIDInterpreter.h"
6 s <<
"TrigScint(" <<
id.module() <<
',' <<
id.bar() <<
')';
11void TrigScintID::createInterpreters() {
13 fields.push_back(
new IDField(
"subdetector", 0, SUBDETECTORID_SHIFT, 31));
15 new IDField(
"module", 1, MODULE_SHIFT,
17 fields.push_back(
new IDField(
"bar", 2, BAR_SHIFT,
static void registerInterpreter(SubdetectorIDType idtype, const IDField::IDFieldList &fieldList)
Register a new field interpreter for a given subdetector id.
static unsigned countOnes(unsigned mask)
Utility for counting number of 1 in a mask.
std::vector< IDField * > IDFieldList
List of fields.
Class that defines the detector ID of the trigger scintillator.