11#ifndef ALICEO2_BCRANGE_H
12#define ALICEO2_BCRANGE_H
73 return a.first < b.first;
79 template <
typename BCs>
93 nNotCompBCs += (inext - ilast);
95 nNotCompBCs += (inext - ilast - 1);
99 auto bclast = bcs.rawIteratorAt(bcs.size());
100 nNotCompBCs += (bclast.globalIndex() - ilast);
101 LOGF(
debug,
"Number of BCs not in range of compatible BCs: %i", nNotCompBCs);
116 std::vector<limits> tmpList;
127 ifirst = iter->first;
128 ilast = iter->second;
132 if (iter->first > (ilast + 1)) {
134 tmpList.push_back(
limits(ifirst, ilast));
135 ifirst = iter->first;
136 ilast = iter->second;
138 if (iter->second > ilast) {
139 ilast = iter->second;
143 tmpList.push_back(
limits(ifirst, ilast));
152 template <
typename BCs>
153 void compact(BCs bcs, Double_t fillFac,
bool toForce =
false)
162 auto nBCs = bcs.size();
166 auto nToAdd = (
uint64_t)(nNotCompBCs * fillFac);
170 uint64_t ifirst = (nBCs - nToAdd) / 2;
171 uint64_t ilast = ifirst + nToAdd - 1;
189 for (
auto ii = 0; ii < nr; ii++) {
211 return (index >= a.first) && (index <= a.second);
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
GLboolean GLboolean GLboolean b
GLuint GLsizei const GLchar * label
GLboolean GLboolean GLboolean GLboolean a
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...