R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3B::Neuland::SimulationApplication Class Reference

#include <R3BNeulandSimApp.h>

Classes

struct  Options
 

Public Member Functions

 SimulationApplication ()
 
- Public Member Functions inherited from R3B::Neuland::Application
 Application (std::string_view name, std::unique_ptr< FairRun > run, std::reference_wrapper< Options > option)
 
 Application (const Application &)=delete
 
 Application (Application &&)=delete
 
auto operator= (const Application &) -> Application &=delete
 
auto operator= (Application &&) -> Application &=delete
 
virtual ~Application ()
 
void setup_options (CLI::App &program_options)
 
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)
 
void set_num_of_procs (int val)
 
void set_rank_num (int val)
 
void set_fail (bool is_failed)
 
auto get_run () -> FairRun *
 
auto has_mpi () -> bool
 
void print_options ()
 
auto has_print_default_options () const -> bool
 
auto has_dump () const -> bool
 
void dump_options ()
 
void init ()
 
void run ()
 

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
 

Additional Inherited Members

- Protected Member Functions inherited from R3B::Neuland::Application
template<typename OptionType>
void ParseApplicationOptionImp (const std::vector< std::string > &filename, OptionType &option)
 

Detailed Description

Definition at line 14 of file R3BNeulandSimApp.h.

Constructor & Destructor Documentation

◆ SimulationApplication()

R3B::Neuland::SimulationApplication::SimulationApplication ( )
explicit

Definition at line 14 of file R3BNeulandSimApp.cxx.

Member Function Documentation

◆ dump_json_options()

void R3B::Neuland::SimulationApplication::dump_json_options ( const std::string & filename)
overrideprivatevirtual

Reimplemented from R3B::Neuland::Application.

Definition at line 101 of file R3BNeulandSimApp.cxx.

◆ ParseApplicationOption()

void R3B::Neuland::SimulationApplication::ParseApplicationOption ( const std::vector< std::string > & filename)
inlineoverrideprivatevirtual

Implements R3B::Neuland::Application.

Definition at line 64 of file R3BNeulandSimApp.h.

◆ post_init()

void R3B::Neuland::SimulationApplication::post_init ( FairRun * run)
overrideprivatevirtual

Reimplemented from R3B::Neuland::Application.

Definition at line 31 of file R3BNeulandSimApp.cxx.

◆ pre_init()

void R3B::Neuland::SimulationApplication::pre_init ( FairRun * run)
overrideprivatevirtual

Implements R3B::Neuland::Application.

Definition at line 23 of file R3BNeulandSimApp.cxx.

◆ print_json_options()

void R3B::Neuland::SimulationApplication::print_json_options ( )
overrideprivatevirtual

Reimplemented from R3B::Neuland::Application.

Definition at line 99 of file R3BNeulandSimApp.cxx.

◆ run_action()

void R3B::Neuland::SimulationApplication::run_action ( FairRun * run,
int num_of_events )
overrideprivatevirtual

Reimplemented from R3B::Neuland::Application.

Definition at line 106 of file R3BNeulandSimApp.cxx.


The documentation for this class was generated from the following files: