CMS 3D CMS Logo

Functions

align::tid Namespace Reference

Functions

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

Function Documentation

unsigned int align::tid::diskNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

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

Definition at line 55 of file TIDNameSpace.h.

References TrackerTopology::tidWheel().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tidWheel(id);
}
unsigned int align::tid::endcapNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

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

Definition at line 60 of file TIDNameSpace.h.

References TrackerTopology::tidSide().

Referenced by TrackerCounters::TrackerCounters().

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

Module number increases with phi.

Definition at line 40 of file TIDNameSpace.h.

References TrackerTopology::tidModuleInfo().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tidModuleInfo(id)[1];
}
unsigned int align::tid::ringNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

Ring number increases with rho from 1 to 3.

Definition at line 50 of file TIDNameSpace.h.

References TrackerTopology::tidRing().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tidRing(id);
}
unsigned int align::tid::sideNumber ( align::ID  id,
const TrackerTopology tTopo 
) [inline]

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

Definition at line 45 of file TIDNameSpace.h.

References TrackerTopology::tidModuleInfo().

Referenced by TrackerCounters::TrackerCounters().

{
  return tTopo->tidModuleInfo(id)[0];
}