11 #include <boost/program_options.hpp>
20 boost::program_options::options_description& opt) {
21 using namespace boost::program_options;
23 opt.add_options()(
"evg-cms-energy",
value<double>()->default_value(14000.),
24 "Center-of-mass energy collision in GeV")(
26 "PDG number of the first beam particle")(
28 "PDG number of the second beam particle")(
31 "Pythia8 process string for the hard scatter")(
34 "Pythi8 process string for the pile-up")(
36 "Number of instantaneous pile-up events")(
38 "Transverse vertex standard deviation in mm")(
40 "Longitudinal vertex standard deviation in mm")(
42 "Temporal vertex standard deviation in ns")(
43 "evg-shuffle", bool_switch(),
"Randomnly shuffle the vertex order.");
51 hard.
cmsEnergy = vm[
"evg-cms-energy"].as<
double>();
52 hard.
settings = {vm[
"evg-hard-process"].as<std::string>()};
59 pileup.cmsEnergy = vm[
"evg-cms-energy"].as<
double>();
60 pileup.settings = {vm[
"evg-pileup-process"].as<std::string>()};
62 auto mu = vm[
"evg-pileup"].as<
size_t>();
72 Pythia8Generator::makeFunction(hard, lvl)},
75 Pythia8Generator::makeFunction(pileup, lvl)},
77 cfg.shuffle = vm[
"evg-shuffle"].as<
bool>();