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
{{ message }}
Repository navigation
Commit b27a87e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Detectors/Upgrades/ALICE3/TRKFT3/TRK/base/include/TRKBase/AlmiraParam.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -50,12 +50,12 @@ struct AlmiraParam : public o2::conf::ConfigurableParamHelper<AlmiraParam> {
50
50
return (layer < constants::VD::petal::nLayers ? 1 : 4) * o2::constants::lhc::LHCBunchSpacingNS; // the clock is synchronous with the LHC: 1 BC (VD), 4 BC (ML/OT/disks)
51
51
}
52
52
53
-
/// number of clock cycles in a ROF; if the ROF is not a multiple of the clock period, the last cycle is shorter
54
-
/// (e.g. ROF 18 BC, clock 4 BC -> 4.5 -> 5 cycles). Tolerance for the float rounding: 18 BC / 24.95 ns must give 18, not 19
53
+
/// number of clock cycles in a ROF (the ROF length is a multiple of the clock period, as required by the ALMIRA design)
constint nROFsTF = (tfLengthInBC + roFrameLengthInBC - 1) / roFrameLengthInBC; // rounded up: the last ROF may be truncated by the end of the TF
142
+
constint nROFsTF = (tfLengthInBC + roFrameLengthInBC - 1) / roFrameLengthInBC; // rounded up: if the TF length is not a multiple of the ROF length, the last ROF is truncated by the end of the TF
143
+
// (simulation artifact: the handling of ROFs across the TF boundary is still to be defined with DAQ)
143
144
144
145
mROFRecordsAccum[iLayer].reserve(nROFsTF);
145
146
@@ -307,6 +308,12 @@ class TRKFT3DPLDigitizerTask : BaseDPLDigitizer
307
308
digipar.setClockPeriod(aopt.getClockPeriod(parLayer), iLayer); // after setROFrameLengthInBC: computes and sets the clock cycles per ROF
LOGP(warning, "{} layer {}: ROF length {} BC does not divide the TF length {} BC: the last ROF of the TF is truncated", ID.getName(), iLayer, roFrameLengthInBC, tfLengthInBC);
0 commit comments