CMS 3D CMS Logo

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

Symbolic ID describing an entity of a TOTEM subdetector. More...

#include <TotemSymbId.h>

Public Member Functions

bool operator< (const TotemSymbID &sid) const
 
bool operator== (const TotemSymbID &sid) const
 

Public Attributes

unsigned int symbolicID
 chip ID, raw integer representation of DetId class More...
 

Friends

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

Detailed Description

Symbolic ID describing an entity of a TOTEM subdetector.

Definition at line 16 of file TotemSymbId.h.

Member Function Documentation

◆ operator<()

bool TotemSymbID::operator< ( const TotemSymbID sid) const
inline

Definition at line 26 of file TotemSymbId.h.

◆ operator==()

bool TotemSymbID::operator== ( const TotemSymbID sid) const
inline

Definition at line 28 of file TotemSymbId.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 12 of file TotemSymbId.cc.

13  {
14  s << "DetId=" << sid.symbolicID << " (" << CTPPSDetId(sid.symbolicID) << ")";
15 
16  return s;

Member Data Documentation

◆ symbolicID

unsigned int TotemSymbID::symbolicID
alignCSCRings.s
s
Definition: alignCSCRings.py:92
TotemSymbID::symbolicID
unsigned int symbolicID
chip ID, raw integer representation of DetId class
Definition: TotemSymbId.h:24
CTPPSDetId
Base class for CTPPS detector IDs.
Definition: CTPPSDetId.h:31