12 |
|
// phi = azimuth angle at the given point |
13 |
|
// dxy = -vx*sin(phi) + vy*cos(phi) [cm] |
14 |
|
// dsz = vz*cos(lambda) - (vx*cos(phi)+vy*sin(phi))*sin(lambda) [cm] |
15 |
– |
|
16 |
– |
// |
15 |
|
// |
16 |
|
// Format for fHits: (We do not use anything resembling reco::HitPattern from CMSSW because that |
17 |
|
// data format requires 800 bits per track!) |
18 |
|
// There is a one to one mapping between bits and tracker layers, where layers are enumerated |
19 |
|
// seperately in the PXB, PXF, TIB, TID, TOB, TEC and r-phi and stereo modules are treated as |
20 |
|
// seperate layers in those detectors which have them |
21 |
< |
// (TIB L1,L2, TID L1,L2, TOB L1,L2, TEC L1,L2,L5) |
21 |
> |
// (TIB L1,L2, TID L1,L2, TOB L1,L2, TEC L1,L2,L5). |
22 |
|
// |
23 |
|
// A bit value of 1 indicates a hit in the corresponding layer, and 0 indicates no hit. |
24 |
|
// |
25 |
|
// Note that currently this only stores information about hits in the Tracker, |
26 |
< |
// but muon chamber information will likely be added as well |
26 |
> |
// but muon chamber information will likely be added as well. |
27 |
|
// |
28 |
|
// Bit-Layer assignments (starting from bit 0): |
29 |
|
// Bit 0: PXB L1 |
37 |
|
// Bit 8: TIB L2 stereo |
38 |
|
// Bit 9: TIB L3 r-phi |
39 |
|
// Bit 10: TIB L4 r-phi |
40 |
< |
// Bit 11: TID L1 phi |
40 |
> |
// Bit 11: TID L1 r-phi |
41 |
|
// Bit 12: TID L1 stereo |
42 |
< |
// Bit 13: TID L2 phi |
42 |
> |
// Bit 13: TID L2 r-phi |
43 |
|
// Bit 14: TID L2 stereo |
44 |
< |
// Bit 15: TID L3 phi |
44 |
> |
// Bit 15: TID L3 r-phi |
45 |
|
// Bit 16: TOB L1 r-phi |
46 |
|
// Bit 17: TOB L1 stereo |
47 |
|
// Bit 18: TOB L2 r-phi |
50 |
|
// Bit 21: TOB L4 r-phi |
51 |
|
// Bit 22: TOB L5 r-phi |
52 |
|
// Bit 23: TOB L6 r-phi |
53 |
< |
// Bit 24: TEC L1 phi |
53 |
> |
// Bit 24: TEC L1 r-phi |
54 |
|
// Bit 25: TEC L1 stereo |
55 |
< |
// Bit 26: TEC L2 phi |
55 |
> |
// Bit 26: TEC L2 r-phi |
56 |
|
// Bit 27: TEC L2 stereo |
57 |
< |
// Bit 28: TEC L3 phi |
58 |
< |
// Bit 29: TEC L4 phi |
59 |
< |
// Bit 30: TEC L5 phi |
57 |
> |
// Bit 28: TEC L3 r-phi |
58 |
> |
// Bit 29: TEC L4 r-phi |
59 |
> |
// Bit 30: TEC L5 r-phi |
60 |
|
// Bit 31: TEC L5 stereo |
61 |
< |
// Bit 32: TEC L6 phi |
62 |
< |
// Bit 33: TEC L7 phi |
63 |
< |
// Bit 34: TEC L8 phi |
64 |
< |
// Bit 35: TEC L9 phi |
61 |
> |
// Bit 32: TEC L6 r-phi |
62 |
> |
// Bit 33: TEC L7 r-phi |
63 |
> |
// Bit 34: TEC L8 r-phi |
64 |
> |
// Bit 35: TEC L9 r-phi |
65 |
|
// |
66 |
|
// Authors: C.Loizides, J.Bendavid, C.Paus |
67 |
|
//-------------------------------------------------------------------------------------------------- |