34 #ifndef GENBB_HELP_LORENTZ_BOOST_WRAPPER_H 35 #define GENBB_HELP_LORENTZ_BOOST_WRAPPER_H 1 49 class service_manager;
80 virtual void reset() = 0;
132 virtual void reset();
144 bool compute_classification_ =
true);
164 #endif // GENBB_HELP_LORENTZ_BOOST_WRAPPER_H i_lorentz_boost_generator()
Default constructor.
virtual void _generate(geomtools::vector_3d &speed_, geomtools::vector_3d &vtx_, double &time_)=0
Generate Lorentz Boost information.
Wrapper for another generator.
Definition: lorentz_boost_wrapper.h:107
virtual void initialize(const datatools::properties &setup_, datatools::service_manager &service_manager_, detail::pg_dict_type &dictionary_)
Main initialization interface method.
GENBB particle generator abstract base class.
Definition: i_genbb.h:59
void generate(geomtools::vector_3d &speed_, geomtools::vector_3d &vtx_)
Generate Lorentz Boost information.
Abstract mother class to fetch Lorentz Boost data.
Definition: lorentz_boost_wrapper.h:58
static i_lorentz_boost_generator * create(const std::string &class_id_, const datatools::properties &config_)
Factory method.
void set_generator(i_genbb &)
Set the particle generator.
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
virtual bool has_next()=0
Check if the generator can provide more Lorentz Boost information.
void initialize_simple()
Simple initialization.
virtual void reset()=0
Reset.
#define GENBB_PG_REGISTRATION_INTERFACE(GENBB_CLASS_NAME)
Definition: genbb_macros.h:22
virtual bool is_initialized() const =0
Check initialization status.
virtual ~i_lorentz_boost_generator()
Destructor.
virtual ~lorentz_boost_wrapper()
Destructor.
virtual void reset()
Reset.
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.
void set_lorentz_boost_generator(i_lorentz_boost_generator &lbg_)
Set the Lorentz boost generator.
A primary event from a Monte-Carlo generator.
Definition: primary_event.h:60
virtual void add_metadata(primary_event &pe_)
Add metadata.
virtual bool is_initialized() const
Check initialization status.
virtual void initialize(const datatools::properties &)=0
Main initialization.
#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
std::map< std::string, pg_entry_type > pg_dict_type
Definition: pg_tools.h:134
virtual void _load_next(primary_event &event_, bool compute_classification_=true)
Load next primary event from the generator algorithm.
lorentz_boost_wrapper()
Default constructor.