code defect corrected
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2011 14:50:01 +0000 (14:50 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2011 14:50:01 +0000 (14:50 +0000)
TPC/AliTPC.cxx

index 0e5452d..0bebf6e 100644 (file)
@@ -1212,10 +1212,11 @@ void AliTPC::SetDefaults(){
   AliRunLoader* rl = (AliRunLoader*)fLoader->GetEventFolder()->FindObject(AliRunLoader::GetRunLoaderName());
   rl->CdGAFile();
   //AliTPCParamSR *param=(AliTPCParamSR*)gDirectory->Get("75x40_100x60");
-  gDirectory->Get("75x40_100x60");
+  //gDirectory->Get("75x40_100x60");
   AliTPCParamSR *param = (AliTPCParamSR*)AliTPCcalibDB::Instance()->GetParameters();
   if(!param){
     AliFatal("No TPC parameters found");
+    return;
   }
   if (!param->IsGeoRead()){
       //