#include <RootAuxDynIO.h>
|
| virtual std::unique_ptr< IRootAuxDynReader > | getBranchAuxDynReader (TTree *, TBranch *) const override final |
| virtual std::unique_ptr< IRootAuxDynWriter > | getBranchAuxDynWriter (TTree &, TClass &, int bufferSize, int splitLevel, int offsettab_len, bool do_branch_fill) const override final |
| | generate TBranchAuxDynWriter tree -> destination tree do_branch_fill -> flag telling to Fill each TBranch immediately
|
| virtual std::unique_ptr< IRNTupleAuxDynWriter > | getNTupleAuxDynWriter (TClass &tc) const override final |
| virtual std::unique_ptr< IRootAuxDynReader > | getNTupleAuxDynReader (const std::string &field_name, const std::string &field_type, ROOT::RNTupleReader *reader) const override final |
| virtual std::unique_ptr< IAuxDynShare > | getAuxDynShare (const IAthenaSerializeSvc *serSvc, IAthenaIPCTool *ipcTool) const override final |
| virtual bool | hasAuxStore (std::string_view fieldname, TClass *tc) const override final |
| | check if a field/branch with fieldname and type tc has IAuxStore interface
|
| virtual bool | hasAuxStoreIO (TClass *tc) const override final |
| | check if the type tc has IAuxStoreIO interface
|
| virtual bool | isAuxDynBranch (TBranch *branch) const override final |
| | Check is a branch holds AuxStore objects.
|
Definition at line 43 of file RootAuxDynIO.h.
◆ Factory
◆ getAuxDynShare()
◆ 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 56 of file RootAuxDynIO.cxx.
57 {
58
60 or (
tc and (
tc->GetBaseClass(
"SG::IAuxStore")
61
62 or
RootType(
tc).Properties().HasProperty(
"IAuxStore") ));
63 }
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 74 of file RootAuxDynIO.cxx.
75 {
76 const std::string bname = branch->GetName();
79 if( branch->GetExpectedType(
tc, type) ) {
80
81 errorcheck::ReportMessage
msg (MSG::WARNING,
ERRORCHECK_ARGS,
"RootAuxDynIO::isAuxDynBranch");
82 msg <<
"GetExpectedType() failed for branch: " << bname;
83 return false;
84 }
86 return tc->GetBaseClass(
"SG::IAuxStoreHolder") !=
nullptr;
87 }
88 return false;
89 }
The documentation for this class was generated from the following files: