]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 0e5452d46ad8494ff5629511f43d2e3b325371f1..0bebf6e177ea988265087de273d50875a7c79671 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()){
       //