Lookup of both parameters setup
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Oct 2002 12:25:17 +0000 (12:25 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Oct 2002 12:25:17 +0000 (12:25 +0000)
HBTAN/AliHBTReaderTPC.cxx

index b765de0..925cb0c 100644 (file)
@@ -192,12 +192,16 @@ Int_t AliHBTReaderTPC::Read(AliHBTRun* particles, AliHBTRun *tracks)
      }
   
     aClustersFile->cd();//set cluster file active 
-    AliTPCParam *TPCParam= (AliTPCParam*)aClustersFile->Get("75x40_100x60");
+    AliTPCParam *TPCParam= (AliTPCParam*)aClustersFile->Get("75x40_100x60_150x60");
     if (!TPCParam) 
       { 
-       Error("Read","TPC parameters have not been found !\n");
-       currentdir++;
-       continue;
+       TPCParam= (AliTPCParam*)aClustersFile->Get("75x40_100x60");
+       if (!TPCParam) 
+        { 
+          Error("Read","TPC parameters have not been found !\n");
+          currentdir++;
+          continue;
+        }
       }