Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
The Geant4 simulation manager. More...
#include <bayeux/mctools/g4/manager.h>
Public Types | |
typedef datatools::computing_time | CT_type |
typedef std::map< std::string, CT_type > | CT_map |
Public Member Functions | |
manager () | |
Default constructor: More... | |
virtual | ~manager () |
Destructor. More... | |
void | initialize (const datatools::multi_properties &mp_) |
Initialize the Geant4 manager. More... | |
void | reset () |
Reset the Geant4 manager. More... | |
void | run_simulation () |
Run the simulation session. More... | |
bool | is_initialized () const |
Return true if the simulation is fully initialized. More... | |
bool | is_automatic () const |
Return true if simulation will run in batch mode sans macro file. More... | |
bool | has_service_manager () const |
Check is an external service manager plugged. More... | |
datatools::service_manager & | grab_service_manager () |
Return a mutable service manager reference. More... | |
const datatools::service_manager & | get_service_manager () const |
Return a non-mutable service manager reference. More... | |
void | set_service_manager (datatools::service_manager &sm) |
Plug an external service manager. More... | |
bool | has_external_geom_manager () const |
Check if an external service manager is plugged. More... | |
void | set_external_geom_manager (const geomtools::manager &gm) |
Plug an external geometry manager. More... | |
const geomtools::manager & | get_geom_manager () const |
Get a non-mutable reference to the geometry manager. More... | |
void | set_event_generator_name (const std::string &) |
Set the name of the active event generator. More... | |
void | set_event_generator_seed (int) |
Set the seed for the event generator's PRNG. More... | |
const genbb::manager & | get_eg_manager () const |
Get a non-mutable reference to the embedded event generator. More... | |
genbb::manager & | grab_eg_manager () |
Get a mutable reference to the embedded event generator. More... | |
bool | has_event_generator () const |
Check if an event generator is available. More... | |
const genbb::i_genbb & | get_event_generator () const |
Return a non-mutable reference to a embedded event generator. More... | |
void | set_vertex_generator_name (const std::string &) |
Set the name of the active vertex generator. More... | |
void | set_vertex_generator_seed (int) |
Set the seed for the vertex generator's PRNG. More... | |
const genvtx::manager & | get_vg_manager () const |
Get a non-mutable reference to the vertex generator manager. More... | |
genvtx::manager & | grab_vg_manager () |
Get a mutable reference to the vertex generator manager. More... | |
bool | has_vertex_generator () const |
Check if a vertex generator is available. More... | |
const genvtx::i_vertex_generator & | get_vertex_generator () const |
Return a non-mutable reference to a embedded vertex generator. More... | |
event_action & | grab_user_event_action () |
Return a mutable event_action reference. More... | |
uint32_t | get_number_of_events () const |
Return the number of events to be generated. More... | |
void | set_number_of_events (uint32_t) |
Set the number of events to be generated. More... | |
bool | has_number_of_events_modulo () const |
Check if a modulo on number of events is defined. More... | |
int | get_number_of_events_modulo () const |
Return the number of events modulo. More... | |
void | set_number_of_events_modulo (int) |
Set the number of events modulo. More... | |
void | set_use_run_header_footer (bool a_use_run_header_footer) |
bool | using_run_header_footer () const |
bool | is_batch () const |
Return true if the simulation will run in batch mode. More... | |
bool | is_interactive () const |
Return true if the simulation is interactive via a CLI/GUI. More... | |
void | set_interactive (bool) |
Set the simulation to be interactive. More... | |
void | set_g4_visualization (bool) |
Set the Geant4 visualization flag. More... | |
bool | has_g4_visualization () const |
Check the Geant4 visualization flag. More... | |
bool | has_g4_macro () const |
Check if the manager has a Geant4 macro. More... | |
const std::string & | get_g4_macro () const |
Return the filename of the Geant4 macro. More... | |
void | set_g4_macro (const std::string ¯oFile) |
Set the Geant4 macro. More... | |
void | set_use_track_history (const bool) |
(De)Activate the track history object More... | |
bool | has_track_history () const |
Check if a track history object is available. More... | |
const track_history & | get_track_history () const |
Get a non-mutable reference to the track history object. More... | |
track_history & | grab_track_history () |
Get a mutable reference to the track history object. More... | |
bool | forbids_private_hits () const |
void | set_forbid_private_hits (bool a_forbid) |
void | set_dont_save_no_sensitive_hit_events (bool a_dont_save) |
bool | dont_save_no_sensitive_hit_events () const |
bool | has_simulation_ctrl () const |
Check if an external thread simulation control is plugged. More... | |
void | set_simulation_ctrl (simulation_ctrl &a_simulation_ctrl) |
Plug an external thread simulation control. More... | |
void | reset_simulation_ctrl () |
Unplug an external thread simulation control. More... | |
const simulation_ctrl & | get_simulation_ctrl () const |
Return a non-mutable thread simulation control reference. More... | |
simulation_ctrl & | grab_simulation_ctrl () |
Return a mutable thread simulation control reference. More... | |
mygsl::rng & | grab_vg_prng () |
Return a mutable reference to the vertex generator's PRNG. More... | |
mygsl::rng & | grab_eg_prng () |
Return a mutable reference to the event generator's PRNG. More... | |
mygsl::rng & | grab_shpf_prng () |
Return a mutable reference to the Step Hit Processor Factory's PRNG. More... | |
const mygsl::rng & | get_mgr_prng () const |
Return a non mutable reference to the Geant4 engine's PRNG. More... | |
mygsl::rng & | grab_mgr_prng () |
Return a mutable reference to the Geant4 engine's PRNG. More... | |
const g4_prng & | get_g4_prng () const |
Return a non mutable reference to the Geant4 engine's PRNG. More... | |
g4_prng & | grab_g4_prng () |
Return a mutable reference to the Geant4 engine's PRNG. More... | |
const mygsl::seed_manager & | get_seed_manager () const |
Return a non mutable reference to the manager of PRNG's seeds. More... | |
mygsl::seed_manager & | grab_seed_manager () |
Return a mutable reference to the manager of PRNG's seeds. More... | |
const mygsl::prng_state_manager & | get_state_manager () const |
Return a non mutable reference to the manager of PRNG's states. More... | |
mygsl::prng_state_manager & | grab_state_manager () |
Return a mutable reference to the manager of PRNG's states. More... | |
void | record_current_prng_states () |
Record the current states of all PRNGs. More... | |
void | set_prng_state_save_modulo (int a_modulo) |
int | get_prng_state_save_modulo () const |
bool | has_prng_state_save_modulo () const |
bool | has_input_prng_seeds_file () const |
void | reset_input_prng_seeds_file () |
void | set_input_prng_seeds_file (const std::string &) |
const std::string & | get_input_prng_seeds_file () const |
bool | has_output_prng_seeds_file () const |
void | reset_output_prng_seeds_file () |
void | set_output_prng_seeds_file (const std::string &) |
const std::string & | get_output_prng_seeds_file () const |
void | reset_output_prng_states_file () |
bool | has_output_prng_states_file () const |
void | set_output_prng_states_file (const std::string &) |
const std::string & | get_output_prng_states_file () const |
void | reset_input_prng_states_file () |
bool | has_input_prng_states_file () const |
void | set_input_prng_states_file (const std::string &) |
const std::string & | get_input_prng_states_file () const |
bool | has_mgr_prng_seed () const |
Check the seed of the G4 simulation engine. More... | |
int | get_mgr_prng_seed () const |
Get the seed of the G4 simulation engine. More... | |
void | set_mgr_prng_seed (int seed) |
Set the seed of the G4 simulation engine. More... | |
void | set_shpf_prng_seed (int) |
Set the seed for the Step Hit Processor Factory's PRNG. More... | |
bool | has_init_seed_method () const |
Check if the method for seed initialization is set. More... | |
void | set_init_seed_method (const std::string &) |
Set the method used to set the initialization seed for the generation of seeds. More... | |
const std::string & | get_init_seed_method () const |
Return the method for seed initialization. More... | |
void | set_output_data_format_by_label (const std::string &) |
Set the output data file format. More... | |
void | reset_output_data_format () |
Reset the output data file format. More... | |
void | set_output_data_format (io_utils::data_format_type) |
Set the output data file format. More... | |
void | set_output_data_bank_label (const std::string &) |
Set the output data bank label(for "bank" output format only) More... | |
io_utils::data_format_type | get_output_data_format () const |
Return the output data file format. More... | |
void | set_output_data_file (const std::string &) |
Set the output data file name. More... | |
bool | using_time_stat () const |
void | set_using_time_stat (bool) |
const CT_map & | get_CT_map () const |
CT_map & | grab_CT_map () |
bool | has_supported_output_profile (const std::string &profile_id_) const |
Check if some output profile is officially supported by the manager. More... | |
void | add_supported_output_profile (const std::string &profile_id_, const std::string &description_) |
Add an output profile officially supported by the manager. More... | |
const std::map< std::string, std::string > & | get_supported_output_profiles () const |
Return the dictionary of supported output profiles. More... | |
bool | has_activated_output_profiles () const |
Check if some output profiles are activated. More... | |
bool | has_activated_output_profile (const std::string &profile_id_) const |
Check if a given output profile is activated. More... | |
void | activate_output_profile (const std::string &profile_id_) |
Activate a given output profile. More... | |
void | deactivate_output_profile (const std::string &profile_id_) |
Deactivate a given output profile. More... | |
void | set_output_profiles_activation_rule (const std::string &rule_) |
Set the activation rule for output profiles. More... | |
void | apply_output_profiles_activation_rule (const std::string &output_profiles_activation_rule_) |
Apply activation rule for output profile. More... | |
void | fetch_activated_output_profile_ids (std::vector< std::string > &activated_output_profile_ids_) const |
Build the list of output profiles' Ids. More... | |
const std::set< std::string > & | get_activated_output_profile_ids () const |
Return the set of activated output profiles' Ids. More... | |
void | dump (std::ostream &=std::clog) const |
Basic default print. More... | |
void | dump_base (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="") const |
Basic print. More... | |
Public Member Functions inherited from mctools::g4::loggable_support | |
loggable_support () | |
Default constructor. More... | |
loggable_support (datatools::logger::priority) | |
Constructor from logging priority level. More... | |
datatools::logger::priority | get_logging_priority () const |
virtual | ~loggable_support () |
Destructor. More... | |
void | set_logging_priority (const std::string &priority_label_) |
void | set_logging_priority (datatools::logger::priority) |
bool | is_debug () const |
void | set_debug (bool) |
bool | is_verbose () const |
void | set_verbose (bool) |
Static Public Member Functions | |
static const std::string & | g4_manager_label () |
static const std::string & | vertex_generator_label () |
static const std::string & | event_generator_label () |
static const std::string & | shpf_label () |
static const std::string & | default_prng_id () |
static const std::string & | default_prng_states_file () |
Static Public Attributes | |
static const uint32_t | NUMBER_OF_EVENTS_UPPER_LIMIT = 1000000000 |
Maximum number of events to be processed. More... | |
static const uint32_t | NUMBER_OF_EVENTS_LOWER_LIMIT = 1 |
Minimum number of events to be processed. More... | |
static const uint32_t | NUMBER_OF_EVENTS_WARNING_LIMIT = 1000000 |
Number of events that triggers an alarm. More... | |
static const uint32_t | NO_LIMIT = manager::NUMBER_OF_EVENTS_UPPER_LIMIT |
static const uint32_t | DEFAULT_PRNG_STATES_SAVE_MODULO = 100 |
Protected Member Functions | |
virtual void | initialize_impl () |
Initialization actions. More... | |
virtual void | reset_impl () |
Termination actions. More... | |
virtual void | run_simulation_impl () |
Simulation actions. More... | |
void | _init_defaults () |
Initialize attirbutes' default values. More... | |
virtual void | _init_core () |
Initialize the manager's core functionalities. More... | |
virtual void | _init_geometry () |
Initialize the geometry. More... | |
virtual void | _init_vertex_generator () |
Initialize the vertex generator. More... | |
virtual void | _init_event_generator () |
Initialize the event generator. More... | |
virtual void | _init_detector_construction () |
Initialize the detector construction. More... | |
virtual void | _init_physics_list () |
Initialize the physics list. More... | |
virtual void | _init_run_action () |
Initialize the run action. More... | |
virtual void | _init_event_action () |
Initialize the event action. More... | |
virtual void | _init_primary_generator_action () |
Initialize the primary generator action. More... | |
virtual void | _init_tracking_action () |
Initialize the tracking action. More... | |
virtual void | _init_stepping_action () |
Initialize the stepping action. More... | |
virtual void | _init_stacking_action () |
Initialize the stacking action. More... | |
void | _init_seeds () |
Initialize the seeds for embedded PRNGs. More... | |
void | _init_prngs_states () |
Initialize the internal states of embedded PRNGs. More... | |
virtual void | _init_prngs () |
Initialize the embedded PRNGs. More... | |
virtual void | _init_time_stat () |
Initialize the time statistics. More... | |
Protected Member Functions inherited from mctools::g4::loggable_support | |
void | _initialize_logging_support (const datatools::properties &) |
datatools::logger::priority | _logprio () const |
Additional Inherited Members | |
Protected Attributes inherited from mctools::g4::loggable_support | |
datatools::logger::priority | _logging_priority |
Logging priority threshold. More... | |
The Geant4 simulation manager.
typedef std::map<std::string, CT_type> mctools::g4::manager::CT_map |
mctools::g4::manager::manager | ( | ) |
Default constructor:
|
virtual |
Destructor.
|
protectedvirtual |
Initialize the manager's core functionalities.
|
protected |
Initialize attirbutes' default values.
|
protectedvirtual |
Initialize the detector construction.
|
protectedvirtual |
Initialize the event action.
|
protectedvirtual |
Initialize the event generator.
|
protectedvirtual |
Initialize the geometry.
|
protectedvirtual |
Initialize the physics list.
|
protectedvirtual |
Initialize the primary generator action.
|
protectedvirtual |
Initialize the embedded PRNGs.
|
protected |
Initialize the internal states of embedded PRNGs.
|
protectedvirtual |
Initialize the run action.
|
protected |
Initialize the seeds for embedded PRNGs.
|
protectedvirtual |
Initialize the stacking action.
|
protectedvirtual |
Initialize the stepping action.
|
protectedvirtual |
Initialize the time statistics.
|
protectedvirtual |
Initialize the tracking action.
|
protectedvirtual |
Initialize the vertex generator.
void mctools::g4::manager::activate_output_profile | ( | const std::string & | profile_id_ | ) |
Activate a given output profile.
void mctools::g4::manager::add_supported_output_profile | ( | const std::string & | profile_id_, |
const std::string & | description_ | ||
) |
Add an output profile officially supported by the manager.
void mctools::g4::manager::apply_output_profiles_activation_rule | ( | const std::string & | output_profiles_activation_rule_ | ) |
Apply activation rule for output profile.
void mctools::g4::manager::deactivate_output_profile | ( | const std::string & | profile_id_ | ) |
Deactivate a given output profile.
|
static |
|
static |
bool mctools::g4::manager::dont_save_no_sensitive_hit_events | ( | ) | const |
void mctools::g4::manager::dump | ( | std::ostream & | = std::clog | ) | const |
Basic default print.
void mctools::g4::manager::dump_base | ( | std::ostream & | out_ = std::clog , |
const std::string & | title_ = "" , |
||
const std::string & | indent_ = "" |
||
) | const |
Basic print.
|
static |
void mctools::g4::manager::fetch_activated_output_profile_ids | ( | std::vector< std::string > & | activated_output_profile_ids_ | ) | const |
Build the list of output profiles' Ids.
bool mctools::g4::manager::forbids_private_hits | ( | ) | const |
|
static |
const std::set<std::string>& mctools::g4::manager::get_activated_output_profile_ids | ( | ) | const |
Return the set of activated output profiles' Ids.
const CT_map& mctools::g4::manager::get_CT_map | ( | ) | const |
const genbb::manager& mctools::g4::manager::get_eg_manager | ( | ) | const |
Get a non-mutable reference to the embedded event generator.
const genbb::i_genbb& mctools::g4::manager::get_event_generator | ( | ) | const |
Return a non-mutable reference to a embedded event generator.
const std::string& mctools::g4::manager::get_g4_macro | ( | ) | const |
Return the filename of the Geant4 macro.
const g4_prng& mctools::g4::manager::get_g4_prng | ( | ) | const |
Return a non mutable reference to the Geant4 engine's PRNG.
const geomtools::manager& mctools::g4::manager::get_geom_manager | ( | ) | const |
Get a non-mutable reference to the geometry manager.
const std::string& mctools::g4::manager::get_init_seed_method | ( | ) | const |
Return the method for seed initialization.
const std::string& mctools::g4::manager::get_input_prng_seeds_file | ( | ) | const |
const std::string& mctools::g4::manager::get_input_prng_states_file | ( | ) | const |
const mygsl::rng& mctools::g4::manager::get_mgr_prng | ( | ) | const |
Return a non mutable reference to the Geant4 engine's PRNG.
int mctools::g4::manager::get_mgr_prng_seed | ( | ) | const |
Get the seed of the G4 simulation engine.
uint32_t mctools::g4::manager::get_number_of_events | ( | ) | const |
Return the number of events to be generated.
int mctools::g4::manager::get_number_of_events_modulo | ( | ) | const |
Return the number of events modulo.
io_utils::data_format_type mctools::g4::manager::get_output_data_format | ( | ) | const |
Return the output data file format.
const std::string& mctools::g4::manager::get_output_prng_seeds_file | ( | ) | const |
const std::string& mctools::g4::manager::get_output_prng_states_file | ( | ) | const |
int mctools::g4::manager::get_prng_state_save_modulo | ( | ) | const |
const mygsl::seed_manager& mctools::g4::manager::get_seed_manager | ( | ) | const |
Return a non mutable reference to the manager of PRNG's seeds.
const datatools::service_manager& mctools::g4::manager::get_service_manager | ( | ) | const |
Return a non-mutable service manager reference.
const simulation_ctrl& mctools::g4::manager::get_simulation_ctrl | ( | ) | const |
Return a non-mutable thread simulation control reference.
const mygsl::prng_state_manager& mctools::g4::manager::get_state_manager | ( | ) | const |
Return a non mutable reference to the manager of PRNG's states.
const std::map<std::string, std::string>& mctools::g4::manager::get_supported_output_profiles | ( | ) | const |
Return the dictionary of supported output profiles.
const track_history& mctools::g4::manager::get_track_history | ( | ) | const |
Get a non-mutable reference to the track history object.
const genvtx::i_vertex_generator& mctools::g4::manager::get_vertex_generator | ( | ) | const |
Return a non-mutable reference to a embedded vertex generator.
const genvtx::manager& mctools::g4::manager::get_vg_manager | ( | ) | const |
Get a non-mutable reference to the vertex generator manager.
CT_map& mctools::g4::manager::grab_CT_map | ( | ) |
genbb::manager& mctools::g4::manager::grab_eg_manager | ( | ) |
Get a mutable reference to the embedded event generator.
mygsl::rng& mctools::g4::manager::grab_eg_prng | ( | ) |
Return a mutable reference to the event generator's PRNG.
g4_prng& mctools::g4::manager::grab_g4_prng | ( | ) |
Return a mutable reference to the Geant4 engine's PRNG.
mygsl::rng& mctools::g4::manager::grab_mgr_prng | ( | ) |
Return a mutable reference to the Geant4 engine's PRNG.
mygsl::seed_manager& mctools::g4::manager::grab_seed_manager | ( | ) |
Return a mutable reference to the manager of PRNG's seeds.
datatools::service_manager& mctools::g4::manager::grab_service_manager | ( | ) |
Return a mutable service manager reference.
mygsl::rng& mctools::g4::manager::grab_shpf_prng | ( | ) |
Return a mutable reference to the Step Hit Processor Factory's PRNG.
simulation_ctrl& mctools::g4::manager::grab_simulation_ctrl | ( | ) |
Return a mutable thread simulation control reference.
mygsl::prng_state_manager& mctools::g4::manager::grab_state_manager | ( | ) |
Return a mutable reference to the manager of PRNG's states.
track_history& mctools::g4::manager::grab_track_history | ( | ) |
Get a mutable reference to the track history object.
event_action& mctools::g4::manager::grab_user_event_action | ( | ) |
Return a mutable event_action reference.
genvtx::manager& mctools::g4::manager::grab_vg_manager | ( | ) |
Get a mutable reference to the vertex generator manager.
mygsl::rng& mctools::g4::manager::grab_vg_prng | ( | ) |
Return a mutable reference to the vertex generator's PRNG.
bool mctools::g4::manager::has_activated_output_profile | ( | const std::string & | profile_id_ | ) | const |
Check if a given output profile is activated.
bool mctools::g4::manager::has_activated_output_profiles | ( | ) | const |
Check if some output profiles are activated.
bool mctools::g4::manager::has_event_generator | ( | ) | const |
Check if an event generator is available.
bool mctools::g4::manager::has_external_geom_manager | ( | ) | const |
Check if an external service manager is plugged.
bool mctools::g4::manager::has_g4_macro | ( | ) | const |
Check if the manager has a Geant4 macro.
bool mctools::g4::manager::has_g4_visualization | ( | ) | const |
Check the Geant4 visualization flag.
bool mctools::g4::manager::has_init_seed_method | ( | ) | const |
Check if the method for seed initialization is set.
bool mctools::g4::manager::has_input_prng_seeds_file | ( | ) | const |
bool mctools::g4::manager::has_input_prng_states_file | ( | ) | const |
bool mctools::g4::manager::has_mgr_prng_seed | ( | ) | const |
Check the seed of the G4 simulation engine.
bool mctools::g4::manager::has_number_of_events_modulo | ( | ) | const |
Check if a modulo on number of events is defined.
bool mctools::g4::manager::has_output_prng_seeds_file | ( | ) | const |
bool mctools::g4::manager::has_output_prng_states_file | ( | ) | const |
bool mctools::g4::manager::has_prng_state_save_modulo | ( | ) | const |
bool mctools::g4::manager::has_service_manager | ( | ) | const |
Check is an external service manager plugged.
bool mctools::g4::manager::has_simulation_ctrl | ( | ) | const |
Check if an external thread simulation control is plugged.
bool mctools::g4::manager::has_supported_output_profile | ( | const std::string & | profile_id_ | ) | const |
Check if some output profile is officially supported by the manager.
bool mctools::g4::manager::has_track_history | ( | ) | const |
Check if a track history object is available.
bool mctools::g4::manager::has_vertex_generator | ( | ) | const |
Check if a vertex generator is available.
void mctools::g4::manager::initialize | ( | const datatools::multi_properties & | mp_ | ) |
Initialize the Geant4 manager.
|
protectedvirtual |
Initialization actions.
bool mctools::g4::manager::is_automatic | ( | ) | const |
Return true if simulation will run in batch mode sans macro file.
bool mctools::g4::manager::is_batch | ( | ) | const |
Return true if the simulation will run in batch mode.
bool mctools::g4::manager::is_initialized | ( | ) | const |
Return true if the simulation is fully initialized.
bool mctools::g4::manager::is_interactive | ( | ) | const |
Return true if the simulation is interactive via a CLI/GUI.
void mctools::g4::manager::record_current_prng_states | ( | ) |
Record the current states of all PRNGs.
void mctools::g4::manager::reset | ( | ) |
Reset the Geant4 manager.
|
protectedvirtual |
Termination actions.
void mctools::g4::manager::reset_input_prng_seeds_file | ( | ) |
void mctools::g4::manager::reset_input_prng_states_file | ( | ) |
void mctools::g4::manager::reset_output_data_format | ( | ) |
Reset the output data file format.
void mctools::g4::manager::reset_output_prng_seeds_file | ( | ) |
void mctools::g4::manager::reset_output_prng_states_file | ( | ) |
void mctools::g4::manager::reset_simulation_ctrl | ( | ) |
Unplug an external thread simulation control.
void mctools::g4::manager::run_simulation | ( | ) |
Run the simulation session.
|
protectedvirtual |
Simulation actions.
void mctools::g4::manager::set_dont_save_no_sensitive_hit_events | ( | bool | a_dont_save | ) |
void mctools::g4::manager::set_event_generator_name | ( | const std::string & | ) |
Set the name of the active event generator.
void mctools::g4::manager::set_event_generator_seed | ( | int | ) |
Set the seed for the event generator's PRNG.
void mctools::g4::manager::set_external_geom_manager | ( | const geomtools::manager & | gm | ) |
Plug an external geometry manager.
void mctools::g4::manager::set_forbid_private_hits | ( | bool | a_forbid | ) |
void mctools::g4::manager::set_g4_macro | ( | const std::string & | macroFile | ) |
Set the Geant4 macro.
void mctools::g4::manager::set_g4_visualization | ( | bool | ) |
Set the Geant4 visualization flag.
void mctools::g4::manager::set_init_seed_method | ( | const std::string & | ) |
Set the method used to set the initialization seed for the generation of seeds.
void mctools::g4::manager::set_input_prng_seeds_file | ( | const std::string & | ) |
void mctools::g4::manager::set_input_prng_states_file | ( | const std::string & | ) |
void mctools::g4::manager::set_interactive | ( | bool | ) |
Set the simulation to be interactive.
void mctools::g4::manager::set_mgr_prng_seed | ( | int | seed | ) |
Set the seed of the G4 simulation engine.
void mctools::g4::manager::set_number_of_events | ( | uint32_t | ) |
Set the number of events to be generated.
void mctools::g4::manager::set_number_of_events_modulo | ( | int | ) |
Set the number of events modulo.
void mctools::g4::manager::set_output_data_bank_label | ( | const std::string & | ) |
Set the output data bank label(for "bank" output format only)
void mctools::g4::manager::set_output_data_file | ( | const std::string & | ) |
Set the output data file name.
void mctools::g4::manager::set_output_data_format | ( | io_utils::data_format_type | ) |
Set the output data file format.
void mctools::g4::manager::set_output_data_format_by_label | ( | const std::string & | ) |
Set the output data file format.
void mctools::g4::manager::set_output_prng_seeds_file | ( | const std::string & | ) |
void mctools::g4::manager::set_output_prng_states_file | ( | const std::string & | ) |
void mctools::g4::manager::set_output_profiles_activation_rule | ( | const std::string & | rule_ | ) |
Set the activation rule for output profiles.
void mctools::g4::manager::set_prng_state_save_modulo | ( | int | a_modulo | ) |
void mctools::g4::manager::set_service_manager | ( | datatools::service_manager & | sm | ) |
Plug an external service manager.
void mctools::g4::manager::set_shpf_prng_seed | ( | int | ) |
Set the seed for the Step Hit Processor Factory's PRNG.
void mctools::g4::manager::set_simulation_ctrl | ( | simulation_ctrl & | a_simulation_ctrl | ) |
Plug an external thread simulation control.
void mctools::g4::manager::set_use_run_header_footer | ( | bool | a_use_run_header_footer | ) |
void mctools::g4::manager::set_use_track_history | ( | const bool | ) |
(De)Activate the track history object
void mctools::g4::manager::set_using_time_stat | ( | bool | ) |
void mctools::g4::manager::set_vertex_generator_name | ( | const std::string & | ) |
Set the name of the active vertex generator.
void mctools::g4::manager::set_vertex_generator_seed | ( | int | ) |
Set the seed for the vertex generator's PRNG.
|
static |
bool mctools::g4::manager::using_run_header_footer | ( | ) | const |
bool mctools::g4::manager::using_time_stat | ( | ) | const |
|
static |
|
static |
|
static |
|
static |
Minimum number of events to be processed.
|
static |
Maximum number of events to be processed.
|
static |
Number of events that triggers an alarm.