 |
ATLAS Offline Software
|
Go to the documentation of this file.
2 #ifndef XAODROOTACCESS_RAUXSTORE_H
3 #define XAODROOTACCESS_RAUXSTORE_H
13 #include <ROOT/REntry.hxx>
14 #include <ROOT/RNTupleModel.hxx>
15 #include <ROOT/RNTupleReader.hxx>
16 #include <ROOT/RNTupleWriter.hxx>
21 #include <string_view>
64 virtual void reset()
override;
94 #endif // XAODROOTACCESS_RAUXSTORE_H
virtual bool hasOutput() const override
Check if an output is being written by the object.
const std::string & prefix() const
Get the currently configured object name prefix.
virtual void setPrefix(std::string_view prefix) override
Set the object name prefix.
EStructMode
"Structural" modes of the object
virtual ~RAuxStore()
Destructor.
virtual const void * getInputObject(SG::auxid_t auxid) const override
Get a pointer to an input object, as it is in memory, for getIOData()
"ROOT @c RNTuple implementation" of IAuxStore
ROOT::Experimental::RNTupleReader RNTupleReader
The RNTuple reader type.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual StatusCode getEntryFor(SG::auxid_t auxid) override
Load a single variable from the input.
StatusCode getEntry(std::int64_t entry, int getall=0)
Get entry from the input RNTuple.
virtual StatusCode setupOutputData(SG::auxid_t auxid) override
Connect a variable to the output.
StatusCode commitTo(REntry &entry)
Commit a new entry to the output RNTuple.
Common base class for the auxiliary store implementations.
size_t auxid_t
Identifier for a particular aux data item.
virtual bool hasEntryFor(SG::auxid_t auxid) const override
Check if a given variable is available from the input.
StatusCode writeTo(RNTupleWriter &writer)
Add the variables of the store to an output RNTuple.
Interface providing I/O for a generic auxiliary store.
::StatusCode StatusCode
StatusCode definition for legacy code.
ROOT::Experimental::RNTupleWriter RNTupleWriter
virtual const std::type_info * getInputType(SG::auxid_t auxid) const override
Get the type of an input object, for getIOType()
virtual StatusCode setupInputData(SG::auxid_t auxid) override
Connect a variable to the input.
ROOT::Experimental::REntry REntry
The RNTuple entry type.
ROOT::Experimental::RNTupleWriter RNTupleWriter
The RNTuple writer type.
StatusCode readFrom(RNTupleReader &reader)
Connect the object to an input RNTuple.
ROOT::Experimental::REntry REntry
ROOT::Experimental::RNTupleReader RNTupleReader
virtual void reset() override
Tell the object that all branches will need to be re-read.
RAuxStore(std::string_view prefix="", bool topStore=true, EStructMode mode=EStructMode::kUndefinedStore)
Constructor.
@ kUndefinedStore
The structure mode is not defined.
std::unique_ptr< impl > m_impl
Pointer to the internal object.
reader
read the goodrunslist xml file(s)
writer
show summary of content