#include <R3BParRootFileIo.h>
|
static auto | Input () |
| Factory method to create an instance for parameter input.
|
static auto | Output () |
| Factory method to create an instance for parameter output.
|
Definition at line 15 of file R3BParRootFileIo.h.
◆ ParRootFileIo() [1/3]
R3B::ParRootFileIo::ParRootFileIo |
( |
bool | is_input | ) |
|
|
explicit |
◆ ParRootFileIo() [2/3]
◆ ParRootFileIo() [3/3]
◆ ~ParRootFileIo()
R3B::ParRootFileIo::~ParRootFileIo |
( |
| ) |
|
|
overridedefault |
◆ cd()
void R3B::ParRootFileIo::cd |
( |
| ) |
|
|
overrideprivate |
◆ check()
auto R3B::ParRootFileIo::check |
( |
| ) |
-> bool |
|
overrideprivate |
◆ ClassDefOverride()
◆ close()
void R3B::ParRootFileIo::close |
( |
| ) |
|
|
overrideprivate |
◆ get_first_root_file()
auto R3B::ParRootFileIo::get_first_root_file |
( |
| ) |
-> auto* |
|
inline |
◆ Input()
auto R3B::ParRootFileIo::Input |
( |
| ) |
|
|
inlinestatic |
◆ open() [1/3]
void R3B::ParRootFileIo::open |
( |
const std::vector< std::string > & | filenames, |
|
|
std::string_view | file_option = "read" ) |
◆ open() [2/3]
void R3B::ParRootFileIo::open |
( |
std::string_view | file_name, |
|
|
std::string_view | file_option ) |
◆ open() [3/3]
void R3B::ParRootFileIo::open |
( |
std::unique_ptr< TFile > | root_file | ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Output()
auto R3B::ParRootFileIo::Output |
( |
| ) |
|
|
inlinestatic |
◆ print()
void R3B::ParRootFileIo::print |
( |
| ) |
|
|
inlineoverrideprivate |
◆ read_parameter()
bool R3B::ParRootFileIo::read_parameter |
( |
FairParSet * | par | ) |
|
Reading the parameter from the input root file and store the values directly to the given parset. The input parset pointer must point to an already allocated parset.
- Parameters
-
par | Parset variable to store the value. |
- Returns
- true if the read operation is succeeded and false if not.
Definition at line 83 of file R3BParRootFileIo.cxx.
◆ read_parameter_from_run()
auto R3B::ParRootFileIo::read_parameter_from_run |
( |
FairParSet * | par, |
|
|
bool | is_ignored ) -> bool |
|
private |
◆ readVersions()
void R3B::ParRootFileIo::readVersions |
( |
FairRtdbRun * | current_par_run | ) |
|
|
overrideprivate |
◆ write_parameter()
int R3B::ParRootFileIo::write_parameter |
( |
FairParSet * | par | ) |
|
Writing the parameter to the output root file and return the cycle number of the written parameter.
- Parameters
-
par | Parameter to be written |
- Returns
- The cycle number of the written parameter. -1 if the writting process failed.
Definition at line 93 of file R3BParRootFileIo.cxx.
◆ is_input_
bool R3B::ParRootFileIo::is_input_ = true |
|
private |
◆ root_files_
std::vector<std::unique_ptr<TFile> > R3B::ParRootFileIo::root_files_ |
|
private |
◆ run_name_
std::string R3B::ParRootFileIo::run_name_ |
|
private |
The documentation for this class was generated from the following files: