 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef IROOTAUXDYN_IO_H
5 #define IROOTAUXDYN_IO_H
24 namespace ROOT {
class RNTupleReader; }
60 virtual int writeAuxAttributes(
const std::string& base_branch,
void*
object,
size_t rows_written ) = 0;
80 virtual std::vector<attrDataTuple>
collectAuxAttributes(
const std::string& base_branch,
void*
object ) = 0;
90 virtual std::unique_ptr<IRootAuxDynReader>
93 virtual std::unique_ptr<IRootAuxDynWriter>
95 int offsettab_len,
bool do_branch_fill)
const = 0;
97 virtual std::unique_ptr<IRNTupleAuxDynWriter>
100 virtual std::unique_ptr<IRootAuxDynReader>
102 ROOT::RNTupleReader*
reader)
const = 0;
106 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