added an additional case for string replacement when reading AODs
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Sep 2009 15:51:45 +0000 (15:51 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Sep 2009 15:51:45 +0000 (15:51 +0000)
PWG4/JetTasks/AliAnalysisTaskJFSystematics.cxx
PWG4/JetTasks/AliAnalysisTaskJetSpectrum.cxx

index 820273249aca942ef3b57e9628c17a3f64c29640..f07a9034600fd5376da526e9e4c04dea5afbd71c 100644 (file)
@@ -190,6 +190,9 @@ Bool_t AliAnalysisTaskJFSystematics::Notify()
     if(fileName.Contains("AliESDs.root")){
         fileName.ReplaceAll("AliESDs.root", "");
     }
+    else if(fileName.Contains("AliAOD.root")){
+        fileName.ReplaceAll("AliAOD.root", "");
+    }
     else if(fileName.Contains("AliAODs.root")){
         fileName.ReplaceAll("AliAODs.root", "");
     }
index e97dabff202a21a4a803d45779c39e0349f91aa7..a875d99b3ab4201dbdc6101976e21fa8b49068e6 100644 (file)
@@ -174,6 +174,9 @@ Bool_t AliAnalysisTaskJetSpectrum::Notify()
     if(fileName.Contains("AliESDs.root")){
         fileName.ReplaceAll("AliESDs.root", "");
     }
+    else if(fileName.Contains("AliAOD.root")){
+        fileName.ReplaceAll("AliAOD.root", "");
+    }
     else if(fileName.Contains("AliAODs.root")){
         fileName.ReplaceAll("AliAODs.root", "");
     }