|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TBRANCHAUXDYNWRITER_H
6 #define TBRANCHAUXDYNWRITER_H
29 void*
object =
nullptr;
37 using dummy_ptr_t = std::unique_ptr<void, std::function<void(
void*)> >;
69 size_t backfill_nrows )
override final;
73 virtual int commit() override final;
virtual void setBranchFillMode(bool mode) override final
set Filling mode (true/false) for branch containers
void createAuxBranch(AuxInfo &info)
Interface for an AuxDyn Writer - TTree based.
void setBranchOffsetTabLen(TBranch *b, int offsettab_len)
virtual int writeAuxAttributes(const std::string &base_branchname, SG::IAuxStoreIO *store, size_t backfill_nrows) override final
handle writing of dynamic xAOD attributes of an object called from RootTreeContainer::writeObject()
Interface providing I/O for a generic auxiliary store.
size_t auxid_t
Identifier for a particular aux data item.
virtual int commit() override final
Call Fill() on the ROOT object used by this writer.
virtual ~TBranchAuxDynWriter()
Class to provide easy MsgStream access and capabilities.
const std::type_info * typeinfo
virtual bool needsCommit() override final
is there a need to call commit()?
std::unique_ptr< void, std::function< void(void *)> > dummy_ptr_t
Specialization of RootAuxDynStore for reading Aux Dynamic attributes from RNTuple.
TBranchAuxDynWriter(TTree *tree, int bufferSize, int splitLevel, int offsettab_len, bool branch_fill)
An auxiliary data store that holds data internally.
std::map< SG::auxid_t, AuxInfo > m_auxInfoMap
cached aux branches data by auxid