CMS 3D CMS Logo

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, TotemVFATInfoVFATMapping
 

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 MessageLogger_cfi::cerr.

Referenced by BeautifulSoup.PageElement::append().

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