R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
neuland_par_merger.cxx File Reference
#include <FairParSet.h>
#include <FairRtdbRun.h>
#include <R3BException.h>
#include <R3BLogger.h>
#include <R3BProgramOptions.h>
#include <TFile.h>
#include <TKey.h>
#include <fmt/format.h>
#include <string>
Include dependency graph for neuland_par_merger.cxx:

Go to the source code of this file.

Functions

auto filenames_split (std::string_view namelist, std::string_view delimeter=";") -> std::vector< std::string >
 
void fill_pars (std::vector< FairParSet * > &pars, TDirectory *input)
 
auto get_par_run (TFile *root_file) -> FairRtdbRun *
 
auto make_default_par_version (FairParSet *par) -> std::unique_ptr< FairParVersion >
 
void copy_par_version (FairRtdbRun *output_run, FairRtdbRun *input_run, FairParSet *par)
 
void write_parameters (TFile *output, TFile *input)
 
void merge_into_rootfile (TFile *output, const std::vector< std::string > &filenames)
 
void initialize_output_file (TFile *output, std::string_view base)
 
auto main (int argc, char **argv) -> int
 

Function Documentation

◆ copy_par_version()

void copy_par_version ( FairRtdbRun * output_run,
FairRtdbRun * input_run,
FairParSet * par )

Definition at line 76 of file neuland_par_merger.cxx.

◆ filenames_split()

auto filenames_split ( std::string_view namelist,
std::string_view delimeter = ";" ) -> std::vector<std::string>

Definition at line 24 of file neuland_par_merger.cxx.

◆ fill_pars()

void fill_pars ( std::vector< FairParSet * > & pars,
TDirectory * input )

Definition at line 38 of file neuland_par_merger.cxx.

◆ get_par_run()

auto get_par_run ( TFile * root_file) -> FairRtdbRun*

Definition at line 55 of file neuland_par_merger.cxx.

◆ initialize_output_file()

void initialize_output_file ( TFile * output,
std::string_view base )

Definition at line 120 of file neuland_par_merger.cxx.

◆ main()

auto main ( int argc,
char ** argv ) -> int

Definition at line 131 of file neuland_par_merger.cxx.

◆ make_default_par_version()

auto make_default_par_version ( FairParSet * par) -> std::unique_ptr<FairParVersion>

Definition at line 68 of file neuland_par_merger.cxx.

◆ merge_into_rootfile()

void merge_into_rootfile ( TFile * output,
const std::vector< std::string > & filenames )

Definition at line 111 of file neuland_par_merger.cxx.

◆ write_parameters()

void write_parameters ( TFile * output,
TFile * input )

Definition at line 89 of file neuland_par_merger.cxx.