12#ifndef O2_MCH_RAW_IMPL_HELPERS_MOVEBUFFER_H
13#define O2_MCH_RAW_IMPL_HELPERS_MOVEBUFFER_H
25 std::vector<std::byte>& b8,
30 b8.reserve(s8 + b64.size() / 8);
35 b8.emplace_back(std::byte{
static_cast<uint8_t>((
g &
w) >>
i)});
38 return b8.size() - s8;
44 std::vector<std::byte>& b8,
67 std::vector<uint64_t>& b64,
71 throw std::invalid_argument(
"b8 span must have a size that is a multiple of 8");
74 for (
auto i = 0;
i < b8.size();
i += 8) {
76 b64.emplace_back(
w | prefix);
78 return b64.size() -
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 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
GLboolean GLboolean GLboolean b
GLubyte GLubyte GLubyte GLubyte w
uint64_t b8to64(gsl::span< const std::byte > buffer, size_t i)
size_t copyBuffer(const std::vector< uint64_t > &b64, std::vector< std::byte > &b8, uint64_t prefix=0)
size_t moveBuffer(std::vector< uint64_t > &b64, std::vector< std::byte > &b8, uint64_t prefix=0)