test
CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackerAlignableIndexer.cc
Go to the documentation of this file.
1 #include "../interface/TrackerAlignableIndexer.h"
8 
9 
10 using namespace align;
11 
12 //__________________________________________________________________________________________________
14 {
15  theCounters.clear();
16 
17  // Barrel Pixel
18  theCounters[TPBModule] = tpb:: moduleNumber;
19  theCounters[TPBLadder] = tpb:: ladderNumber;
20  theCounters[TPBLayer] = tpb:: layerNumber;
22  theCounters[TPBBarrel] = tpb:: barrelNumber;
23 
24  // Forward Pixel
25  theCounters[TPEModule] = tpe:: moduleNumber;
26  theCounters[TPEPanel] = tpe:: panelNumber;
27  theCounters[TPEBlade] = tpe:: bladeNumber;
28  theCounters[TPEHalfDisk] = tpe:: halfDiskNumber;
30  theCounters[TPEEndcap] = tpe:: endcapNumber;
31 
32  // Tracker Inner Barrel
33  theCounters[TIBModule] = tib:: moduleNumber;
34  theCounters[TIBString] = tib:: stringNumber;
35  theCounters[TIBSurface] = tib:: surfaceNumber;
36  theCounters[TIBHalfShell] = tib:: halfShellNumber;
37  theCounters[TIBLayer] = tib:: layerNumber;
39  theCounters[TIBBarrel] = tib:: barrelNumber;
40 
41  // Tracker Inner Disk
42  theCounters[TIDModule] = tid:: moduleNumber;
43  theCounters[TIDSide] = tid:: sideNumber;
44  theCounters[TIDRing] = tid:: ringNumber;
45  theCounters[TIDDisk] = tid:: diskNumber;
46  theCounters[TIDEndcap] = tid:: endcapNumber;
47 
48  // Tracker Outer Barrel
49  theCounters[TOBModule] = tob:: moduleNumber;
50  theCounters[TOBRod] = tob:: rodNumber;
51  theCounters[TOBLayer] = tob:: layerNumber;
53  theCounters[TOBBarrel] = tob:: barrelNumber;
54 
55  // Tracker Endcaps
56  theCounters[TECModule] = tec:: moduleNumber;
57  theCounters[TECRing] = tec:: ringNumber;
58  theCounters[TECPetal] = tec:: petalNumber;
59  theCounters[TECSide] = tec:: sideNumber;
60  theCounters[TECDisk] = tec:: diskNumber;
61  theCounters[TECEndcap] = tec:: endcapNumber;
62 }
63 
unsigned int endcapNumber(align::ID, const TrackerTopology *)
Endcap number is 1 at -z side and 2 at +z side.
Definition: TECNameSpace.h:68
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
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 layerNumber(align::ID, const TrackerTopology *)
Layer number increases with rho from 1 to 6.
Definition: TOBNameSpace.h:53
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases with |z| from 1 to 6.
Definition: TOBNameSpace.h:43
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 diskNumber(align::ID, const TrackerTopology *)
Disk number increases with |z| from 1 to 3.
Definition: TIDNameSpace.h:55
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases with |z| from 1 to 3.
Definition: TIBNameSpace.h:53
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases with z from 1 to 8.
Definition: TPBNameSpace.h:47
unsigned int layerNumber(align::ID, const TrackerTopology *)
Layer number increases with rho from 1 to 3.
Definition: TPBNameSpace.h:67
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
unsigned int surfaceNumber(align::ID, const TrackerTopology *)
Surface number is 1 for inner and 2 for outer.
Definition: TIBNameSpace.h:74
unsigned int ringNumber(align::ID, const TrackerTopology *)
Ring number increases with rho from 1 to 3.
Definition: TIDNameSpace.h:50
unsigned int endcapNumber(align::ID, const TrackerTopology *)
Endcap number is 1 for -z and 2 for +z.
Definition: TPENameSpace.h:87
unsigned int halfBarrelNumber(align::ID, const TrackerTopology *)
Half barrel number is 1 at left side (-x) and 2 at right side (+x).
Definition: TPBNameSpace.h:72
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 moduleNumber(align::ID, const TrackerTopology *)
Module number increases with rho; from 1 to 4.
Definition: TPENameSpace.h:50
unsigned int barrelNumber(align::ID, const TrackerTopology *)
Barrel number is 1 for all align::ID's which belong to this barrel.
Definition: TPBNameSpace.h:80
unsigned int barrelNumber(align::ID, const TrackerTopology *)
Barrel number is 1 for all align::ID's which belong to this barrel.
Definition: TOBNameSpace.h:63
unsigned int sideNumber(align::ID, const TrackerTopology *)
Side number is 1 for back ring and 2 for front (towards IP).
Definition: TIDNameSpace.h:45
TrackerAlignableIndexer()
Build the counters map.
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's which belong to this barrel.
Definition: TIBNameSpace.h:102
unsigned int endcapNumber(align::ID, const TrackerTopology *)
Endcap number is 1 at -z side and 2 at +z side.
Definition: TIDNameSpace.h:60
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases with phi.
Definition: TIDNameSpace.h:40
unsigned int halfDiskNumber(align::ID, const TrackerTopology *)
Half disk number increases with |z| from 1 to 3.
Definition: TPENameSpace.h:75
unsigned int halfBarrelNumber(align::ID, const TrackerTopology *)
HalfBarrel number is 1 at -z side and 2 at +z side.
Definition: TOBNameSpace.h:58