5#ifndef TBRANCHAUXDYNWRITER_H
6#define TBRANCHAUXDYNWRITER_H
30 void*
object =
nullptr;
38 using dummy_ptr_t = std::unique_ptr<void, std::function<void(
void*)> >;
54 TBranchAuxDynWriter( TTree&
tree, TClass& cls,
int bufferSize,
int splitLevel,
int offsettab_len,
bool branch_fill );
70 size_t backfill_nrows )
override final;
74 virtual int commit() override final;
An auxiliary data store that holds data internally.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
AuxDynAttrAccess(TClass &tc)
Interface for an AuxDyn Writer - TTree based.
virtual ~TBranchAuxDynWriter()
void setBranchOffsetTabLen(TBranch *b, int offsettab_len)
virtual int commit() override final
Call Fill() on the ROOT object used by this writer.
virtual bool needsCommit() override final
is there a need to call commit()?
void createAuxBranch(AuxInfo &info)
virtual int writeAuxAttributes(const std::string &base_branchname, void *store, size_t backfill_nrows) override final
handle writing of dynamic xAOD attributes of an object called from RootTreeContainer::writeObject()
virtual void setBranchFillMode(bool mode) override final
set Filling mode (true/false) for branch containers
std::map< SG::auxid_t, AuxInfo > m_auxInfoMap
cached aux branches data by auxid
TBranchAuxDynWriter(TTree &tree, TClass &cls, int bufferSize, int splitLevel, int offsettab_len, bool branch_fill)
Specialization of RootAuxDynStore for reading Aux Dynamic attributes from RNTuple.
std::unique_ptr< void, std::function< void(void *)> > dummy_ptr_t
const std::type_info * typeinfo