R3BROOT
R3B analysis software
|
#include <R3BNeulandSimApp.h>
Classes | |
struct | Options |
Public Member Functions | |
SimulationApplication () | |
![]() | |
CLIApplication (std::string_view name, std::unique_ptr< FairRun > run, std::reference_wrapper< Options > option) | |
CLIApplication (const CLIApplication &)=delete | |
CLIApplication (CLIApplication &&)=delete | |
auto | operator= (const CLIApplication &) -> CLIApplication &=delete |
auto | operator= (CLIApplication &&) -> CLIApplication &=delete |
~CLIApplication () override | |
template<typename CLIAPP, typename OptionType> | |
void | setup_common_options (CLIAPP &program_options, OptionType &options) |
template<typename OptionType> | |
void | print_json_options (const OptionType &options) |
template<typename OptionType> | |
void | dump_json_options (const OptionType &options, const std::string &filename) |
void | set_log_level (std::string_view log_level) |
void | set_run_id (int run_id) |
void | set_output_filename (std::string_view output_filename) |
void | set_inputpar_filename (std::string_view inputpar_filename) |
void | set_second_inputpar_filename (std::string_view inputpar_filename) |
void | set_outputpar_filename (std::string_view outputpar_filename) |
void | set_event_num (int val) |
void | set_input_filename (const std::vector< std::string > &input_filename) |
void | set_tree_input_filename (const std::vector< std::string > &input_filename) |
auto | get_run () -> FairRun * |
auto | has_mpi () -> bool |
![]() | |
CLIAbstract ()=default | |
Default constructor. | |
virtual | ~CLIAbstract ()=default |
CLIAbstract (const CLIAbstract &)=default | |
CLIAbstract (CLIAbstract &&)=default | |
auto | operator= (const CLIAbstract &) -> CLIAbstract &=default |
auto | operator= (CLIAbstract &&) -> CLIAbstract &=default |
void | set_fail (bool is_failed) |
auto | has_failed () const -> bool |
auto | has_inited () const -> bool |
Private Member Functions | |
void | pre_init (FairRun *run) override |
void | post_init (FairRun *run) override |
void | print_json_options () override |
void | dump_json_options (const std::string &filename) override |
void | run_action (FairRun *run, int num_of_events) override |
void | ParseApplicationOption (const std::vector< std::string > &filename) override |
void | setup_engine (FairRunSim *run) |
void | setup_generator (FairRunSim *run) |
void | setup_detectors (FairRunSim *run) const |
Private Attributes | |
Options | options_ |
GeneratorFactory | generator_factory_ { options_.simulation.generator } |
std::unique_ptr< TRandom3 > | random_gen_ |
Additional Inherited Members | |
![]() | |
template<typename OptionType> | |
void | ParseApplicationOptionImp (const std::vector< std::string > &filename, OptionType &options) |
![]() | |
void | set_inited (bool is_inited) |
Definition at line 19 of file R3BNeulandSimApp.h.
|
explicit |
Definition at line 21 of file R3BNeulandSimApp.cxx.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CLIApplication.
Definition at line 102 of file R3BNeulandSimApp.cxx.
|
overrideprivatevirtual |
Implements R3B::Neuland::CLIApplication.
Definition at line 95 of file R3BNeulandSimApp.cxx.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CLIApplication.
Definition at line 38 of file R3BNeulandSimApp.cxx.
|
overrideprivatevirtual |
Implements R3B::Neuland::CLIApplication.
Definition at line 30 of file R3BNeulandSimApp.cxx.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CLIApplication.
Definition at line 100 of file R3BNeulandSimApp.cxx.
|
overrideprivatevirtual |
Reimplemented from R3B::Neuland::CLIApplication.
Definition at line 107 of file R3BNeulandSimApp.cxx.
|
private |
Definition at line 68 of file R3BNeulandSimApp.cxx.
|
private |
Definition at line 48 of file R3BNeulandSimApp.cxx.
|
private |
Definition at line 59 of file R3BNeulandSimApp.cxx.
|
private |
Definition at line 56 of file R3BNeulandSimApp.h.
|
private |
Definition at line 55 of file R3BNeulandSimApp.h.
|
private |
Definition at line 57 of file R3BNeulandSimApp.h.