#include <TTreeMgr.h>
Public Member Functions | |
| TTreeMgr (TEvent::EAuxMode mode=TEvent::kUndefinedAccess) | |
| Constructor, with an optional access mode selector. | |
| TEvent & | event () |
| Get the TEvent object being used by the transient tree(s). | |
Function(s) setting up the input(s) for the tree(s) | |
| TReturnCode | readFrom (::TFile *file,::Bool_t useTreeCache=kTRUE, const char *treeName="CollectionTree") |
| Read from the file given to the function. | |
Function(s) used for filtering the contents of the trees | |
| TReturnCode | enableEventObj (const std::vector< std::string > &names) |
| Object/container names that should be used in the event tree. | |
| TReturnCode | suppressEventObj (const std::vector< std::string > &names) |
| Object/container names that should be vetoed from the event tree. | |
| TReturnCode | enableMetaObj (const std::vector< std::string > &names) |
| Object/container names that should be used in the metadata tree. | |
| TReturnCode | suppressMetaObj (const std::vector< std::string > &names) |
| Object/container names that should be suppressed in the metadata tree. | |
Transient tree accessors | |
| ::TTree * | eventTree () |
| Get a pointer to the transient event tree. | |
| ::TTree * | metaTree () |
| Get a pointer to the transient metadata tree. | |
Class creating (a) transient tree(s) from xAOD files
This class is a replacement for the many MakeTransientTree(...) functions used earlier. It can be used to create a transient tree describing the event tree, and one describing the metadata tree of the input file(s).
1.6.1