test
CMS 3D CMS Logo

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

Functions

unsigned int diskNumber (align::ID, const TrackerTopology *)
 Disk number increases with |z| from 1 to 9. 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 (decreases) with phi for +z (-z) endcap. More...
 
unsigned int petalNumber (align::ID, const TrackerTopology *)
 Petal number increases with phi from 1 to 8. More...
 
unsigned int ringNumber (align::ID, const TrackerTopology *)
 Ring number increases with rho. More...
 
unsigned int sideNumber (align::ID, const TrackerTopology *)
 Side number is 1 for back disk and 2 for front (towards IP). More...
 

Function Documentation

unsigned int align::tec::diskNumber ( align::ID  id,
const TrackerTopology tTopo 
)
inline

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

Definition at line 63 of file TECNameSpace.h.

References TrackerTopology::tecWheel().

Referenced by TrackerCounters::TrackerCounters().

64 {
65  return tTopo->tecWheel(id);
66 }
unsigned int tecWheel(const DetId &id) const
unsigned int align::tec::endcapNumber ( align::ID  id,
const TrackerTopology tTopo 
)
inline

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

Definition at line 68 of file TECNameSpace.h.

References TrackerTopology::tecSide().

Referenced by TrackerCounters::TrackerCounters().

69 {
70  return tTopo->tecSide(id);
71 }
unsigned int tecSide(const DetId &id) const
unsigned int align::tec::moduleNumber ( align::ID  id,
const TrackerTopology tTopo 
)
inline

Module number increases (decreases) with phi for +z (-z) endcap.

Definition at line 43 of file TECNameSpace.h.

References TrackerTopology::tecModule().

Referenced by SiPixelDQMRocLevelAnalyzer::RocSummary(), and TrackerCounters::TrackerCounters().

44 {
45  return tTopo->tecModule(id);
46 }
unsigned int tecModule(const DetId &id) const
unsigned int align::tec::petalNumber ( align::ID  id,
const TrackerTopology tTopo 
)
inline

Petal number increases with phi from 1 to 8.

Definition at line 53 of file TECNameSpace.h.

References TrackerTopology::tecPetalInfo().

Referenced by TrackerCounters::TrackerCounters().

54 {
55  return tTopo->tecPetalInfo(id)[1];
56 }
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
unsigned int align::tec::ringNumber ( align::ID  id,
const TrackerTopology tTopo 
)
inline

Ring number increases with rho.

Definition at line 48 of file TECNameSpace.h.

References TrackerTopology::tecRing().

Referenced by TrackerCounters::TrackerCounters().

49 {
50  return tTopo->tecRing(id);
51 }
unsigned int tecRing(const DetId &id) const
ring id
unsigned int align::tec::sideNumber ( align::ID  id,
const TrackerTopology tTopo 
)
inline

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

Definition at line 58 of file TECNameSpace.h.

References TrackerTopology::tecPetalInfo().

Referenced by TrackerCounters::TrackerCounters().

59 {
60  return tTopo->tecPetalInfo(id)[0];
61 }
std::vector< unsigned int > tecPetalInfo(const DetId &id) const