|
ATLAS Offline Software
|
Go to the documentation of this file.
13 const std::type_info& ti,
14 const char*
brName,
const char* brType )
16 m_event( &
event ), m_ti( &ti ), m_object( nullptr ) {
35 if( TestBit( kDoNotProcess ) ) {
40 if( fReadEntry ==
entry ) {
55 XAOD_MESSAGE(
"Failed to read variable of type \"%s\" with "
57 GetClassName(), GetName() );
xAODTEventBranch(::TTree &parent, xAOD::TEvent &event, const std::type_info &ti, const char *brName, const char *brType)
Constructor with all the needed parameters.
#define IsA
Declare the TObject style functions.
const void * getInputObject(SG::sgkey_t key, const std::type_info &ti, bool silent=false) override
Function for retrieving an input object in a non-template way.
xAOD::TEvent * m_event
Pointer to the TEvent object reading the persistent tree.
virtual ::TClass * IsA() const
Function returning the type of ::TBranchObject.
const void * m_object
Pointer to the object read in using TEvent.
const std::type_info * m_ti
The type of the object that needs to be read.
POOL::TEvent event(POOL::TEvent::kClassAccess)
virtual ::Int_t GetEntry(::Long64_t entry, ::Int_t getall)
Function getting the current entry for this branch.
::Int_t getEntry(::Long64_t entry, ::Int_t getall=0)
Function loading a given entry of the input TTree.
Specialised class for browsing xAOD event interface objects in ROOT.
Error
The different types of error that can be flagged in the L1TopoRDO.
Tool for accessing xAOD files outside of Athena.
ClassImp(xAODTEventBranch) xAODTEventBranch
StatusCode Init(const char *appname)
Function initialising ROOT/PyROOT for using the ATLAS EDM.