17 #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")(
30 value<std::string>()->default_value(
"HardQCD:all = on"),
31 "Pythia8 process string for the hard scatter")(
33 value<std::string>()->default_value(
"SoftQCD:all = on"),
34 "Pythi8 process string for the pile-up")(
35 "evg-pileup", value<double>()->default_value(200),
36 "Mean number of instantaneous pile-up events")(
37 "evg-vertex-xy-std", value<double>()->default_value(0.015),
38 "Transverse vertex standard deviation in mm")(
39 "evg-vertex-z-std", value<double>()->default_value(55.5),
40 "Longitudinal vertex standard deviation in mm")(
41 "evg-vertex-t-std", value<double>()->default_value(0.08),
42 "Temporal vertex standard deviation in ns");
50 hard.
cmsEnergy = vm[
"evg-cms-energy"].as<
double>();
51 hard.
settings = {vm[
"evg-hard-process"].as<std::string>()};
58 pileup.cmsEnergy = vm[
"evg-cms-energy"].as<
double>();
59 pileup.settings = {vm[
"evg-pileup-process"].as<std::string>()};
61 auto mu = vm[
"evg-pileup"].as<
double>();
71 Pythia8Generator::makeFunction(hard, lvl)},
74 Pythia8Generator::makeFunction(pileup, lvl)},