CMS 3D CMS Logo

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

Functions

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

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

52 {
53  return TOBDetId(id).rod()[0];
54 }
std::vector< unsigned int > rod() const
rod id
Definition: TOBDetId.h:49
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().

47 {
48  return TOBDetId(id).layer();
49 }
unsigned int layer() const
layer id
Definition: TOBDetId.h:39
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().

37 {
38  return TOBDetId(id).module();
39 }
unsigned int module() const
detector id
Definition: TOBDetId.h:58
unsigned int align::tob::rodNumber ( align::ID  id)
inline

Rod number increases with phi.

Definition at line 41 of file TOBNameSpace.h.

References TOBDetId::rod().

Referenced by SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), and TrackerCounters::TrackerCounters().

42 {
43  return TOBDetId(id).rod()[1];
44 }
std::vector< unsigned int > rod() const
rod id
Definition: TOBDetId.h:49