34 #ifndef FALAISE_SNEMO_SIMULATION_COSMIC_MUON_GENERATOR_H 35 #define FALAISE_SNEMO_SIMULATION_COSMIC_MUON_GENERATOR_H 1 47 class i_unary_function;
48 class von_neumann_method;
52 class multi_properties;
57 namespace simulation {
112 virtual void reset();
132 int _sea_level_mode_;
134 _sea_level_toy_setup_;
140 unsigned long _seed_;
150 #endif // FALAISE_SNEMO_SIMULATION_COSMIC_MUON_GENERATOR_H
const mygsl::rng & get_random() const
static double energy_spectrum_at_sea_level_HE(double muon_cos_theta, double muon_energy)
double underground_depth
Definition: cosmic_muon_generator.h:86
double energy_sigma
~ 1 GeV
Definition: cosmic_muon_generator.h:68
Definition: cosmic_muon_generator.h:84
Generator for cosmic muons.
Definition: cosmic_muon_generator.h:60
double maximum_theta
Maximum azimuthal angle (70 degree)
Definition: cosmic_muon_generator.h:70
Definition: cosmic_muon_generator.h:64
virtual bool has_next()
Check if some next primary event is available.
Definition: cosmic_muon_generator.h:62
Definition: cosmic_muon_generator.h:78
virtual void initialize(const datatools::properties &setup_, datatools::service_manager &service_manager_, ::genbb::detail::pg_dict_type &dictionary_)
Main initialization interface method.
Definition: cosmic_muon_generator.h:64
mygsl::von_neumann_method * angular_VNM
Definition: cosmic_muon_generator.h:72
virtual void reset()
Reset the object.
mode_type
Definition: cosmic_muon_generator.h:62
std::string underground_lab
Definition: cosmic_muon_generator.h:85
virtual void _load_next(::genbb::primary_event &event_, bool compute_classification_=true)
#define GENBB_PG_REGISTRATION_INTERFACE(GENBB_CLASS_NAME)
double energy_mean
~ 4 GeV
Definition: cosmic_muon_generator.h:67
mygsl::rng & grab_random()
Definition: calo_tapered_scin_box_model.h:54
Definition: cosmic_muon_generator.h:62
sea_level_mode_type
Definition: cosmic_muon_generator.h:64
virtual ~cosmic_muon_generator()
Destructor.
Definition: cosmic_muon_generator.h:62
double muon_ratio
Ratio (Nmu+/Nmu-) ~ 1.1.
Definition: cosmic_muon_generator.h:69
Definition: cosmic_muon_generator.h:66
cosmic_muon_generator()
Constructor.
bool can_external_random() const
bool is_initialized() const
mygsl::i_unary_function * theta_density_function
Definition: cosmic_muon_generator.h:71
Definition: cosmic_muon_generator.h:64
std::map< std::string, pg_entry_type > pg_dict_type