31 mIsContinuous = sopt.continuous;
34 LOG(fatal) <<
"Missing ModuleConfig configuration object";
39 LOG(fatal) <<
"Missing SimCondition configuration object";
44 LOG(fatal) <<
"Bunch crossing map is not initialized";
49 LOG(warning) <<
"Bunch crossing map has zero clean empty bunches";
54 std::string outd = outDir;
55 if (outd.back() !=
'/') {
66 for (
int ilink = 0; ilink <
NLinks; ilink++) {
69 if (mFileFor !=
"all") {
70 outFileLink += fmt::format(
"_{}", mFLP);
71 if (mFileFor !=
"flp") {
72 outFileLink += fmt::format(
"_cru{}_{}", mCruID, mEndPointID);
73 if (mFileFor !=
"cruendpoint") {
74 outFileLink += fmt::format(
"_lnk{}_feeid{}", ilink, FeeID);
75 if (mFileFor !=
"link") {
76 LOG(fatal) <<
"Not supported output file splitting: " << mFileFor;
77 throw std::runtime_error(
"invalid option provided for file grouping");
82 outFileLink +=
".raw";
83 mWriter.
registerLink(FeeID, mCruID, mLinkID, mEndPointID, outFileLink);
86 std::unique_ptr<TFile> digiFile(TFile::Open(fileDigitsName.c_str()));
87 if (!digiFile || digiFile->IsZombie()) {
88 LOG(fatal) <<
"Failed to open input digits file " << fileDigitsName;
92 TTree* digiTree = (TTree*)digiFile->Get(
"o2sim");
94 LOG(fatal) <<
"Failed to get digits tree";
98 if (digiTree->GetBranch(
"ZDCDigitBC")) {
99 digiTree->SetBranchAddress(
"ZDCDigitBC", &mzdcBCDataPtr);
101 LOG(fatal) <<
"Branch ZDCDigitBC is missing";
105 if (digiTree->GetBranch(
"ZDCDigitCh")) {
106 digiTree->SetBranchAddress(
"ZDCDigitCh", &mzdcChDataPtr);
108 LOG(fatal) <<
"Branch ZDCDigitCh is missing";
112 if (digiTree->GetBranch(
"ZDCDigitOrbit")) {
113 digiTree->SetBranchAddress(
"ZDCDigitOrbit", &mzdcPedDataPtr);
115 LOG(fatal) <<
"Branch ZDCDigitOrbit is missing";
119 if (digiTree->GetBranchStatus(
"ZDCDigitLabels")) {
120 digiTree->SetBranchStatus(
"ZDCDigitLabel*", 0);
130 for (
int ient = 0; ient < digiTree->GetEntries(); ient++) {
131 digiTree->GetEntry(ient);
132 mNbc = mzdcBCData.size();
133 if (mVerbosity > 0) {
134 LOG(info) <<
"Entry " << ient <<
": processing " << mNbc <<
" BCs stored";
136 for (
int ibc = 0; ibc < mNbc; ibc++) {
137 mBCD = mzdcBCData[ibc];
141 if (ibc == (mNbc - 1)) {
143 if (mzdcBCData[ibc].
ir.
bc != 3563) {
144 if (mVerbosity > 1) {
145 LOG(info) <<
"Closing last orbit " << mzdcBCData[ibc].ir.orbit;
147 insertLastBunch(ibc, mzdcBCData[ibc].
ir.
orbit);
152 auto this_orbit = mzdcBCData[ibc].ir.orbit;
153 auto next_orbit = mzdcBCData[ibc + 1].ir.orbit;
155 if (mzdcBCData[ibc].
ir.
bc == 3563) {
156 this_orbit = this_orbit + 1;
160 if (mVerbosity > 1) {
161 LOG(info) <<
"Inserting last bunch for orbit " <<
orbit;
163 insertLastBunch(ibc,
orbit);
169 LOG(info) <<
"Entry " << ient <<
" Converted BCs: " << mNbc <<
" + added@3563:" << nBCadd <<
" = " << mNbc + nBCadd;
175void Digits2Raw::setTriggerMask()
178 mPrintTriggerMask =
"";
179 for (int32_t im = 0; im <
NModules; im++) {
181 mPrintTriggerMask +=
" ";
184 mPrintTriggerMask +=
"[";
186 if (mModuleConfig->
modules[im].trigChannel[ic]) {
188 mTriggerMask = mTriggerMask | tmask;
189 mPrintTriggerMask +=
"T";
191 mPrintTriggerMask +=
" ";
194 mPrintTriggerMask +=
"]";
197 printf(
"Trigger mask for module %d 0123 %s%s%s%s\n", im,
198 mytmask & 0x1 ?
"T" :
"N",
199 mytmask & 0x2 ?
"T" :
"N",
200 mytmask & 0x4 ?
"T" :
"N",
201 mytmask & 0x8 ?
"T" :
"N");
204 printf(
"trigger_mask=0x%08x %s", mTriggerMask, mPrintTriggerMask.data());
210 for (int32_t im = 0; im <
NModules; im++) {
212 mScalers[im][ic] = 0;
217 mLatestOrbit =
orbit;
222inline void Digits2Raw::updatePedestalReference(
int bc)
228 for (; io < mzdcPedData.size(); io++) {
234 if (io == mzdcPedData.size()) {
235 LOG(fatal) <<
"Cannot find orbit";
237 for (int32_t im = 0; im <
NModules; im++) {
240 auto id = mModuleConfig->
modules[im].channelID[ic];
244 }
else if (mEmpty[
bc] > 0 && mEmpty[
bc] != mLastNEmpty) {
248 for (int32_t im = 0; im <
NModules; im++) {
251 auto id = mModuleConfig->
modules[im].channelID[ic];
252 auto base_m = mSimCondition->
channels[
id].pedestal;
253 auto base_s = mSimCondition->
channels[
id].pedestalFluct;
254 auto base_n = mSimCondition->
channels[
id].pedestalNoise;
255 double deltan = mEmpty[
bc] - mLastNEmpty;
259 mSumPed[im][ic] += gRandom->Gaus(12. * deltan * base_m, 12. * k * base_s * TMath::Sqrt(deltan / k));
261 mSumPed[im][ic] += gRandom->Gaus(0, base_n * TMath::Sqrt(12. * deltan));
262 double myped = mSumPed[im][ic] / double(mEmpty[
bc]) / 12.;
264 int16_t theped = myped;
266 if (myped < -32768) {
272 mPed[im][ic] = *((
uint16_t*)&theped);
275 mLastNEmpty = mEmpty[
bc];
287 mZDC.
data[im][ic].
w[0][1] = 0;
288 mZDC.
data[im][ic].
w[0][2] = 0;
289 mZDC.
data[im][ic].
w[0][3] = 0;
291 mZDC.
data[im][ic].
w[1][1] = 0;
292 mZDC.
data[im][ic].
w[1][2] = 0;
293 mZDC.
data[im][ic].
w[1][3] = 0;
295 mZDC.
data[im][ic].
w[2][1] = 0;
296 mZDC.
data[im][ic].
w[2][2] = 0;
297 mZDC.
data[im][ic].
w[2][3] = 0;
299 mZDC.
data[im][ic].
f.board = im;
300 mZDC.
data[im][ic].
f.ch = ic;
308 mZDC.
data[im][ic].
f.Hit = 1;
311 mZDC.
data[im][ic].
f.hits = mScalers[im][ic];
312 mZDC.
data[im][ic].
f.offset = mPed[im][ic];
326 triggers.
w = mzdcBCData[ibc].moduleTriggers[im];
328 mZDC.
data[im][ic].
f.Alice_0 = triggers.
f.Alice_0;
329 mZDC.
data[im][ic].
f.Alice_1 = triggers.
f.Alice_1;
330 mZDC.
data[im][ic].
f.Alice_2 = triggers.
f.Alice_2;
331 mZDC.
data[im][ic].
f.Alice_3 = triggers.
f.Alice_3;
332 mZDC.
data[im][ic].
f.Auto_m = triggers.
f.Auto_m;
333 mZDC.
data[im][ic].
f.Auto_0 = triggers.
f.Auto_0;
334 mZDC.
data[im][ic].
f.Auto_1 = triggers.
f.Auto_1;
335 mZDC.
data[im][ic].
f.Auto_2 = triggers.
f.Auto_2;
336 mZDC.
data[im][ic].
f.Auto_3 = triggers.
f.Auto_3;
352 if (
orbit != mLatestOrbit) {
356 updatePedestalReference(
bc);
359 resetOutputStructure(
bc,
orbit,
true);
362 assignTriggerBits(ibc,
bc,
orbit,
true);
365 for (int32_t im = 0; im <
NModules; im++) {
367 if (mModuleConfig->
modules[im].readChannel[ic]) {
368 auto id = mModuleConfig->
modules[im].channelID[ic];
369 auto base_m = mSimCondition->
channels[
id].pedestal;
370 auto base_s = mSimCondition->
channels[
id].pedestalFluct;
371 auto base_n = mSimCondition->
channels[
id].pedestalNoise;
372 double base = gRandom->Gaus(base_m, base_s);
373 double val = base + gRandom->Gaus(0, base_n);
375 val = base + gRandom->Gaus(0, base_n);
377 val = base + gRandom->Gaus(0, base_n);
379 val = base + gRandom->Gaus(0, base_n);
381 val = base + gRandom->Gaus(0, base_n);
383 val = base + gRandom->Gaus(0, base_n);
385 val = base + gRandom->Gaus(0, base_n);
387 val = base + gRandom->Gaus(0, base_n);
389 val = base + gRandom->Gaus(0, base_n);
391 val = base + gRandom->Gaus(0, base_n);
393 val = base + gRandom->Gaus(0, base_n);
395 val = base + gRandom->Gaus(0, base_n);
403void Digits2Raw::convertDigits(
int ibc)
412 if (
orbit != mLatestOrbit) {
416 updatePedestalReference(
bc);
419 resetOutputStructure(
bc,
orbit,
false);
422 assignTriggerBits(ibc,
bc,
orbit,
false);
424 if (mVerbosity > 0) {
425 mBCD.
print(mTriggerMask);
428 int chEnt = mBCD.
ref.getFirstEntry();
429 for (
int ic = 0; ic < mBCD.
ref.getEntries(); ic++) {
430 const auto& chd = mzdcChData[chEnt++];
431 if (mVerbosity > 0) {
439 for (int32_t im = 0; im <
NModules; im++) {
441 if (mModuleConfig->
modules[im].channelID[ic] == chd.id &&
442 mModuleConfig->
modules[im].readChannel[ic]) {
444 mZDC.
data[im][ic].
f.s00 = chd.data[is++];
445 mZDC.
data[im][ic].
f.s01 = chd.data[is++];
446 mZDC.
data[im][ic].
f.s02 = chd.data[is++];
447 mZDC.
data[im][ic].
f.s03 = chd.data[is++];
448 mZDC.
data[im][ic].
f.s04 = chd.data[is++];
449 mZDC.
data[im][ic].
f.s05 = chd.data[is++];
450 mZDC.
data[im][ic].
f.s06 = chd.data[is++];
451 mZDC.
data[im][ic].
f.s07 = chd.data[is++];
452 mZDC.
data[im][ic].
f.s08 = chd.data[is++];
453 mZDC.
data[im][ic].
f.s09 = chd.data[is++];
454 mZDC.
data[im][ic].
f.s10 = chd.data[is++];
455 mZDC.
data[im][ic].
f.s11 = chd.data[is++];
464void Digits2Raw::writeDigits()
467 constexpr static gsl::span<char>
empty;
474 bool TM = mZDC.
data[im][0].
f.Auto_m;
475 bool T0 = mZDC.
data[im][0].
f.Auto_0;
476 bool T1 = mZDC.
data[im][0].
f.Auto_1;
477 bool T2 = mZDC.
data[im][0].
f.Auto_2;
478 bool T3 = mZDC.
data[im][0].
f.Auto_3;
479 bool A0 = mZDC.
data[im][0].
f.Alice_0;
480 bool A1 = mZDC.
data[im][0].
f.Alice_1;
481 bool A2 = mZDC.
data[im][0].
f.Alice_2;
482 bool A3 = mZDC.
data[im][0].
f.Alice_3;
483 bool tcond_continuous = T0 || T1;
484 bool tcond_triggered = A0 || A1 || (A2 && (T0 || TM)) || (A3 && T0);
485 bool tcond_last = mZDC.
data[im][0].
f.bc == 3563;
487 bool addedChData[
NChPerModule] = {
false,
false,
false,
false};
488 if (tcond_triggered || (mIsContinuous && tcond_continuous) || (mZDC.
data[im][0].
f.bc == 3563)) {
491 if (mModuleConfig->
modules[im].readChannel[ic]) {
493 if (mEnablePadding) {
494 gsl::span<char> payload{
reinterpret_cast<char*
>(&mZDC.
data[im][ic].
w[iw][0]), data_size};
495 mWriter.
addData(FeeID, mCruID, mLinkID, mEndPointID,
ir, payload);
497 gsl::span<char> payload{
reinterpret_cast<char*
>(&mZDC.
data[im][ic].
w[iw][0]),
PayloadPerGBTW};
499 mWriter.
addData(FeeID, mCruID, mLinkID, mEndPointID,
ir, payload);
502 addedChData[ic] =
true;
507 if (addedChData[0] ==
false && addedChData[1] ==
false) {
511 if (addedChData[2] ==
false && addedChData[3] ==
false) {
515 if (mVerbosity > 1) {
516 if (tcond_continuous) {
517 printf(
"M%d Cont. T0=%d || T1=%d\n", im, T0, T1);
519 if (tcond_triggered) {
520 printf(
"M%d Trig. %s A0=%d || A1=%d || (A2=%d && (T0=%d || TM=%d))=%d || (A3=%d && T0=%d )=%d\n", im, mIsContinuous ?
"CM" :
"TM", A0, A1, A2, T0, TM, A2 && (T0 || TM), A3, T0, A3 && T0);
522 if (mZDC.
data[im][0].
f.bc == 3563) {
523 printf(
"M%d is last BC\n", im);
525 if (tcond_triggered || (mIsContinuous && tcond_continuous) || (mZDC.
data[im][0].
f.bc == 3563)) {
527 if (mModuleConfig->
modules[im].readChannel[ic]) {
534 if (mVerbosity > 2) {
535 printf(
"orbit %9u bc %4u M%d SKIP\n", mZDC.
data[im][0].
f.orbit, mZDC.
data[im][0].
f.bc, im);
545 if (word ==
nullptr) {
553 unsigned __int128
val = word[2];
558 static uint32_t last_orbit = 0, last_bc = 0;
561 ULong64_t msb =
val >> 64;
566 if ((
a & 0x3) == 0) {
569 if (myorbit != last_orbit || mybc != last_bc) {
570 printf(
"Orbit %9u bc %4u\n", myorbit, mybc);
571 last_orbit = myorbit;
574 printf(
"%04x %08x %08x ",
c,
b,
a);
576 word16.uns = (lsb >> 8) & 0xffff;
580 printf(
"orbit %9u bc %4u hits %4u offset %+6i Board %2u Ch %1u", myorbit, mybc, hits, word16.sig, board, ch);
583 printf(
" ERROR with board");
586 printf(
" ERROR with ch");
589 auto id = moduleConfig->
modules[board].channelID[ch];
593 printf(
" error with ch id");
596 }
else if ((
a & 0x3) == 1) {
597 printf(
"%04x %08x %08x ",
c,
b,
a);
598 printf(
" %s %s %s %s ",
a & 0x10 ?
"A0" :
" ",
a & 0x20 ?
"A1" :
" ",
a & 0x40 ?
"A2" :
" ",
a & 0x80 ?
"A3" :
" ");
609 printf(
" %5d %5d %5d %5d %5d %5d%s%s",
s[0],
s[1],
s[2],
s[3],
s[4],
s[5], (
a & 0x4) ?
" DLOSS" :
"", (
a & 0x8) ?
" ERROR" :
"");
610 }
else if ((
a & 0x3) == 2) {
611 printf(
"%04x %08x %08x ",
c,
b,
a);
612 printf(
"%s %s %s %s %s %s ",
a & 0x4 ?
"H" :
" ",
a & 0x8 ?
"TM" :
" ",
a & 0x10 ?
"T0" :
" ",
a & 0x20 ?
"T1" :
" ",
a & 0x40 ?
"T2" :
" ",
a & 0x80 ?
"T3" :
" ");
623 printf(
" %5d %5d %5d %5d %5d %5d",
s[0],
s[1],
s[2],
s[3],
s[4],
s[5]);
624 }
else if ((
a & 0x3) == 3) {
625 printf(
"%04x %08x %08x ",
c,
b,
a);
643 for (
int i = 0;
i < mModuleConfig->
NWMap;
i++) {
645 for (
int j = 0;
j < 64;
j++) {
648 mEmpty[ib] = mNEmpty;
650 mEmpty[ib] = mNEmpty;
658 const int LHCMaxBunches = o2::constants::lhc::LHCMaxBunches;
659 for (
int32_t ib = 0; ib < LHCMaxBunches; ib++) {
660 int mb = (ib + 31) % o2::constants::lhc::LHCMaxBunches;
661 int m1 = (ib + 1) % o2::constants::lhc::LHCMaxBunches;
663 int p1 = (ib - 1 + o2::constants::lhc::LHCMaxBunches) % o2::constants::lhc::LHCMaxBunches;
664 int p2 = (ib - 2 + o2::constants::lhc::LHCMaxBunches) % o2::constants::lhc::LHCMaxBunches;
665 int p3 = (ib - 3 + o2::constants::lhc::LHCMaxBunches) % o2::constants::lhc::LHCMaxBunches;
666 int p4 = (ib - 4 + o2::constants::lhc::LHCMaxBunches) % o2::constants::lhc::LHCMaxBunches;
667 if (bunchPattern[mb] || bunchPattern[m1] || bunchPattern[ib] || bunchPattern[
p1] || bunchPattern[
p2] || bunchPattern[p3]) {
668 mEmpty[ib] = mNEmpty;
671 mEmpty[ib] = mNEmpty;
680 if (mNEmpty != 0 && mNEmpty != mModuleConfig->
nBunchAverage) {
681 LOG(fatal) <<
"Mismatch with empty map mNEmpty = " << mNEmpty <<
" nBunchAverage = " << mModuleConfig->
nBunchAverage;
683 LOG(info) <<
"There are " << mNEmpty <<
" clean empty bunches";
unsigned short int uint16_t
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
configStandalone Reconstruction rec_tpc multiplier for the combined cluster track error during track following area in cm for the search of for z only used if decrease removal by when above this local occupancy rowx Shift of TPC revert cluster flag edge bit distance to edge exceeds this ZOffset for secondary multiple of radius max P of electron K BB bands crossing max P of electron p BB bands crossing max P of electron d BB bands crossing max P of electron t BB bands crossing min accepted dEdxMaxTPC of the track Additive extra cluster error for Y2 if edge flag set Additive extra cluster error for Y2 if single set Additive extra cluster error for Y2 if or single set Additive extra cluster error for Z2 if or single set Extra errors to add to track when crossing depending on addErrorsCECrossing Inner portion of y range in sector that is not used in searching for extrapolated track candidates factor2YS for track merging factor2K for track merging Margin in cm of Y position when rejecting edge clusters based on uncorrected track Y Max fraction of shared clusters for tracklet Except pad from cluster finding if total number of charges in a fragment is above this Except pad from cluster finding if number of consecutive charges in a fragment is above this Threshold where a timebin is considered disabling the noisy pad check for that pad Treat signal above this minimum as saturated Smoothing factor for the exponential Highly Ionising Particle tail filter Number of timebins to use for the averaging Add additional custom track errors when crossing relative as fraction of Do N fit passes in final fit of< 0:reject at max -n hits") AddOptionRTC(rejectIFCLowRadiusCluster, uint8_t, 1, "", 0, "Reject clusters that get the IFC mask error during refit") AddOptionRTC(dEdxTruncLow, uint8_t, 2, "", 0, "Low truncation threshold, fraction of 128") AddOptionRTC(dEdxTruncHigh, uint8_t, 77, "", 0, "High truncation threshold, fraction of 128") AddOptionRTC(extrapolationTracking, int8_t, 1, "", 0, "Enable Extrapolation Tracking(prolong tracks to adjacent sectors to find short segments)") AddOptionRTC(disableRefitAttachment, uint8_t, 0, "", 0, "Bitmask to disable certain attachment steps during refit(1:attachment, 2:propagation, 4:loop following, 8:mirroring)") AddOptionRTC(rejectionStrategy, uint8_t, o2::gpu::GPUSettings::RejectionStrategyA, "", 0, "Enable rejection of TPC clusters for compression(0=no, 1=strategy A, 2=strategy B)") AddOptionRTC(mergeLoopersAfterburner, uint8_t, 1, "", 0, "Run afterburner for additional looper merging") AddOptionRTC(compressionTypeMask, uint8_t, o2::gpu::GPUSettings::CompressionFull, "", 0, "TPC Compression mode bits(1=truncate charge/width LSB, 2=differences, 4=track-model)") AddOptionRTC(compressionSortOrder, uint8_t, o2::gpu::GPUSettings::SortTime, "", 0, "Sort order of TPC compression(0=time, 1=pad, 2=Z-time-pad, 3=Z-pad-time, 4=no sorting(use incoming order))") AddOptionRTC(sigBitsCharge, uint8_t, 4, "", 0, "Number of significant bits for TPC cluster charge in compression mode 1") AddOptionRTC(sigBitsWidth, uint8_t, 3, "", 0, "Number of significant bits for TPC cluster width in compression mode 1") AddOptionRTC(dropLoopers, uint8_t, 0, "", 0, "Drop looping tracks starting from second loop") AddOptionRTC(mergerInterpolateErrors, uint8_t, 1, "", 0, "Use interpolation instead of extrapolation for chi2 based cluster rejection") AddOptionRTC(mergerInterpolateRejectAlsoOnCurrentPosition, uint8_t, 1, "", 0, "When using mergerInterpolateErrors, reject based on chi2 twice computed with interpolated and current track position starting from NDF > mergerNonInterpolateRejectMinNDF Merge tracks accross the central electrode Enable PID response Add sub threshold clusters in TPC dEdx computation OR mask of TPC flags that will reject the cluster in alternative dEdx Reject edge clusters based on uncorrected track Y during track fit Increase decrease removal by when on this number of pads from the edge h configStandalone Reconstruction rec_trd Max chi2 for TRD tracklets to be matched to a track Chi2 cut for strict matching mode Number of sigmas for ITS TPC track time error estimate Addition to search road around track prolongation along Y in cm Optimal tracklet rphi resolution in maximum chi2 per attached tracklet for TRD tracks take into account the full likelihood of the slope including exponential tails Tracks with less attached tracklets are discarded after the tracking Post trigger Pile up integration time in BCs fits all iterations but the last one in projections Use material lookup table for TPC refit Apply workarounds to avoid cyclic merge should not be needed tpc dyn configStandalone Processing proc_rtc Replace constant variables static by constexpr expressions Compile RTC in deterministic with NO_FAST_MATH flags and GPUCA_DETERMINISTIC_MODE define Use RTC to optimize GPU code h configStandalone Processing proc_rtctech Use a file lock to serialize access to the cache folder int32_t
constexpr int p1()
constexpr to accelerate the coordinates changing
converts digits to raw format
static const ZDCSimParam & Instance()
void addData(uint16_t feeid, uint16_t cru, uint8_t lnk, uint8_t endpoint, const IR &ir, const gsl::span< char > data, bool preformatted=false, uint32_t trigger=0, uint32_t detField=0)
LinkData & registerLink(uint16_t fee, uint16_t cru, uint8_t link, uint8_t endpoint, std::string_view outFileName)
void processDigits(const std::string &outDir, const std::string &fileDigitsName)
Prepare list of clean empty bunches for baseline evaluation.
void emptyBunches(std::bitset< 3564 > &bunchPattern)
static void print_gbt_word(const uint32_t *word, const ModuleConfig *moduleConfig=nullptr)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
constexpr int FeeID[2]
FEE_ID in RDH.
constexpr int NChPerModule
constexpr unsigned short Id_w1
constexpr int PayloadPerGBTW
constexpr unsigned short Id_w2
constexpr unsigned short Id_w0
constexpr std::string_view ChannelNames[]
std::string to_string(gsl::span< T, Size > span)
uint16_t bc
bunch crossing ID of interaction
static std::string concat_string(Ts const &... ts)
o2::dataformats::RangeRefComp< 6 > ref
void print(uint32_t triggerMask=0, int diff=0) const
EventChData data[NModules][NChPerModule]
std::array< uint64_t, NWMap > emptyMap
static constexpr int NWMap
std::array< Module, MaxNModules > modules
std::array< ChannelSimCondition, NChannels > channels
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
o2::InteractionRecord ir(0, 0)
UInt_t w[NWPerBc][NWPerGBTW]
struct ModuleTriggerMap f