3#include "FairBoxGenerator.h"
4#include "FairPrimaryGenerator.h"
7#include <Math/Vector3D.h>
8#include <Math/Vector3Dfwd.h>
51 auto Create() -> std::unique_ptr<FairPrimaryGenerator>;
int num_of_planes_
Number of planes.
auto create_muon_generator() -> std::unique_ptr< FairPrimaryGenerator >
auto create_box_generator() -> std::unique_ptr< FairPrimaryGenerator >
std::reference_wrapper< Options > options_
auto Create() -> std::unique_ptr< FairPrimaryGenerator >
Create a primary generator.
void SetRandomGen(TRandom3 *random_gen)
void SetNumOfPlanes(int num_of_planes)
GeneratorFactory(Options &options)
Default constructor.
Simulation of NeuLAND Bar/Paddle.
constexpr auto DEFAULT_BOX_GENERATOR_THETA
constexpr auto DEFAULT_GENERATOR_ENERGY
constexpr auto DEFAULT_BOX_GENERATOR_PHI
constexpr auto MaxNumberOfPlanes
MinMaxValue< double > MinMaxValueD
ValueError< double > ValueErrorD
MinMaxValueD theta
Theta min and max value for outgoing direction.
MinMaxValueD phi
Phi min and max value for outgoing direction.
ROOT::Math::XYZVectorD position
Location of particle generation.
int multiplicity
Multiplicity of particles.
std::string particle_type
Particle type.
ValueErrorD energy
energy value with error [MeV]
GeneratorType generator_type
Type of generator.