CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 23 of file TotemSymbId.h.

References symbolicID.

24  {
25  return (symbolicID < sid.symbolicID);
26  }
unsigned int symbolicID
chip ID, raw integer representation of DetId class
Definition: TotemSymbId.h:21
bool TotemSymbID::operator== ( const TotemSymbID sid) const
inline

Definition at line 28 of file TotemSymbId.h.

References symbolicID.

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

Friends And Related Function Documentation

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

Definition at line 13 of file TotemSymbId.cc.

14 {
15  s << "DetId=" << sid.symbolicID << " (" << CTPPSDetId(sid.symbolicID) << ")";
16 
17  return s;
18 }
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

Member Data Documentation

unsigned int TotemSymbID::symbolicID