32 #ifndef GENBB_HELP_WDECAY0_H 33 #define GENBB_HELP_WDECAY0_H 40 #include <boost/scoped_ptr.hpp> 88 virtual void tree_dump(std::ostream& out = std::clog,
89 const std::string& title =
"",
90 const std::string& indent =
"",
91 bool inherit =
false)
const;
93 void dump(std::ostream & = std::clog)
const;
110 bool compute_classification_ =
true);
118 void _set_decay_isotope_(
const std::string & di_);
120 void _set_decay_version_(
int ver_);
127 std::string _decay_isotope_;
129 int _decay_dbd_level_;
130 int _decay_dbd_mode_;
131 size_t _event_count_;
136 unsigned long _seed_;
139 boost::scoped_ptr<genbb::decay0::bbpars> _bb_params_;
153 #endif // GENBB_HELP_WDECAY0_H
virtual bool is_initialized() const
Check initialization status.
const mygsl::rng & get_random() const
void dump(std::ostream &=std::clog) const
GENBB particle generator abstract base class.
Definition: i_genbb.h:59
Decay0/GENBB (C++ port) generator wrapper.
Definition: wdecay0.h:58
Undefined decay type.
Definition: wdecay0.h:64
virtual void tree_dump(std::ostream &out=std::clog, const std::string &title="", const std::string &indent="", bool inherit=false) const
Smart print.
virtual bool has_next()
Returns true if the generator can provide one more generated event.
virtual void _load_next(primary_event &event_, bool compute_classification_=true)
Protected abstract interface to be invoked by the public 'load_next' method.
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
double get_to_all_events() const
#define GENBB_PG_REGISTRATION_INTERFACE(GENBB_CLASS_NAME)
Definition: genbb_macros.h:22
size_t get_event_count() const
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
virtual void reset()
Reset method.
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
genbb::decay0::bbpars & bb_params()
virtual void initialize(const datatools::properties &setup_, datatools::service_manager &service_manager_, detail::pg_dict_type &dictionary_)
Main initialization interface method.
Radioactive background decay.
Definition: wdecay0.h:66
std::map< std::string, pg_entry_type > pg_dict_type
Definition: pg_tools.h:134
static const int DBD_MODE_INVALID
Invalid decay mode.
Definition: wdecay0.h:70
Double beta decay.
Definition: wdecay0.h:65
decay_type
Type of decay.
Definition: wdecay0.h:63
Pseudo random number generator.
Definition: rng.h:53
virtual bool can_external_random() const
Check if the generator accepts an external PRNG.
mygsl::rng & grab_random()