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 eef4e26
Browse filesBrowse the repository at this point in the historyBrowse files
TRKDigitizerSpec workflow: now the number of ROFs per TF is computed from the TF length and rounded up. This was introduced to cope with the new default ROF length of 16 BC (required by designers) which does not divide exactly the orbit.
if (aopt.nTimestampBits > 16 || aopt.nFineBits < 0 || aopt.nFineBits > aopt.nTimestampBits) { // TODO: check once the bits division has been definitively chosen
293
+
LOGP(fatal, "Invalid timestamp format: {} bits with {} fine bits (the digit timestamp is a uint16_t)", aopt.nTimestampBits, aopt.nFineBits);
294
+
}
295
+
291
296
for (int iLayer = 0; iLayer < mLayers; ++iLayer) {
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);
LOGP(warning, "{} layer {}: the timestamp frame counter ({} bits) rolls over within an orbit with ROF length {} BC", ID.getName(), iLayer, aopt.nTimestampBits - aopt.nFineBits, roFrameLengthInBC);
316
+
}
317
+
if (nCycles > (1 << aopt.nFineBits)) {
318
+
LOGP(fatal, "{} layer {}: {} clock cycles per ROF do not fit in the {} fine bits of the timestamp. Possible values: 16 BC for VD; 16,32,64 BC for MLOT/FT3.", ID.getName(), iLayer, nCycles, aopt.nFineBits);
319
+
}
302
320
}
303
321
// parameters of signal time response: flat-top duration, max rise time and q @ which rise time is 0
0 commit comments