test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
TrackerCounters Class Reference

#include <TrackerCounters.h>

Inheritance diagram for TrackerCounters:
Counters

Public Member Functions

 TrackerCounters ()
 Build the counters map. More...
 
 ~TrackerCounters ()
 
- Public Member Functions inherited from Counters
 Counters ()
 Build the counters map. More...
 
virtual align::Counter get (align::StructureType) const
 Get a counter based on its structure type. More...
 
virtual ~Counters ()
 

Additional Inherited Members

- Protected Attributes inherited from Counters
std::map< align::StructureType,
align::Counter
theCounters
 

Detailed Description

Concrete implementation of counters for the tracker

Allows to set an id to each alignable. Actual counter definitions are in separate header files.

Date:
2007/10/08 13:36:11
Revision:
1.1
Author
Chung Khim Lae

Definition at line 20 of file TrackerCounters.h.

Constructor & Destructor Documentation

TrackerCounters::TrackerCounters ( )

Build the counters map.

Definition at line 13 of file TrackerCounters.cc.

References align::tpe::bladeNumber(), align::tid::diskNumber(), align::tec::diskNumber(), align::tid::endcapNumber(), align::tec::endcapNumber(), align::tpe::endcapNumber(), align::tob::halfBarrelNumber(), align::tpb::halfBarrelNumber(), align::tib::halfBarrelNumber(), align::tpe::halfCylinderNumber(), align::tpe::halfDiskNumber(), align::tib::halfShellNumber(), align::tpb::ladderNumber(), align::tob::layerNumber(), align::tpb::layerNumber(), align::tib::layerNumber(), align::tid::moduleNumber(), align::tob::moduleNumber(), align::tec::moduleNumber(), align::tpe::moduleNumber(), align::tpb::moduleNumber(), align::tib::moduleNumber(), align::tpe::panelNumber(), align::tec::petalNumber(), align::tec::ringNumber(), align::tid::ringNumber(), align::tob::rodNumber(), align::tid::sideNumber(), align::tec::sideNumber(), align::tib::stringNumber(), align::tib::surfaceNumber(), align::TECDisk, align::TECEndcap, align::TECModule, align::TECPetal, align::TECRing, align::TECSide, align::TIBHalfBarrel, align::TIBHalfShell, align::TIBLayer, align::TIBModule, align::TIBString, align::TIBSurface, align::TIDDisk, align::TIDEndcap, align::TIDModule, align::TIDRing, align::TIDSide, align::TOBHalfBarrel, align::TOBLayer, align::TOBModule, align::TOBRod, align::TPBHalfBarrel, align::TPBLadder, align::TPBLayer, align::TPBModule, align::TPEBlade, align::TPEEndcap, align::TPEHalfCylinder, align::TPEHalfDisk, align::TPEModule, and align::TPEPanel.

14 {
15  theCounters.clear();
16 
17  // Barrel Pixel
22 
23  // Forward Pixel
30 
31  // Tracker Inner Barrel
38 
39  // Tracker Inner Barrel
45 
46  // Tracker Outer Barrel
51 
52  // Tracker Endcaps
59 }
unsigned int endcapNumber(align::ID, const TrackerTopology *)
Endcap number is 1 at -z side and 2 at +z side.
Definition: TECNameSpace.h:68
TBPLayer TOBLayer
Definition: TOBLayer.h:12
unsigned int halfBarrelNumber(align::ID, const TrackerTopology *)
Half barrel number is 1 at -z side and 2 at +z side.
Definition: TIBNameSpace.h:91
unsigned int diskNumber(align::ID, const TrackerTopology *)
Disk number increases with |z| from 1 to 9.
Definition: TECNameSpace.h:63
unsigned int stringNumber(align::ID, const TrackerTopology *)
Definition: TIBNameSpace.h:52
unsigned int petalNumber(align::ID, const TrackerTopology *)
Petal number increases with phi from 1 to 8.
Definition: TECNameSpace.h:53
unsigned int ringNumber(align::ID, const TrackerTopology *)
Ring number increases with rho.
Definition: TECNameSpace.h:48
unsigned int halfShellNumber(align::ID, const TrackerTopology *)
Half shell number is 1 for bottom (-y) and 2 for top (+y).
Definition: TIBNameSpace.h:73
unsigned int halfCylinderNumber(align::ID, const TrackerTopology *)
Half cylinder number is 1 at left side (-x) and 2 at right side (+x).
Definition: TPENameSpace.h:76
unsigned int bladeNumber(align::ID, const TrackerTopology *)
Definition: TPENameSpace.h:56
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases (decreases) with phi for +z (-z) endcap.
Definition: TECNameSpace.h:43
std::map< align::StructureType, align::Counter > theCounters
Definition: Counters.h:43
unsigned int rodNumber(align::ID, const TrackerTopology *)
Rod number increases with phi.
Definition: TOBNameSpace.h:42
unsigned int panelNumber(align::ID, const TrackerTopology *)
Panel number is 1 for 4 modules, 2 for 3 modules.
Definition: TPENameSpace.h:51
CompositeTECPetal TECPetal
Definition: TECPetal.h:8
unsigned int surfaceNumber(align::ID, const TrackerTopology *)
Surface number is 1 for inner and 2 for outer.
Definition: TIBNameSpace.h:68
unsigned int layerNumber(align::ID, const TrackerTopology *)
Layer number increases with rho from 1 to 8.
Definition: TIBNameSpace.h:86
unsigned int ladderNumber(align::ID, const TrackerTopology *)
Definition: TPBNameSpace.h:46
unsigned int sideNumber(align::ID, const TrackerTopology *)
Side number is 1 for back disk and 2 for front (towards IP).
Definition: TECNameSpace.h:58
unsigned int halfDiskNumber(align::ID, const TrackerTopology *)
Half disk number increases with |z| from 1 to 3.
Definition: TPENameSpace.h:71
TrackerCounters::~TrackerCounters ( )
inline

Definition at line 27 of file TrackerCounters.h.

27 {}