32 #ifndef GENBB_HELP_BASE_DECAY_DRIVER_H 33 #define GENBB_HELP_BASE_DECAY_DRIVER_H 1 77 virtual void tree_dump(std::ostream & out_ = std::clog,
78 const std::string & title_ =
"",
79 const std::string & indent_ =
"",
80 bool inherit_ =
false)
const;
96 virtual void reset() = 0;
135 #endif // GENBB_HELP_BASE_DECAY_DRIVER_H static base_decay_driver * create(const std::string &driver_id_)
void set_logging(datatools::logger::priority)
Set the logging priority threshold.
datatools::logger::priority get_logging() const
Return the logging priority threshold.
virtual void reset()=0
Reset.
void _initialize(const datatools::properties &setup_)
Initialization.
void initialize_simple()
Initialization.
Base decay driver.
Definition: base_decay_driver.h:60
virtual ~base_decay_driver()
Destructor.
void _set_default()
Set the default attributes.
void _set_initialized(bool)
Set the initialization flag.
virtual int fill(mygsl::rng &prng_, primary_event &event_)=0
Shoot the kinematics of the decay and fill a primary event.
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
bool is_initialized() const
Check initialization status.
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
Utilities for logging information.
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
Description of a nuclear decay.
Definition: nuclear_decay.h:54
Decay driver factory methods.
Definition: base_decay_driver.h:125
#define DATATOOLS_FACTORY_SYSTEM_REGISTER_INTERFACE(BaseType)
Declaration of a system (allocator/functor) factory register as a static member of a base class and s...
Definition: factory_macros.h:52
virtual void initialize(const datatools::properties &setup_)=0
Initialize from configuration properties.
base_decay_driver()
Default constructor.
Description of a nuclear level.
Definition: nuclear_level.h:53
Pseudo random number generator.
Definition: rng.h:53
virtual void set_levels(const nuclear_level &level_initial_, const nuclear_level &level_final_)
Set the transition parameters from the initial and stop levels.