5#ifndef XAODROOTACCESS_TTREEMGR_H
6#define XAODROOTACCESS_TTREEMGR_H
44 StatusCode
readFrom( ::TFile*
file, ::Bool_t useTreeCache = kTRUE,
45 const char* treeName =
"CollectionTree" );
Tool for accessing xAOD files outside of Athena.
EAuxMode
Auxiliary store "mode".
@ kClassAccess
Access auxiliary data using the aux containers.
std::unique_ptr< xAODTMetaTree > m_metaTree
The transient metadata tree.
StatusCode enableMetaObj(const std::vector< std::string > &names)
Object/container names that should be used in the metadata tree.
std::vector< std::string > m_enableEventObj
Names to select for the event tree.
StatusCode enableEventObj(const std::vector< std::string > &names)
Object/container names that should be used in the event tree.
TEvent m_event
The internal TEvent object.
::TTree * eventTree()
Get a pointer to the transient event tree.
std::vector< std::string > m_enableMetaObj
Names to select for the metatada tree.
TTreeMgr(TEvent::EAuxMode mode=TEvent::kClassAccess)
Constructor, with an optional access mode selector.
StatusCode readFrom(::TFile *file, ::Bool_t useTreeCache=kTRUE, const char *treeName="CollectionTree")
Read from the file given to the function.
std::vector< std::string > m_suppressMetaObj
Names to suppress from the metadata tree.
StatusCode suppressEventObj(const std::vector< std::string > &names)
Object/container names that should be vetoed from the event tree.
StatusCode suppressMetaObj(const std::vector< std::string > &names)
Object/container names that should be suppressed in the metadata tree.
std::string m_eventTreeName
The name of the event tree to create.
std::unique_ptr< xAODTEventTree > m_eventTree
The transient event tree.
std::vector< std::string > m_suppressEventObj
Names to suppress from the event tree.
TEvent & event()
Get the TEvent object being used by the transient tree(s)
::TTree * metaTree()
Get a pointer to the transient metadata tree.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const SG::AuxElement::Accessor< std::vector< std::string > > names("thrNames")
Accessor for the names of the passed thresholds.