CMS 3D CMS Logo

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 
12 
13 std::ostream& operator << (std::ostream& s, const TotemSymbID &sid)
14 {
15  s << "DetId=" << sid.symbolicID << " (" << CTPPSDetId(sid.symbolicID) << ")";
16 
17  return s;
18 }
19 
std::ostream & operator<<(std::ostream &s, const TotemSymbID &sid)
Definition: TotemSymbId.cc:13
Symbolic ID describing an entity of a TOTEM subdetector.
Definition: TotemSymbId.h:17
unsigned int symbolicID
chip ID, raw integer representation of DetId class
Definition: TotemSymbId.h:21
Base class for CTPPS detector IDs.
Definition: CTPPSDetId.h:32