CMS 3D CMS Logo

Functions

align::tob Namespace Reference

Functions

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

Function Documentation

unsigned int align::tob::halfBarrelNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

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

Definition at line 52 of file TOBNameSpace.h.

References TrackerTopology::tobRodInfo().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tobRodInfo(id)[0];
}
unsigned int align::tob::layerNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

Layer number increases with rho from 1 to 6.

Definition at line 47 of file TOBNameSpace.h.

References TrackerTopology::tobLayer().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tobLayer(id);
}
unsigned int align::tob::moduleNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

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

Definition at line 37 of file TOBNameSpace.h.

References TrackerTopology::tobModule().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tobModule(id);
}
unsigned int align::tob::rodNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

Rod number increases with phi.

Definition at line 42 of file TOBNameSpace.h.

References TrackerTopology::tobRodInfo().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tobRodInfo(id)[1];
}