ESD or AOD analysis can be chosen with the constructor.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 28 Mar 2009 08:19:43 +0000 (08:19 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 28 Mar 2009 08:19:43 +0000 (08:19 +0000)
ANALYSIS/AliEventPoolOTF.cxx
ANALYSIS/AliEventPoolOTF.h

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()),
index 707f99e..0393fbe 100644 (file)
@@ -22,7 +22,7 @@ class AliEventPoolOTF : public AliVEventPool
 {
  public:
     AliEventPoolOTF();
-    AliEventPoolOTF(const char* name, const char* title);
+    AliEventPoolOTF(const char* name, const char* title = "AOD");
 
     virtual ~AliEventPoolOTF() {;}
     // Interface