41 'E',
'T',
'A',
'O',
'I',
'_',
'N',
'S',
'H',
'R',
42 '/',
'D',
'L',
'1',
'2',
'C',
'U',
'M',
'W',
'3',
43 '4',
'5',
'6',
'7',
'8',
'9',
'0',
'F',
'G',
'Y',
44 'P',
'B',
'V',
'K',
'J',
'X',
'Q',
'Z',
'?'};
52 2, 3, 5, 7, 11, 13, 17, 19, 23, 29,
53 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
54 73, 79, 83, 89, 97, 101, 103, 107, 109, 113,
55 127, 131, 137, 139, 149, 151, 157, 163, 167, 173,
56 179, 181, 191, 193, 197, 199, 211, 223, 227, 229,
228 const size_t length(
min(input.length(), (string::size_type)52));
238 char** argv)
noexcept
240 vector<string>*
arguments =
new vector<string>();
242 for (
int i = 0;
i < argc; ++
i) {
243 arguments->push_back(std::move(
string(argv[
i])));
246 return unique_ptr<vector<string>>(
arguments);
250 const char separator)
noexcept
254 vector<string>* substrings =
new vector<string>();
255 while (getline(ss, item, separator)) {
256 substrings->push_back(item);
258 return unique_ptr<vector<string>>(substrings);
264 vector<string>* ret =
new vector<string>();
266 std::copy(istream_iterator<string>(
buffer),
267 istream_iterator<string>(),
268 back_inserter(*ret));
269 return unique_ptr<vector<string>>(ret);
334 const char next =
start[
i];
351 const char next =
start[
i];
362 const string& list_name,
363 const list<pair<string, string>>& parameters)
noexcept
366 ss << list_name << endl
367 <<
string(list_name.length() + 26,
'-') << endl
370 for (
auto k_v : parameters) {
371 if (k_v.first.length() > key_length) {
372 key_length = k_v.first.length();
375 key_length += 4 - (key_length % 4);
376 for (
auto k_v : parameters) {
377 ss <<
" " << k_v.first <<
string(key_length - k_v.first.length(),
' ') << k_v.second << endl;
380 <<
"=========================================================="
381 "======================"
char to_alpha_numeric(const uint8_t c) noexcept
uniform_int_distribution< long long > uniform_dist(32, 126)
geometric_distribution< long long > geom_dist(0.1)
constexpr char ALPHABET[39]
constexpr uint64_t PRIMES[52]
default_random_engine gen(dev())
uint64_t exp(uint64_t base, uint8_t exp) noexcept
constexpr uint64_t MODULO(13835058055282163729ULL)
uint8_t lookup(const char input) noexcept
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
GLsizei const GLchar *const * string
GLsizei GLsizei GLchar * source
GLuint GLsizei GLsizei * length
bpo::variables_map arguments
std::string random_string2(const size_t length) noexcept
std::string to_hex_little_endian(const char *const start, size_t length) noexcept
std::unique_ptr< std::vector< std::string > > split(const std::string &source, const char separator) noexcept
uint64_t hash_code(const std::string &input) noexcept
std::unique_ptr< std::vector< std::string > > convert_strings(const int argc, char **argv) noexcept
std::string to_hex_big_endian(const char *const start, size_t length) noexcept
void print_k_v_list(const std::string &list_name, const std::list< std::pair< std::string, std::string > > ¶meters) noexcept
std::string random_string(const size_t length) noexcept
std::unique_ptr< std::vector< std::string > > split_by_whitespace(const std::string &source) noexcept