CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
align::tid Namespace Reference

Functions

unsigned int diskNumber (align::ID)
 Disk number increases with |z| from 1 to 3. More...
 
unsigned int endcapNumber (align::ID)
 Endcap number is 1 at -z side and 2 at +z side. More...
 
unsigned int moduleNumber (align::ID)
 Module number increases with phi. More...
 
unsigned int ringNumber (align::ID)
 Ring number increases with rho from 1 to 3. More...
 
unsigned int sideNumber (align::ID)
 Side number is 1 for back ring and 2 for front (towards IP). More...
 

Function Documentation

unsigned int align::tid::diskNumber ( align::ID  id)
inline

Disk number increases with |z| from 1 to 3.

Definition at line 54 of file TIDNameSpace.h.

References TIDDetId::wheel().

Referenced by TrackerCounters::TrackerCounters().

55 {
56  return TIDDetId(id).wheel();
57 }
unsigned int wheel() const
wheel id
Definition: TIDDetId.h:50
unsigned int align::tid::endcapNumber ( align::ID  id)
inline

Endcap number is 1 at -z side and 2 at +z side.

Definition at line 59 of file TIDNameSpace.h.

References TIDDetId::side().

Referenced by TrackerCounters::TrackerCounters().

60 {
61  return TIDDetId(id).side();
62 }
unsigned int side() const
positive or negative id
Definition: TIDDetId.h:45
unsigned int align::tid::moduleNumber ( align::ID  id)
inline

Module number increases with phi.

Definition at line 39 of file TIDNameSpace.h.

References TIDDetId::module().

Referenced by TrackerCounters::TrackerCounters().

40 {
41  return TIDDetId(id).module()[1];
42 }
std::vector< unsigned int > module() const
det id
Definition: TIDDetId.h:64
unsigned int align::tid::ringNumber ( align::ID  id)
inline

Ring number increases with rho from 1 to 3.

Definition at line 49 of file TIDNameSpace.h.

References TIDDetId::ring().

Referenced by TrackerCounters::TrackerCounters().

50 {
51  return TIDDetId(id).ring();
52 }
unsigned int ring() const
ring id
Definition: TIDDetId.h:55
unsigned int align::tid::sideNumber ( align::ID  id)
inline

Side number is 1 for back ring and 2 for front (towards IP).

Definition at line 44 of file TIDNameSpace.h.

References TIDDetId::module().

Referenced by TrackerCounters::TrackerCounters().

45 {
46  return TIDDetId(id).module()[0];
47 }
std::vector< unsigned int > module() const
det id
Definition: TIDDetId.h:64