#include <RntDumper.h>
Public Member Functions | |
std::unique_ptr< RNTupleModel > | CreateModel () |
TFile * | file () |
void | RegisterTree (TTree *t) |
RNTupleWriter * | WritifyModel (std::unique_ptr< RNTupleModel > &model, std::string_view mname) |
Static Public Member Functions | |
static RntDumper * | Create (const char *fname) |
static void | FinalizeAll () |
Private Types | |
using | RNTupleModel = ROOT::Experimental::RNTupleModel |
using | RNTupleWriter = ROOT::Experimental::RNTupleWriter |
Private Member Functions | |
RntDumper (const char *fname) | |
~RntDumper () | |
Private Attributes | |
std::unique_ptr< TFile > | m_file |
std::vector< TTree * > | m_trees |
std::unordered_map< std::string, std::unique_ptr< RNTupleWriter > > | m_writers |
Static Private Attributes | |
static std::vector< RntDumper * > | s_instances |
Definition at line 17 of file RntDumper.h.
|
private |
Definition at line 18 of file RntDumper.h.
|
private |
Definition at line 19 of file RntDumper.h.
|
explicitprivate |
Definition at line 15 of file RntDumper.cc.
References alignmentValidation::fname, and m_file.
Referenced by Create().
|
private |
Definition at line 23 of file RntDumper.cc.
References m_file, m_trees, m_writers, and cmsswSequenceInfo::tp.
|
static |
Definition at line 51 of file RntDumper.cc.
References ztail::d, alignmentValidation::fname, RntDumper(), and s_instances.
std::unique_ptr< REX::RNTupleModel > RntDumper::CreateModel | ( | ) |
Definition at line 38 of file RntDumper.cc.
|
inline |
|
static |
Definition at line 58 of file RntDumper.cc.
References ztail::d, and s_instances.
Referenced by main().
void RntDumper::RegisterTree | ( | TTree * | t | ) |
REX::RNTupleWriter * RntDumper::WritifyModel | ( | std::unique_ptr< RNTupleModel > & | model, |
std::string_view | mname | ||
) |
Definition at line 40 of file RntDumper.cc.
References m_file, m_writers, ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, eostools::move(), AlCaHLTBitMon_QueryRunRegistry::string, and w().
|
private |
Definition at line 36 of file RntDumper.h.
Referenced by file(), RntDumper(), WritifyModel(), and ~RntDumper().
|
private |
Definition at line 38 of file RntDumper.h.
Referenced by RegisterTree(), and ~RntDumper().
|
private |
Definition at line 37 of file RntDumper.h.
Referenced by WritifyModel(), and ~RntDumper().
|
staticprivate |
Definition at line 40 of file RntDumper.h.
Referenced by Create(), and FinalizeAll().