|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XAODROOTACCESS_TTREEMGR_H
6 #define XAODROOTACCESS_TTREEMGR_H
45 const char*
treeName =
"CollectionTree" );
104 #endif // XAODROOTACCESS_TTREEMGR_H
Class creating (a) transient tree(s) from xAOD files.
std::unique_ptr< xAODTEventTree > m_eventTree
The transient event tree.
std::vector< std::string > m_enableEventObj
Names to select for the event tree.
@ kUndefinedAccess
Undefined, to be selected by the object.
std::vector< std::string > m_suppressMetaObj
Names to suppress from the metadata tree.
StatusCode enableEventObj(const std::vector< std::string > &names)
Object/container names that should be used in the event tree.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
::TTree * eventTree()
Get a pointer to the transient event tree.
std::string m_eventTreeName
The name of the event tree to create.
::TTree * metaTree()
Get a pointer to the transient metadata tree.
TTreeMgr(TEvent::EAuxMode mode=TEvent::kUndefinedAccess)
Constructor, with an optional access mode selector.
TEvent m_event
The internal TEvent object.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::unique_ptr< xAODTMetaTree > m_metaTree
The transient metadata tree.
StatusCode readFrom(::TFile *file, ::Bool_t useTreeCache=kTRUE, const char *treeName="CollectionTree")
Read from the file given to the function.
StatusCode suppressEventObj(const std::vector< std::string > &names)
Object/container names that should be vetoed from the event tree.
TEvent & event()
Get the TEvent object being used by the transient tree(s)
StatusCode suppressMetaObj(const std::vector< std::string > &names)
Object/container names that should be suppressed in the 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_suppressEventObj
Names to suppress from the event tree.
EAuxMode
Auxiliary store "mode".
std::vector< std::string > m_enableMetaObj
Names to select for the metatada tree.
Tool for accessing xAOD files outside of Athena.