32 #ifndef GENBB_HELP_GENBB_MGR_H 33 #define GENBB_HELP_GENBB_MGR_H 1 78 void set_format (
const std::string & format_ =
"");
90 void dump (std::ostream & out_ = std::clog)
const;
92 void set (
const std::string & filename_);
100 virtual void reset ();
107 bool compute_classification_ =
true);
117 void _load_next_genbb_ ();
119 void _load_next_boost_ ();
125 std::list<std::string> _filenames_;
126 std::string _current_filename_;
132 double _genbb_weight_;
140 #endif // GENBB_HELP_GENBB_MGR_H Legacy bridge manager that reads Genbb files.
Definition: genbb_mgr.h:58
bool is_format_genbb() const
virtual ~genbb_mgr()
Destructor.
Definition: genbb_mgr.h:63
void set_format(int format_=FORMAT_GENBB)
GENBB particle generator abstract base class.
Definition: i_genbb.h:59
bool is_format_boost() const
genbb_mgr(int format_=FORMAT_GENBB)
Constructor.
void dump(std::ostream &out_=std::clog) const
virtual void reset()
Reset method.
format_type
Definition: genbb_mgr.h:62
static const std::string & format_boost_label()
#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 is_initialized() const
Check initialization status.
virtual void _load_next(primary_event &event_, bool compute_classification_=true)
Protected abstract interface to be invoked by the public 'load_next' method.
void set(const std::string &filename_)
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
Definition: genbb_mgr.h:64
static const std::string & format_genbb_label()
std::map< std::string, pg_entry_type > pg_dict_type
Definition: pg_tools.h:134
virtual bool has_next()
Returns true if the generator can provide one more generated event.
virtual void initialize(const datatools::properties &config_, datatools::service_manager &service_manager_, detail::pg_dict_type &dictionary_)
Main initialization interface method.