33 const auto& position = options.position;
47 energy_dist.set_mean_sigma(options.energy.value, options.energy.error);
55 auto primGen = std::make_unique<FairPrimaryGenerator>();
56 primGen->AddGenerator(CosmicMuonGenerator.release());
66 std::make_unique<FairBoxGenerator>(converter.get_pid(options.particle_type), options.multiplicity);
67 const auto& position = options.position;
68 boxGen->SetXYZ(position.x(), position.y(), position.z());
69 boxGen->SetThetaRange(options.theta.min, options.theta.max);
70 boxGen->SetPhiRange(options.phi.min, options.phi.max);
71 boxGen->SetEkinRange(options.energy.value - options.energy.error, options.energy.value + options.energy.error);
72 auto primGen = std::make_unique<FairPrimaryGenerator>();
73 primGen->AddGenerator(boxGen.release());