34 #ifndef GENBB_HELP_FROM_FILE_GENERATOR_H 35 #define GENBB_HELP_FROM_FILE_GENERATOR_H 1 76 bool compute_classification_ =
true);
81 std::string _PE_label_;
82 boost::scoped_ptr<pimpl_imp> _pimpl_;
96 #endif // GENBB_HELP_FROM_FILE_GENERATOR_H GENBB particle generator abstract base class.
Definition: i_genbb.h:59
A generator that loads primary events from a file.
Definition: from_file_generator.h:43
virtual void reset()
Reset.
virtual ~from_file_generator()
Destructor.
virtual void initialize(const datatools::properties &setup_, datatools::service_manager &service_manager_, detail::pg_dict_type &dictionary_)
Main initialization interface method.
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
virtual bool has_next()
Check if the generator has a next event.
#define GENBB_PG_REGISTRATION_INTERFACE(GENBB_CLASS_NAME)
Definition: genbb_macros.h:22
from_file_generator()
Default constructor.
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
void set_primary_event_bank_label(const std::string &)
Set the label of the primary event bank.
virtual bool is_initialized() const
Check initialization status.
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
virtual void _load_next(primary_event &event_, bool compute_classification_=true)
Protected abstract interface to be invoked by the public 'load_next' method.
std::map< std::string, pg_entry_type > pg_dict_type
Definition: pg_tools.h:134