![]() |
The Gaudi Framework
master (ff829712)
|
Description: More...
#include <src/RootTool.h>
Public Member Functions | |
RootTool (RootDataConnection *con) | |
Standard constructor. | |
TBranch * | getBranch (std::string_view section, std::string_view branch_name) override |
Access data branch by name: Get existing branch in read only mode. | |
int | loadRefs (std::string_view section, std::string_view cnt, unsigned long entry, RootObjectRefs &refs) override |
Load references object from file. | |
void | addParam (ParamMap &c, char *p) |
Helper function to read params table. | |
void | addEntry (StringVec &c, char *val) |
Helper function to read string tables. | |
template<class C, class F> | |
StatusCode | readBranch (TTree *t, const char *nam, C &v, F pmf) |
Helper function to read internal file tables. | |
bool | get (const string &dsc, pair< string, ContainerSection > &e) |
Analyze the Sections table entries. | |
void | analyzeMergeMap (StringVec &tmp) |
Build merge sections from the Sections table entries. | |
StatusCode | readRefs () override |
Read reference tables. | |
string | getEntry (const string &c) |
Helper function to convert string vectors to branch entries. | |
string | getParam (const pair< string, string > &p) |
Helper function to convert parameter vectors to branch entries. | |
template<class C, class F> | |
StatusCode | saveBranch (const char *nam, C &v, F pmf) |
Helper function to save internal tables. | |
StatusCode | saveRefs () override |
Save/update reference tables. | |
![]() | |
TTree * | refs () const |
StringVec & | dbs () const |
StringVec & | conts () const |
StringVec & | links () const |
ParamMap & | params () const |
MsgStream & | msgSvc () const |
IIncidentSvc * | incidentSvc () const |
const std::string & | name () const |
Sections & | sections () const |
LinkSections & | linkSections () const |
MergeSections & | mergeSections () const |
virtual | ~Tool ()=default |
Default destructor. | |
virtual RootRef | poolRef (size_t) const |
Internal overload to facilitate the access to POOL files. | |
Additional Inherited Members | |
![]() | |
typedef RootDataConnection::StringVec | StringVec |
typedef RootDataConnection::ParamMap | ParamMap |
typedef RootDataConnection::Sections | Sections |
typedef RootDataConnection::MergeSections | MergeSections |
typedef RootDataConnection::LinkSections | LinkSections |
typedef RootDataConnection::ContainerSection | ContainerSection |
typedef RootDataConnection::ContainerSections | ContainerSections |
![]() | |
RootDataConnection * | c |
Pointer to containing data connection object. | |
Description:
Concrete implementation to read objects from POOL files.
Concrete implementation to read objects from ROOT files.
Definition at line 28 of file RootTool.h.
|
inline |
Standard constructor.
Definition at line 31 of file RootTool.h.
|
inline |
Helper function to read string tables.
Definition at line 114 of file RootTool.h.
|
inline |
Helper function to read params table.
Definition at line 106 of file RootTool.h.
|
inline |
Build merge sections from the Sections table entries.
Definition at line 161 of file RootTool.h.
|
inline |
Analyze the Sections table entries.
Definition at line 142 of file RootTool.h.
|
inlineoverridevirtual |
Access data branch by name: Get existing branch in read only mode.
Implements Gaudi::RootDataConnection::Tool.
Definition at line 33 of file RootTool.h.
Helper function to convert string vectors to branch entries.
Definition at line 213 of file RootTool.h.
Helper function to convert parameter vectors to branch entries.
Definition at line 215 of file RootTool.h.
|
inlineoverridevirtual |
Load references object from file.
Link manager:
Implements Gaudi::RootDataConnection::Tool.
Definition at line 45 of file RootTool.h.
|
inline |
Helper function to read internal file tables.
Definition at line 117 of file RootTool.h.
|
inlineoverridevirtual |
Read reference tables.
Implements Gaudi::RootDataConnection::Tool.
Definition at line 196 of file RootTool.h.
|
inline |
Helper function to save internal tables.
Definition at line 218 of file RootTool.h.
|
inlineoverridevirtual |
Save/update reference tables.
Implements Gaudi::RootDataConnection::Tool.
Definition at line 237 of file RootTool.h.