CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
TotemSymbId.cc File Reference
#include "CondFormats/TotemReadoutObjects/interface/TotemSymbId.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const TotemSymbID &sid)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const TotemSymbID sid 
)

Definition at line 11 of file TotemSymbId.cc.

References TotemSymbID::RP, alignCSCRings::s, TotemSymbID::subSystem, TotemSymbID::symbolicID, TotemSymbID::T1, and TotemSymbID::T2.

12 {
13  switch (sid.subSystem) {
14  case TotemSymbID::RP:
15  s << "sub-system=RP, ";
16  break;
17  case TotemSymbID::T1:
18  s << "sub-system=T1, ";
19  break;
20  case TotemSymbID::T2:
21  s << "sub-system=T2, ";
22  break;
23  }
24 
25  s << "symb. id=" << sid.symbolicID;
26 
27  return s;
28 }
enum TotemSymbID::@179 subSystem
identifies the TOTEM subsystem
unsigned int symbolicID
integer-encoded symbolic ID
Definition: TotemSymbId.h:24