test
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 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: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 layerNumber(align::ID, const TrackerTopology *)
Layer number increases with rho from 1 to 6.
Definition: TOBNameSpace.h:47
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases with |z| from 1 to 6.
Definition: TOBNameSpace.h:37
TrackerCounters()
Build the counters map.
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
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:47
unsigned int moduleNumber(align::ID, const TrackerTopology *)
Module number increases with z from 1 to 8.
Definition: TPBNameSpace.h:41
unsigned int layerNumber(align::ID, const TrackerTopology *)
Layer number increases with rho from 1 to 3.
Definition: TPBNameSpace.h:64
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
unsigned int surfaceNumber(align::ID, const TrackerTopology *)
Surface number is 1 for inner and 2 for outer.
Definition: TIBNameSpace.h:68
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:83
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:69
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 moduleNumber(align::ID, const TrackerTopology *)
Module number increases with rho; from 1 to 4.
Definition: TPENameSpace.h:46
unsigned int sideNumber(align::ID, const TrackerTopology *)
Side number is 1 for back ring and 2 for front (towards IP).
Definition: TIDNameSpace.h:45
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 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:71
unsigned int halfBarrelNumber(align::ID, const TrackerTopology *)
HalfBarrel number is 1 at -z side and 2 at +z side.
Definition: TOBNameSpace.h:52