#include <RootAuxDynIO.h>
Definition at line 43 of file RootAuxDynIO.h.
◆ Factory
◆ getBranchAuxDynReader()
| std::unique_ptr< IRootAuxDynReader > RootAuxDynIO::FactoryTool::getBranchAuxDynReader |
( |
TTree * | tree, |
|
|
TBranch * | branch ) const |
|
finaloverridevirtual |
◆ getBranchAuxDynWriter()
| std::unique_ptr< RootAuxDynIO::IRootAuxDynWriter > RootAuxDynIO::FactoryTool::getBranchAuxDynWriter |
( |
TTree & | tree, |
|
|
TClass & | cl, |
|
|
int | bufferSize, |
|
|
int | splitLevel, |
|
|
int | offsettab_len, |
|
|
bool | do_branch_fill ) const |
|
finaloverridevirtual |
◆ getNTupleAuxDynReader()
| std::unique_ptr< IRootAuxDynReader > RootAuxDynIO::FactoryTool::getNTupleAuxDynReader |
( |
const std::string & | field_name, |
|
|
const std::string & | field_type, |
|
|
ROOT::RNTupleReader * | reader ) const |
|
finaloverridevirtual |
◆ getNTupleAuxDynWriter()
◆ hasAuxStore()
| bool RootAuxDynIO::FactoryTool::hasAuxStore |
( |
std::string_view | fieldname, |
|
|
TClass * | tc ) const |
|
finaloverridevirtual |
check if a field/branch with fieldname and type tc has IAuxStore interface
Implements RootAuxDynIO::IFactoryTool.
Definition at line 55 of file RootAuxDynIO.cxx.
56 {
57
59 or (
tc and (
tc->GetBaseClass(
"SG::IAuxStore")
60
61 or
RootType(
tc).Properties().HasProperty(
"IAuxStore") ));
62 }
bool endsWithAuxPostfix(std::string_view str)
Check if a string ends with AUX_POSTFIX.
◆ hasAuxStoreIO()
| bool RootAuxDynIO::FactoryTool::hasAuxStoreIO |
( |
TClass * | tc | ) |
const |
|
finaloverridevirtual |
◆ isAuxDynBranch()
| bool RootAuxDynIO::FactoryTool::isAuxDynBranch |
( |
TBranch * | branch | ) |
const |
|
finaloverridevirtual |
Check is a branch holds AuxStore objects.
- Parameters
-
Implements RootAuxDynIO::IFactoryTool.
Definition at line 73 of file RootAuxDynIO.cxx.
74 {
75 const std::string bname = branch->GetName();
78 if( branch->GetExpectedType(
tc, type) ) {
79
80 errorcheck::ReportMessage
msg (MSG::WARNING,
ERRORCHECK_ARGS,
"RootAuxDynIO::isAuxDynBranch");
81 msg <<
"GetExpectedType() failed for branch: " << bname;
82 return false;
83 }
85 return tc->GetBaseClass(
"SG::IAuxStoreHolder") !=
nullptr;
86 }
87 return false;
88 }
The documentation for this class was generated from the following files: