34 #ifndef GENBB_HELP_NUCLEAR_DECAY_GENERATOR_H 35 #define GENBB_HELP_NUCLEAR_DECAY_GENERATOR_H 1 39 #include <boost/scoped_ptr.hpp> 50 class nuclear_decay_manager;
97 boost::scoped_ptr<nuclear_decay_manager> _ndm_;
100 boost::scoped_ptr<mygsl::rng> _random_;
114 #endif // GENBB_HELP_NUCLEAR_DECAY_GENERATOR_H unsigned long get_seed() const
Return the Local PRNG's seed.
virtual void initialize(const datatools::properties &setup_, datatools::service_manager &service_manager_, detail::pg_dict_type &dictionary_)
Main initialization interface method.
virtual ~nuclear_decay_generator()
Destructor.
virtual bool can_external_random() const
Accept external PRNG.
virtual bool is_initialized() const
Check initialization status.
GENBB particle generator abstract base class.
Definition: i_genbb.h:59
A generator that shoot nuclear decays.
Definition: nuclear_decay_generator.h:53
virtual void reset()
Reset.
nuclear_decay_generator()
Default constructor.
mygsl::rng & grab_random()
Return the active PRNG.
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
#define GENBB_PG_REGISTRATION_INTERFACE(GENBB_CLASS_NAME)
Definition: genbb_macros.h:22
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
virtual bool has_next()
Check if the generator has a next event.
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
virtual void _load_next(primary_event &event_, bool compute_classification_)
Generate the next event:
const mygsl::rng & get_random() const
Return the active PRNG.
std::map< std::string, pg_entry_type > pg_dict_type
Definition: pg_tools.h:134
Description of a nuclear level.
Definition: nuclear_level.h:53
Pseudo random number generator.
Definition: rng.h:53