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
Option --rof-lenght-error-freq <float_time_in_seconds> will set the interval
between successive error reports (if any) about the wrong ROF length.
No reporting is done if negative or 0 (to be used in calibration runs).
Default interval is 60s.
int expectedTFSize = static_cast<int>(o2::constants::lhc::LHCMaxBunches * o2::base::GRPGeomHelper::instance().getGRPECS()->getNHBFPerTF() / alpParams.roFrameLengthInBC); // 3564*32 / ROF Length in BS = number of ROFs per TF
long currTS = std::chrono::time_point_cast<std::chrono::milliseconds>(std::chrono::system_clock::now()).time_since_epoch().count();
194
+
if (currTS - lastErrReportTS > mROFErrRepIntervalMS) {
195
+
LOGP(error, "Inconsistent number of ROF per TF. From parameters: {} from readout: {} (muting further reporting for {} ms)", expectedTFSize, nTriggersProcessed, mROFErrRepIntervalMS);
196
+
lastErrReportTS = currTS;
197
+
}
191
198
}
192
199
if (mDoClusters && mClusterer->getMaxROFDepthToSquash()) {
193
200
// Digits squashing require to run on a batch of digits and uses a digit reader, cannot (?) run with decoder
0 commit comments