ESD or AOD analysis can be chosen with the constructor.
[u/mrichter/AliRoot.git] / ANALYSIS / AliEventPoolOTF.cxx
index a4b8fdc..93382df 100644 (file)
@@ -53,7 +53,7 @@ AliEventPoolOTF::AliEventPoolOTF():
 
 AliEventPoolOTF::AliEventPoolOTF(const char* name, const char* title):
     AliVEventPool(name, title),
-    fTagAnalysis(new AliTagAnalysis("AOD")),
+    fTagAnalysis(new AliTagAnalysis(title)),
     fRunCuts(new AliRunTagCuts()),
     fLHCCuts(new AliLHCTagCuts()),
     fDetectorCuts(new AliDetectorTagCuts()),