22 r = (
r << 32) & 0xFFFFFFFF00000000 |
b;
30 return std::make_pair(
a,
b);
35 auto [itError, isNew] = mErrors[errorType].emplace(
encode(id0, id1),
Error{errorType, id0, id1,
n});
37 itError->second.count +=
n;
45 itError->second.count +=
error.count;
51 for (
auto error : errors) {
92 for (
const auto& typeErrors : mErrors) {
93 for (
auto error : typeErrors.second) {
101 for (
const auto& [thisType, errors] : mErrors) {
102 if (thisType ==
type) {
103 for (
auto error : errors) {
112 for (
const auto& [thisType, errors] : mErrors) {
114 for (
auto error : errors) {
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
char error[CURL_ERROR_SIZE]
A container class to summarize errors encountered during processing.
void forEach(ErrorFunction f) const
uint64_t getNumberOfErrors() const
void add(ErrorType errorType, uint32_t id0, uint32_t id1, uint64_t n=1)
std::function< void(Error error)> ErrorFunction
GLboolean GLboolean GLboolean b
GLint GLint GLsizei GLint GLenum GLenum type
GLboolean GLboolean GLboolean GLboolean a
constexpr ErrorGroup errorGroup(ErrorType error)
uint64_t encode(uint32_t a, uint32_t b)
std::pair< uint32_t, uint32_t > decode(uint64_t x)