Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
2 #ifndef XAODROOTACCESS_TAUXSTORE_H
3 #define XAODROOTACCESS_TAUXSTORE_H
14 #include <string_view>
66 virtual void reset()
override;
97 #endif // XAODROOTACCESS_TAUXSTORE_H
const std::string & prefix() const
Get the currently configured object name prefix.
virtual StatusCode setupOutputData(SG::auxid_t auxid) override
Connect a variable to the output.
virtual StatusCode setupInputData(SG::auxid_t auxid) override
Connect a variable to the input.
int getEntry(int getall=0)
Read the values from the TTree entry that was loaded with TTree::LoadTree()
EStructMode
"Structural" modes of the object
"ROOT @c TTree implementation" of IAuxStore
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual bool hasOutput() const override
Check if an output is being written by the object.
virtual void reset() override
Tell the object that all branches will need to be re-read.
Common base class for the auxiliary store implementations.
size_t auxid_t
Identifier for a particular aux data item.
StatusCode writeTo(::TTree &tree)
Connect the object to an output TTree.
StatusCode readFrom(::TTree &tree, bool printWarnings=true)
Connect the object to an input TTree.
Interface providing I/O for a generic auxiliary store.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void setPrefix(std::string_view prefix) override
Set the object name prefix.
TAuxStore(std::string_view prefix="", bool topStore=true, EStructMode mode=EStructMode::kUndefinedStore, int basketSize=2048, int splitLevel=0)
Constructor.
virtual StatusCode getEntryFor(SG::auxid_t auxid) override
Load a single variable from the input.
virtual const std::type_info * getInputType(SG::auxid_t auxid) const override
Get the type of an input object, for getIOType()
void setBasketSize(int value)
Set the size of the baskets created for the output branches.
virtual const void * getInputObject(SG::auxid_t auxid) const override
Get a pointer to an input object, as it is in memory, for getIOData()
std::unique_ptr< impl > m_impl
Pointer to the internal object.
void setSplitLevel(int value)
Set the split level of the output branches.
@ kUndefinedStore
The structure mode is not defined.
virtual ~TAuxStore()
Destructor.
int splitLevel() const
Get the split level of the output branches.
virtual bool hasEntryFor(SG::auxid_t auxid) const override
Check if a given variable is available from the input.
int basketSize() const
Get the size of the baskets created for the output branches.