CMS 3D CMS Logo

Functions

align::tec Namespace Reference

Functions

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

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

{
  return TECDetId(id).wheel();
}
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().

{
  return TECDetId(id).side();
}
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().

{
  return TECDetId(id).module();
}
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().

{
  return TECDetId(id).petal()[1];
}
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().

{
  return TECDetId(id).ring();
}
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().

{
  return TECDetId(id).petal()[0];
}