CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackerCounters.cc
Go to the documentation of this file.
7 
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 
23  // Forward Pixel
24  theCounters[TPEModule] = tpe:: moduleNumber;
25  theCounters[TPEPanel] = tpe:: panelNumber;
26  theCounters[TPEBlade] = tpe:: bladeNumber;
27  theCounters[TPEHalfDisk] = tpe:: halfDiskNumber;
29  theCounters[TPEEndcap] = tpe:: endcapNumber;
30 
31  // Tracker Inner Barrel
32  theCounters[TIBModule] = tib:: moduleNumber;
33  theCounters[TIBString] = tib:: stringNumber;
34  theCounters[TIBSurface] = tib:: surfaceNumber;
35  theCounters[TIBHalfShell] = tib:: halfShellNumber;
36  theCounters[TIBLayer] = tib:: layerNumber;
38 
39  // Tracker Inner Barrel
40  theCounters[TIDModule] = tid:: moduleNumber;
41  theCounters[TIDSide] = tid:: sideNumber;
42  theCounters[TIDRing] = tid:: ringNumber;
43  theCounters[TIDDisk] = tid:: diskNumber;
44  theCounters[TIDEndcap] = tid:: endcapNumber;
45 
46  // Tracker Outer Barrel
47  theCounters[TOBModule] = tob:: moduleNumber;
48  theCounters[TOBRod] = tob:: rodNumber;
49  theCounters[TOBLayer] = tob:: layerNumber;
51 
52  // Tracker Endcaps
53  theCounters[TECModule] = tec:: moduleNumber;
54  theCounters[TECRing] = tec:: ringNumber;
55  theCounters[TECPetal] = tec:: petalNumber;
56  theCounters[TECSide] = tec:: sideNumber;
57  theCounters[TECDisk] = tec:: diskNumber;
58  theCounters[TECEndcap] = tec:: endcapNumber;
59 }
60 
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
unsigned int moduleNumber(align::ID)
Module number increases with |z| from 1 to 3.
Definition: TIBNameSpace.h:46
unsigned int layerNumber(align::ID)
Layer number increases with rho from 1 to 3.
Definition: TPBNameSpace.h:63
TrackerCounters()
Build the counters map.
unsigned int endcapNumber(align::ID)
Endcap number is 1 for -z and 2 for +z.
Definition: TPENameSpace.h:82
unsigned int bladeNumber(align::ID)
Definition: TPENameSpace.h:55
unsigned int moduleNumber(align::ID)
Module number increases with |z| from 1 to 6.
Definition: TOBNameSpace.h:36
unsigned int halfDiskNumber(align::ID)
Half disk number increases with |z| from 1 to 3.
Definition: TPENameSpace.h:70
unsigned int ringNumber(align::ID)
Ring number increases with rho from 1 to 3.
Definition: TIDNameSpace.h:49
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 moduleNumber(align::ID)
Module number increases with rho; from 1 to 4.
Definition: TPENameSpace.h:45
unsigned int halfBarrelNumber(align::ID)
Half barrel number is 1 at left side (-x) and 2 at right side (+x).
Definition: TPBNameSpace.h:68
unsigned int halfBarrelNumber(align::ID)
HalfBarrel number is 1 at -z side and 2 at +z side.
Definition: TOBNameSpace.h:51
unsigned int diskNumber(align::ID)
Disk number increases with |z| from 1 to 3.
Definition: TIDNameSpace.h:54
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 sideNumber(align::ID)
Side number is 1 for back ring and 2 for front (towards IP).
Definition: TIDNameSpace.h:44
unsigned int petalNumber(align::ID)
Petal number increases with phi from 1 to 8.
Definition: TECNameSpace.h:52
unsigned int moduleNumber(align::ID)
Module number increases with z from 1 to 8.
Definition: TPBNameSpace.h:40
unsigned int sideNumber(align::ID)
Side number is 1 for back disk and 2 for front (towards IP).
Definition: TECNameSpace.h:57
unsigned int endcapNumber(align::ID)
Endcap number is 1 at -z side and 2 at +z side.
Definition: TIDNameSpace.h:59
unsigned int layerNumber(align::ID)
Layer number increases with rho from 1 to 6.
Definition: TOBNameSpace.h:46
unsigned int moduleNumber(align::ID)
Module number increases with phi.
Definition: TIDNameSpace.h:39