Functions | |
unsigned int | bladeNumber (align::ID) |
Blade number increases from 1 at the top to 12 at the bottom of each half disk. | |
unsigned int | endcapNumber (align::ID) |
Endcap number is 1 for -z and 2 for +z. | |
unsigned int | halfCylinderNumber (align::ID) |
Half cylinder number is 1 at left side (-x) and 2 at right side (+x). | |
unsigned int | halfDiskNumber (align::ID) |
Half disk number increases with |z| from 1 to 3. | |
unsigned int | moduleNumber (align::ID) |
Module number increases with rho; from 1 to 4. | |
unsigned int | panelNumber (align::ID) |
Panel number is 1 for 4 modules, 2 for 3 modules. | |
Variables | |
const unsigned int | bpqd = 6 |
Blade number increases from 1 at the top to 12 at the bottom of each half disk.
Definition at line 55 of file TPENameSpace.h.
Referenced by TrackerCounters::TrackerCounters().
00056 { 00057 unsigned int b = PXFDetId(id).blade(); // 1 to 24 in increasing phi 00058 00059 // Blade in 1st quadrant: number = bpqd + 1 - b (1 to bpqd) 00060 // Blade in 2nd quadrant: number = b - bpqd (1 to bpqd) 00061 // Blade in 3rd quadrant: number = b - bpqd (bpqd + 1 to 2 * bpqd) 00062 // Blade in 4th quadrant: number = 5 * bpqd + 1 - b (bpqd + 1 to 2 * bpqd) 00063 00064 return b > 3 * bpqd ? // blade in 4th quadrant 00065 5 * bpqd + 1 - b : 00066 (b > bpqd ? // blade not in 1st quadrant 00067 b - bpqd : bpqd + 1 - b); 00068 }
Endcap number is 1 for -z and 2 for +z.
Definition at line 82 of file TPENameSpace.h.
Referenced by TrackerCounters::TrackerCounters().
00083 { 00084 return PXFDetId(id).side(); 00085 }
Half cylinder number is 1 at left side (-x) and 2 at right side (+x).
Definition at line 75 of file TPENameSpace.h.
Referenced by TrackerCounters::TrackerCounters().
00076 { 00077 unsigned int b = PXFDetId(id).blade(); // 1 to 24 in increasing phi 00078 00079 return b > bpqd && b <= 3 * bpqd ? 1 : 2; 00080 }
Half disk number increases with |z| from 1 to 3.
Definition at line 70 of file TPENameSpace.h.
Referenced by TrackerCounters::TrackerCounters().
00071 { 00072 return PXFDetId(id).disk(); 00073 }
Module number increases with rho; from 1 to 4.
Definition at line 45 of file TPENameSpace.h.
Referenced by TrackerCounters::TrackerCounters().
00046 { 00047 return PXFDetId(id).module(); 00048 }
Panel number is 1 for 4 modules, 2 for 3 modules.
Definition at line 50 of file TPENameSpace.h.
Referenced by TrackerCounters::TrackerCounters().
00051 { 00052 return PXFDetId(id).panel(); 00053 }
const unsigned int align::tpe::bpqd = 6 |
Definition at line 22 of file TPENameSpace.h.
Referenced by bladeNumber(), and halfCylinderNumber().