CMS 3D CMS Logo

Functions

align::tid Namespace Reference

Functions

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

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().

{
  return TIDDetId(id).wheel();
}
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().

{
  return TIDDetId(id).side();
}
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().

{
  return TIDDetId(id).module()[1];
}
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().

{
  return TIDDetId(id).ring();
}
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().

{
  return TIDDetId(id).module()[0];
}