fix the temporary fix for time recalibration
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Jun 2012 06:30:13 +0000 (06:30 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Jun 2012 06:30:13 +0000 (06:30 +0000)
PWG/CaloTrackCorrBase/AliCalorimeterUtils.cxx

index 7893802..1322e8d 100755 (executable)
@@ -250,7 +250,8 @@ void AliCalorimeterUtils::AccessOADB(AliVEvent* event)
       if(trecal)
       {
         TString passTmp = pass;
-        if(pass!="pass1" && pass!="pass2") pass = "pass2"; // TEMPORARY FIX FOR LHC11a analysis
+        if(pass!="pass1" && pass!="pass2") passTmp = "pass2"; // TEMPORARY FIX FOR LHC11a analysis
+        
         TObjArray *trecalpass=(TObjArray*)trecal->FindObject(passTmp);
         
         if(trecalpass)