00001
00002
00003 #ifndef XAODROOTACCESS_MAKETRANSIENTTREE_H
00004 #define XAODROOTACCESS_MAKETRANSIENTTREE_H
00005
00006
00007 #include "xAODRootAccess/tools/TTransTrees.h"
00008 #include "xAODRootAccess/TEvent.h"
00009
00010
00011 class TTree;
00012 class TChain;
00013 class TFile;
00014
00015 namespace xAOD {
00016
00033 TTransTrees MakeTransientTrees( ::TFile* ifile,
00034 const char* treeName = "CollectionTree",
00035 TEvent::EAuxMode mode =
00036 TEvent::kUndefinedAccess );
00037
00045 void ClearTransientTrees();
00046
00064 ::TTree* MakeTransientTree( ::TFile* ifile,
00065 const char* treeName = "CollectionTree",
00066 TEvent::EAuxMode mode =
00067 TEvent::kUndefinedAccess );
00068
00085 ::TTree* MakeTransientTree( ::TChain* ichain,
00086 TEvent::EAuxMode mode = TEvent::kClassAccess );
00087
00101 ::TTree* MakeTransientMetaTree( ::TFile* ifile,
00102 const char* eventTreeName = "CollectionTree",
00103 TEvent::EAuxMode mode =
00104 TEvent::kUndefinedAccess );
00105
00124 ::TTree* MakeTransientMetaTree( ::TChain* ichain,
00125 const char* eventTreeName =
00126 "CollectionTree",
00127 TEvent::EAuxMode mode =
00128 TEvent::kUndefinedAccess );
00129
00130 }
00131
00132 #endif // XAODROOTACCESS_MAKETRANSIENTTREE_H