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 ()
 
 Counters (int)
 
 Counters ()
 Build the counters map. More...
 
void evalCounters ()
 
virtual align::Counter get (align::StructureType) const
 Get a counter based on its structure type. More...
 
void incrementSector (int)
 
void printSummary ()
 
virtual ~Counters ()
 
virtual ~Counters ()
 

Additional Inherited Members

- Public Attributes inherited from Counters
int m_farSide
 
int m_nearSide
 
std::map< int, int > m_sector
 
int m_wheel
 
int m_wheelid
 
- 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/18 09:57:10
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 moduleNumber(align::ID)
Module number increases (decreases) with phi for +z (-z) endcap.
Definition: TECNameSpace.h:42
unsigned int halfBarrelNumber(align::ID)
Half barrel number is 1 at -z side and 2 at +z side.
Definition: TIBNameSpace.h:90
unsigned int halfShellNumber(align::ID)
Half shell number is 1 for bottom (-y) and 2 for top (+y).
Definition: TIBNameSpace.h:72
unsigned int rodNumber(align::ID)
Rod number increases with phi.
Definition: TOBNameSpace.h:41
unsigned int ringNumber(align::ID)
Ring number increases with rho.
Definition: TECNameSpace.h:47
unsigned int layerNumber(align::ID)
Layer number increases with rho from 1 to 8.
Definition: TIBNameSpace.h:85
unsigned int surfaceNumber(align::ID)
Surface number is 1 for inner and 2 for outer.
Definition: TIBNameSpace.h:67
unsigned int diskNumber(align::ID)
Disk number increases with |z| from 1 to 9.
Definition: TECNameSpace.h:62
std::map< align::StructureType, align::Counter > theCounters
Definition: Counters.h:42
unsigned int bladeNumber(align::ID)
Definition: TPENameSpace.h:55
unsigned int halfDiskNumber(align::ID)
Half disk number increases with |z| from 1 to 3.
Definition: TPENameSpace.h:70
unsigned int ladderNumber(align::ID)
Definition: TPBNameSpace.h:45
unsigned int panelNumber(align::ID)
Panel number is 1 for 4 modules, 2 for 3 modules.
Definition: TPENameSpace.h:50
unsigned int halfCylinderNumber(align::ID)
Half cylinder number is 1 at left side (-x) and 2 at right side (+x).
Definition: TPENameSpace.h:75
unsigned int stringNumber(align::ID)
Definition: TIBNameSpace.h:51
unsigned int endcapNumber(align::ID)
Endcap number is 1 at -z side and 2 at +z side.
Definition: TECNameSpace.h:67
unsigned int petalNumber(align::ID)
Petal number increases with phi from 1 to 8.
Definition: TECNameSpace.h:52
unsigned int sideNumber(align::ID)
Side number is 1 for back disk and 2 for front (towards IP).
Definition: TECNameSpace.h:57
TrackerCounters::~TrackerCounters ( )
inline

Definition at line 27 of file TrackerCounters.h.

27 {}