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 41 of file TotemDAQMapping.h.

Member Function Documentation

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

Definition at line 26 of file TotemDAQMapping.cc.

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

Referenced by BeautifulSoup.PageElement::_invert().

27 {
28  auto it = VFATMapping.find(fp);
29  if (it != VFATMapping.end())
30  {
31  cerr << "WARNING in DAQMapping::insert > Overwriting entry at " << fp << ". Previous: " << endl
32  << " " << VFATMapping[fp] << "," << endl << " new: " << endl << " " << vi << ". " << endl;
33  }
34 
35  VFATMapping[fp] = vi;
36 }
std::map< TotemFramePosition, TotemVFATInfo > VFATMapping

Member Data Documentation

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

Definition at line 44 of file TotemDAQMapping.h.

Referenced by RawToDigiConverter::RunCommon().