CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
TotemVFATInfo Class Reference

Contains mappind data related to a VFAT. More...

#include <TotemDAQMapping.h>

Public Member Functions

void print (std::ostream &os, std::string subSystemName) const
 

Public Attributes

unsigned int hwID
 the hardware ID (16 bit) More...
 
TotemSymbID symbolicID
 the symbolic id More...
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 
std::ostream & operator<< (std::ostream &s, const TotemVFATInfo &fp)
 

Detailed Description

Contains mappind data related to a VFAT.

Definition at line 25 of file TotemDAQMapping.h.

Member Function Documentation

◆ print()

void TotemVFATInfo::print ( std::ostream &  os,
std::string  subSystemName 
) const

Definition at line 16 of file TotemDAQMapping.cc.

References TauDecayModes::dec, and hlx_dqm_sourceclient_cfi::subSystemName.

16  {
18  if (subSystemName != "TotemTiming") {
19  os << ", hw id=0x" << hex << hwID << dec;
20  }
21  os << endl;
22 }
TotemSymbID symbolicID
the symbolic id
unsigned int hwID
the hardware ID (16 bit)
void print(std::ostream &os, std::string subSystemName) const
Definition: TotemSymbId.cc:17

◆ serialize()

template<class Archive >
void TotemVFATInfo::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 37 of file TotemDAQMapping.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 37 of file TotemDAQMapping.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const TotemVFATInfo fp 
)
friend

Definition at line 26 of file TotemDAQMapping.cc.

26  {
27  s << vi.symbolicID << ", hw id=0x" << hex << vi.hwID << dec;
28 
29  return s;
30 }

Member Data Documentation

◆ hwID

unsigned int TotemVFATInfo::hwID

◆ symbolicID

TotemSymbID TotemVFATInfo::symbolicID