test
CMS 3D CMS Logo

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

Functions

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

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

56 {
57  return tTopo->tidWheel(id);
58 }
unsigned int tidWheel(const DetId &id) const
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().

61 {
62  return tTopo->tidSide(id);
63 }
unsigned int tidSide(const DetId &id) const
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().

41 {
42  return tTopo->tidModuleInfo(id)[1];
43 }
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
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().

51 {
52  return tTopo->tidRing(id);
53 }
unsigned int tidRing(const DetId &id) const
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().

46 {
47  return tTopo->tidModuleInfo(id)[0];
48 }
std::vector< unsigned int > tidModuleInfo(const DetId &id) const