You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ----- Getters for contents of tracklet word -----
69
-
uint64_tgetHCID() const { return ((mtrackletWord & hcidmask) >> hcidbs); }; // no units 0..1077
70
-
uint64_tgetPadRow() const { return ((mtrackletWord & padrowmask) >> padrowbs); }; // pad row number [0..15]
71
-
uint64_tgetColumn() const { return ((mtrackletWord & colmask) >> colbs); }; // column refers to MCM position in column direction on readout board [0..3]
72
-
uint64_tgetPosition() const { return ((mtrackletWord & posmask) >> posbs); }; // in units of 1/80 pads, 11 bit granularity [-12.8..12.8] relative to MCM center
73
-
uint64_tgetSlope() const { return ((mtrackletWord & slopemask) >> slopebs); }; // in units of 1/1000 pads/timebin, 8 bit granularity [-0.128 to 0.128]
74
-
uint64_tgetPID() const { return ((mtrackletWord & PIDmask)); }; // no unit, all 3 charge windows combined
75
-
uint64_tgetQ0() const { return ((mtrackletWord & Q0mask) >> Q0bs); }; // no unit
76
-
uint64_tgetQ1() const { return ((mtrackletWord & Q1mask) >> Q1bs); }; // no unit
77
-
uint64_tgetQ2() const { return ((mtrackletWord & Q2mask) >> Q2bs); }; // no unit
GPUd() uint64_tgetHCID() const { return ((mtrackletWord & hcidmask) >> hcidbs); }; // no units 0..1077
71
+
GPUd() uint64_tgetPadRow() const { return ((mtrackletWord & padrowmask) >> padrowbs); }; // pad row number [0..15]
72
+
GPUd() uint64_tgetColumn() const { return ((mtrackletWord & colmask) >> colbs); }; // column refers to MCM position in column direction on readout board [0..3]
73
+
GPUd() uint64_tgetPosition() const { return ((mtrackletWord & posmask) >> posbs); }; // in units of 1/80 pads, 11 bit granularity [-12.8..12.8] relative to MCM center
74
+
GPUd() uint64_tgetSlope() const { return ((mtrackletWord & slopemask) >> slopebs); }; // in units of 1/1000 pads/timebin, 8 bit granularity [-0.128 to 0.128]
75
+
GPUd() uint64_tgetPID() const { return ((mtrackletWord & PIDmask)); }; // no unit, all 3 charge windows combined
76
+
GPUd() uint64_tgetQ0() const { return ((mtrackletWord & Q0mask) >> Q0bs); }; // no unit
77
+
GPUd() uint64_tgetQ1() const { return ((mtrackletWord & Q1mask) >> Q1bs); }; // no unit
78
+
GPUd() uint64_tgetQ2() const { return ((mtrackletWord & Q2mask) >> Q2bs); }; // no unit
intgetMCM() const { return4 * (getPadRow() % 4) + getColumn(); } // returns MCM position on ROB [0..15]
83
-
intgetROB() const { return (getHCID() % 2) ? (getPadRow() / 4) * 2 + 1 : (getPadRow() / 4) * 2; } // returns ROB number [0..5] for C0 chamber and [0..7] for C1 chamber
84
-
floatgetUncalibratedY() const; // translate local position into global y (in cm) not taking into account calibrations (ExB, vDrift, t0)
85
-
floatgetUncalibratedDy(float nTbDrift = 19.4f) const; // translate local slope into dy/dx with dx=3m (drift length) and default drift time in time bins (19.4 timebins / 3cm)
83
+
GPUd() intgetMCM() const { return4 * (getPadRow() % 4) + getColumn(); } // returns MCM position on ROB [0..15]
84
+
GPUd() intgetROB() const { return (getHCID() % 2) ? (getPadRow() / 4) * 2 + 1 : (getPadRow() / 4) * 2; } // returns ROB number [0..5] for C0 chamber and [0..7] for C1 chamber
85
+
GPUd() floatgetUncalibratedY() const; // translate local position into global y (in cm) not taking into account calibrations (ExB, vDrift, t0)
86
+
GPUd() floatgetUncalibratedDy(float nTbDrift = 19.4f) const; // translate local slope into dy/dx with dx=3m (drift length) and default drift time in time bins (19.4 timebins / 3cm)
86
87
87
88
// ----- Getters for offline corresponding values -----
0 commit comments