27 auto it = VFATMapping.find(
fp);
28 if (it != VFATMapping.end()) {
29 edm::LogWarning(
"Totem") <<
"WARNING in DAQMapping::insert > Overwriting entry at " <<
fp <<
". Previous: " 30 <<
" " << VFATMapping[
fp] <<
"," 32 <<
" " << vi <<
". " << endl;
41 auto it = VFATMapping.find(fp1);
42 if (it != VFATMapping.end()) {
43 edm::LogWarning(
"Totem") <<
"WARNING in DAQMapping::insert > Overwriting T2 entry at " << fp2 <<
". Previous: " 44 <<
" " << VFATMapping[fp1] <<
"," 46 <<
" " << vi <<
". " << endl;
49 VFATMapping[fp1] = vi;
56 auto iterator = totemTimingChannelMap.find(hwId);
57 if (iterator != totemTimingChannelMap.end())
58 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 getRawPosition() const
the getters and setters below are deprecated
unsigned int hwID
the hardware ID (16 bit)
#define TYPELOOKUP_DATA_REG(_dataclass_)
Log< level::Warning, false > LogWarning
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) ...