 |
ATLAS Offline Software
|
Go to the documentation of this file.
2 #ifndef XAODROOTACCESS_REVENT_H
3 #define XAODROOTACCESS_REVENT_H
9 #include <ROOT/RNTupleReader.hxx>
13 #include <string_view>
66 std::vector<std::string>& vkeys,
86 const std::string&
key,
bool overwrite,
bool metadata,
87 bool isOwner)
override;
99 ROOT::RNTupleReader& ntupleReader);
115 #endif // XAODROOTACCESS_REVENT_H
Tool for accessing xAOD files outside of Athena, version RNTuple.
StatusCode connectObject(const std::string &key, bool silent) override
Function setting up access to a particular object.
StatusCode setAuxStore(const std::string &key, Details::IObjectManager &mgr, bool metadata) override
Function connecting a DV object to its auxiliary store.
StatusCode connectMetaAux(const std::string &prefix, bool standalone) override
Function setting up access to a set of auxiliary branches for a metadata object.
StatusCode connectMetaObject(const std::string &key, bool silent) override
Function setting up access to a particular metadata object.
::Long64_t getEntries() const
Get how many entries are available from the current input file(s)
Manager for EDM objects created by ROOT.
bool hasOutput() const override
Check if an output file is connected to the object.
bool m_inputNTupleIsMissing
Whether the input has an event RNTuple or not.
Interface class for the "manager classes".
::Int_t getEntry(::Long64_t entry, ::Int_t getall=0)
Function loading a given entry of the input TTree.
StatusCode connectAux(const std::string &prefix, bool standalone) override
Function setting up access to a set of auxiliary branches.
StatusCode recordAux(TVirtualManager &mgr, const std::string &key, bool metadata) override
Record an auxiliary store into a connected output file.
StatusCode readFrom(std::string_view fileName)
Set up the reading of an input file.
REvent()
Default constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode setUpDynamicStore(RObjectManager &mgr, ROOT::RNTupleReader &ntupleReader)
event uses RNTupleReader:
bool hasInput() const override
Check if an input file is connected to the object.
virtual ~REvent()
Destructor.
::Long64_t m_entry
The entry to look at from the input tree.
StatusCode record(void *obj, const std::string &typeName, const std::string &key, bool overwrite, bool metadata, bool isOwner) override
Record an object into a connected output file.
def silent(func)
Redirect stdout/err to /dev/null Useful wrapper to get rid of ROOT verbosity...
std::unique_ptr< ROOT::RNTupleReader > m_metaReader
The metadata reader.
StatusCode initStats()
Function to initialise the statistics for all Tree content.
Manager for EDM objects created by ROOT.
Base class for the event (xAOD::TEvent and xAOD::REvent) classes.
std::unique_ptr< ROOT::RNTupleReader > m_eventReader
The main event data reader.
StatusCode getNames(const std::string &targetClassName, std::vector< std::string > &vkeys, bool metadata) const override
Function determining the list keys associated with a type name.