26 auto it = VFATMapping.find(
fp);
27 if (it != VFATMapping.end()) {
28 cerr <<
"WARNING in DAQMapping::insert > Overwriting entry at " <<
fp <<
". Previous: " << endl
29 <<
" " << VFATMapping[
fp] <<
"," << endl
31 <<
" " << vi <<
". " << endl;
41 auto iterator = totemTimingChannelMap.find(hwId);
42 if (iterator != totemTimingChannelMap.end())
43 pair = iterator->second;
TotemSymbID symbolicID
the symbolic id
void insert(const TotemFramePosition &fp, const TotemVFATInfo &vi)
The mapping between FramePosition and VFATInfo.
std::ostream & operator<<(std::ostream &out, const std::tuple< Types... > &value)
Hw Id mapping for Totem Timing (dynamical mapping in Sampic)
unsigned int hwID
the hardware ID (16 bit)
#define TYPELOOKUP_DATA_REG(_dataclass_)
Contains mappind data related to a VFAT.
const TotemTimingPlaneChannelPair getTimingChannel(const uint8_t hwId) const
Given the hardware ID, returns the corresponding Plane, Channel pair (TotemTimingPlaneChannelPair) ...