Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef IROOTAUXDYN_IO_H
5 #define IROOTAUXDYN_IO_H
23 #if ROOT_VERSION_CODE >= ROOT_VERSION( 6, 35, 0 )
24 namespace ROOT {
class RNTupleReader; }
26 namespace ROOT::Experimental {
class RNTupleReader; }
27 namespace ROOT {
using RNTupleReader = ROOT::Experimental::RNTupleReader; }
64 virtual int writeAuxAttributes(
const std::string& base_branch,
void*
object,
size_t rows_written ) = 0;
84 virtual std::vector<attrDataTuple>
collectAuxAttributes(
const std::string& base_branch,
void*
object ) = 0;
94 virtual std::unique_ptr<IRootAuxDynReader>
97 virtual std::unique_ptr<IRootAuxDynWriter>
99 int offsettab_len,
bool do_branch_fill)
const = 0;
101 virtual std::unique_ptr<IRNTupleAuxDynWriter>
104 virtual std::unique_ptr<IRootAuxDynReader>
106 ROOT::RNTupleReader*
reader)
const = 0;
110 virtual bool hasAuxStore(std::string_view fieldname, TClass *tc)
const = 0;
virtual ~IRootAuxDynWriter()=default
Interface for an AuxDyn Writer - TTree based.
std::tuple< std::string, std::string, void * > attrDataTuple
virtual void resetBytesRead()=0
virtual std::vector< attrDataTuple > collectAuxAttributes(const std::string &base_branch, void *object)=0
Collect Aux data information to be writting out.
virtual int commit()=0
Call Fill() on the ROOT object used by this writer.
virtual ~IRNTupleAuxDynWriter()=default
Default Destructor.
virtual void setBranchFillMode(bool)=0
set per-branch independent commit/fill mode
Interface for a RNTuple-based Writer that handles AuxDyn attributes Works in conjuction with the gene...
virtual int writeAuxAttributes(const std::string &base_branch, void *object, size_t rows_written)=0
handle writing of dynamic xAOD attributes of an AuxContainer - called from RootTreeContainer::writeOb...
virtual void addReaderToObject(void *object, size_t row, std::recursive_mutex *iomtx=nullptr)=0
Attach specialized AuxStore for reading dynamic attributes.
virtual ~IRootAuxDynReader()
Specialization of RootAuxDynStore for reading Aux Dynamic attributes from RNTuple.
virtual bool needsCommit()=0
is there a need to call commit()?
reader
read the goodrunslist xml file(s)
Selection rules: declare transient members.
virtual size_t getBytesRead() const =0