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
TrackerAlignableIndexer Class Reference

#include <TrackerAlignableIndexer.h>

Inheritance diagram for TrackerAlignableIndexer:
AlignableIndexer

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Concrete implementation of AlignableIndexer for the tracker-alignables.

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

Last Update: Max Stark Date: Wed, 17 Feb 2016 15:39:06 CET

Definition at line 23 of file TrackerAlignableIndexer.h.

Constructor & Destructor Documentation

TrackerAlignableIndexer::TrackerAlignableIndexer ( )

Build the counters map.

Definition at line 13 of file TrackerAlignableIndexer.cc.

References align::tob::barrelNumber(), align::tpb::barrelNumber(), align::tib::barrelNumber(), 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::tec::moduleNumber(), align::tob::moduleNumber(), align::tpb::moduleNumber(), align::tpe::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::TIBBarrel, align::TIBHalfBarrel, align::TIBHalfShell, align::TIBLayer, align::TIBModule, align::TIBString, align::TIBSurface, align::TIDDisk, align::TIDEndcap, align::TIDModule, align::TIDRing, align::TIDSide, align::TOBBarrel, align::TOBHalfBarrel, align::TOBLayer, align::TOBModule, align::TOBRod, align::TPBBarrel, 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
23 
24  // Forward Pixel
31 
32  // Tracker Inner Barrel
40 
41  // Tracker Inner Disk
47 
48  // Tracker Outer Barrel
54 
55  // Tracker Endcaps
62 }
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:97
unsigned int diskNumber(align::ID, const TrackerTopology *)
Disk number increases with |z| from 1 to 9.
Definition: TECNameSpace.h:63
std::map< align::StructureType, align::Counter > theCounters
unsigned int stringNumber(align::ID, const TrackerTopology *)
Definition: TIBNameSpace.h:58
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:79
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:80
unsigned int bladeNumber(align::ID, const TrackerTopology *)
Definition: TPENameSpace.h:60
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases (decreases) with phi for +z (-z) endcap.
Definition: TECNameSpace.h:43
unsigned int rodNumber(align::ID, const TrackerTopology *)
Rod number increases with phi.
Definition: TOBNameSpace.h:48
unsigned int panelNumber(align::ID, const TrackerTopology *)
Panel number is 1 for 4 modules, 2 for 3 modules.
Definition: TPENameSpace.h:55
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:74
unsigned int layerNumber(align::ID, const TrackerTopology *)
Layer number increases with rho from 1 to 8.
Definition: TIBNameSpace.h:92
unsigned int ladderNumber(align::ID, const TrackerTopology *)
Definition: TPBNameSpace.h:52
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 barrelNumber(align::ID, const TrackerTopology *)
Barrel number is 1 for all align::ID&#39;s which belong to this barrel.
Definition: TIBNameSpace.h:102
unsigned int halfDiskNumber(align::ID, const TrackerTopology *)
Half disk number increases with |z| from 1 to 3.
Definition: TPENameSpace.h:75
virtual TrackerAlignableIndexer::~TrackerAlignableIndexer ( )
inlinevirtual

Definition at line 30 of file TrackerAlignableIndexer.h.

30 {}