CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemSymbId.cc
Go to the documentation of this file.
1 /****************************************************************************
2 *
3 * This is a part of TOTEM offline software.
4 * Authors:
5 * Jan Kašpar (jan.kaspar@cern.ch)
6 *
7 ****************************************************************************/
8 
10 
11 std::ostream& operator << (std::ostream& s, const TotemSymbID &sid)
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 }
29 
enum TotemSymbID::@179 subSystem
identifies the TOTEM subsystem
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
Symbolic ID describing an entity of a TOTEM subdetector.
Definition: TotemSymbId.h:17
unsigned int symbolicID
integer-encoded symbolic ID
Definition: TotemSymbId.h:24