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 17 of file TotemSymbId.h.

Member Function Documentation

◆ operator<()

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

Definition at line 22 of file TotemSymbId.h.

References symbolicID.

22 { return (symbolicID < sid.symbolicID); }
unsigned int symbolicID
chip ID, raw integer representation of DetId class
Definition: TotemSymbId.h:20

◆ operator==()

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

Definition at line 24 of file TotemSymbId.h.

References symbolicID.

24 { return (symbolicID == sid.symbolicID); }
unsigned int symbolicID
chip ID, raw integer representation of DetId class
Definition: TotemSymbId.h:20

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 13 of file TotemSymbId.cc.

13  {
14  s << "DetId=" << sid.symbolicID << " (" << CTPPSDetId(sid.symbolicID) << ")";
15 
16  return s;
17 }
unsigned int symbolicID
chip ID, raw integer representation of DetId class
Definition: TotemSymbId.h:20
Base class for CTPPS detector IDs.
Definition: CTPPSDetId.h:32

Member Data Documentation

◆ symbolicID

unsigned int TotemSymbID::symbolicID