The Gaudi Framework
v30r3 (a5ef0a68)
|
Description: More...
#include <src/RootTool.h>
Public Member Functions | |
RootTool (RootDataConnection *con) | |
Standard constructor. More... | |
TBranch * | getBranch (boost::string_ref section, boost::string_ref branch_name) override |
Access data branch by name: Get existing branch in read only mode. More... | |
int | loadRefs (boost::string_ref section, boost::string_ref cnt, unsigned long entry, RootObjectRefs &refs) override |
Load references object from file. More... | |
void | addParam (ParamMap &c, char *p) |
Helper function to read params table. More... | |
void | addEntry (StringVec &c, char *val) |
Helper function to read string tables. More... | |
template<class C , class F > | |
StatusCode | readBranch (TTree *t, const char *nam, C &v, F pmf) |
Helper function to read internal file tables. More... | |
bool | get (const string &dsc, pair< string, ContainerSection > &e) |
Analyze the Sections table entries. More... | |
void | analyzeMergeMap (StringVec &tmp) |
Build merge sections from the Sections table entries. More... | |
StatusCode | readRefs () override |
Read reference tables. More... | |
string | getEntry (const string &c) |
Helper function to convert string vectors to branch entries. More... | |
string | getParam (const pair< string, string > &p) |
Helper function to convert parameter vectors to branch entries. More... | |
template<class C , class F > | |
StatusCode | saveBranch (const char *nam, C &v, F pmf) |
Helper function to save internal tables. More... | |
StatusCode | saveRefs () override |
Save/update reference tables. More... | |
Public Member Functions inherited from Gaudi::RootDataConnection::Tool | |
TTree * | refs () const |
StringVec & | dbs () const |
StringVec & | conts () const |
StringVec & | links () const |
ParamMap & | params () const |
MsgStream & | msgSvc () const |
const std::string & | name () const |
Sections & | sections () const |
LinkSections & | linkSections () const |
MergeSections & | mergeSections () const |
virtual | ~Tool ()=default |
Default destructor. More... | |
virtual RootRef | poolRef (size_t) const |
Internal overload to facilitate the access to POOL files. More... | |
Additional Inherited Members | |
Protected Types inherited from Gaudi::RootDataConnection::Tool | |
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 |
Protected Attributes inherited from Gaudi::RootDataConnection::Tool | |
RootDataConnection * | c |
Pointer to containing data connection object. More... | |
Description:
Concrete implementation to read objects from POOL files.
Concrete implementation to read objects from ROOT files.
Definition at line 17 of file RootTool.h.
|
inline |
Standard constructor.
Definition at line 21 of file RootTool.h.
|
inline |
Helper function to read string tables.
Definition at line 106 of file RootTool.h.
|
inline |
Helper function to read params table.
Definition at line 97 of file RootTool.h.
|
inline |
Build merge sections from the Sections table entries.
Definition at line 155 of file RootTool.h.
|
inline |
Analyze the Sections table entries.
Definition at line 135 of file RootTool.h.
|
inlineoverridevirtual |
Access data branch by name: Get existing branch in read only mode.
Implements Gaudi::RootDataConnection::Tool.
Definition at line 23 of file RootTool.h.
|
inline |
Helper function to convert string vectors to branch entries.
Definition at line 209 of file RootTool.h.
|
inline |
Helper function to convert parameter vectors to branch entries.
Definition at line 211 of file RootTool.h.
|
inlineoverridevirtual |
Load references object from file.
Link manager:
Implements Gaudi::RootDataConnection::Tool.
Definition at line 35 of file RootTool.h.
|
inline |
Helper function to read internal file tables.
Definition at line 109 of file RootTool.h.
|
inlineoverridevirtual |
Read reference tables.
Implements Gaudi::RootDataConnection::Tool.
Definition at line 191 of file RootTool.h.
|
inline |
Helper function to save internal tables.
Definition at line 214 of file RootTool.h.
|
inlineoverridevirtual |
Save/update reference tables.
Implements Gaudi::RootDataConnection::Tool.
Definition at line 234 of file RootTool.h.