test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
TotemDAQMapping Class Reference

The mapping between FramePosition and VFATInfo. More...

#include <TotemDAQMapping.h>

Public Member Functions

void insert (const TotemFramePosition &fp, const TotemVFATInfo &vi)
 

Public Attributes

std::map< TotemFramePosition,
TotemVFATInfo
VFATMapping
 

Detailed Description

The mapping between FramePosition and VFATInfo.

Definition at line 44 of file TotemDAQMapping.h.

Member Function Documentation

void TotemDAQMapping::insert ( const TotemFramePosition fp,
const TotemVFATInfo vi 
)

Definition at line 31 of file TotemDAQMapping.cc.

References ecal_dqm_sourceclient-live_cfg::cerr, and personalPlayback::fp.

Referenced by BeautifulSoup.PageElement::_invert().

32 {
33  auto it = VFATMapping.find(fp);
34  if (it != VFATMapping.end())
35  {
36  cerr << "WARNING in DAQMapping::Insert > Overwriting entry at " << fp << ". Previous: " << endl
37  << " " << VFATMapping[fp] << "," << endl << " new: " << endl << " " << vi << ". " << endl;
38  }
39 
40  VFATMapping[fp] = vi;
41 }
std::map< TotemFramePosition, TotemVFATInfo > VFATMapping

Member Data Documentation

std::map<TotemFramePosition, TotemVFATInfo> TotemDAQMapping::VFATMapping

Definition at line 47 of file TotemDAQMapping.h.

Referenced by RawToDigiConverter::RunCommon().