CMS 3D CMS Logo

Functions

align::tob Namespace Reference

Functions

unsigned int halfBarrelNumber (align::ID)
 HalfBarrel number is 1 at -z side and 2 at +z side.
unsigned int layerNumber (align::ID)
 Layer number increases with rho from 1 to 6.
unsigned int moduleNumber (align::ID)
 Module number increases with |z| from 1 to 6.
unsigned int rodNumber (align::ID)
 Rod number increases with phi.

Function Documentation

unsigned int align::tob::halfBarrelNumber ( align::ID  id) [inline]

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

Definition at line 51 of file TOBNameSpace.h.

References TOBDetId::rod().

Referenced by TrackerCounters::TrackerCounters().

{
  return TOBDetId(id).rod()[0];
}
unsigned int align::tob::layerNumber ( align::ID  id) [inline]

Layer number increases with rho from 1 to 6.

Definition at line 46 of file TOBNameSpace.h.

References TOBDetId::layer().

Referenced by TrackerCounters::TrackerCounters().

{
  return TOBDetId(id).layer();
}
unsigned int align::tob::moduleNumber ( align::ID  id) [inline]

Module number increases with |z| from 1 to 6.

Definition at line 36 of file TOBNameSpace.h.

References TOBDetId::module().

Referenced by TrackerCounters::TrackerCounters().

{
  return TOBDetId(id).module();
}
unsigned int align::tob::rodNumber ( align::ID  id) [inline]