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

Function Documentation

unsigned int align::tec::diskNumber ( align::ID  id)
inline

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

Definition at line 62 of file TECNameSpace.h.

References TECDetId::wheel().

Referenced by TrackerCounters::TrackerCounters().

63 {
64  return TECDetId(id).wheel();
65 }
unsigned int wheel() const
wheel id
Definition: TECDetId.h:52
unsigned int align::tec::endcapNumber ( align::ID  id)
inline

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

Definition at line 67 of file TECNameSpace.h.

References TECDetId::side().

Referenced by TrackerCounters::TrackerCounters().

68 {
69  return TECDetId(id).side();
70 }
unsigned int side() const
positive or negative id
Definition: TECDetId.h:47
unsigned int align::tec::moduleNumber ( align::ID  id)
inline

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

Definition at line 42 of file TECNameSpace.h.

References TECDetId::module().

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

43 {
44  return TECDetId(id).module();
45 }
unsigned int module() const
det id
Definition: TECDetId.h:75
unsigned int align::tec::petalNumber ( align::ID  id)
inline

Petal number increases with phi from 1 to 8.

Definition at line 52 of file TECNameSpace.h.

References TECDetId::petal().

Referenced by SiStripMonitorMuonHLT::GeometryFromTrackGeom(), and TrackerCounters::TrackerCounters().

53 {
54  return TECDetId(id).petal()[1];
55 }
std::vector< unsigned int > petal() const
petal id
Definition: TECDetId.h:61
unsigned int align::tec::ringNumber ( align::ID  id)
inline

Ring number increases with rho.

Definition at line 47 of file TECNameSpace.h.

References TECDetId::ring().

Referenced by HLTTrackerHaloFilter::filter(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), and TrackerCounters::TrackerCounters().

48 {
49  return TECDetId(id).ring();
50 }
unsigned int ring() const
ring id
Definition: TECDetId.h:71
unsigned int align::tec::sideNumber ( align::ID  id)
inline

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

Definition at line 57 of file TECNameSpace.h.

References TECDetId::petal().

Referenced by TrackerCounters::TrackerCounters().

58 {
59  return TECDetId(id).petal()[0];
60 }
std::vector< unsigned int > petal() const
petal id
Definition: TECDetId.h:61