Corrected bug in storing Altro configuration to OCDB
authorhaavard <haavard@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Mar 2009 15:33:21 +0000 (15:33 +0000)
committerhaavard <haavard@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Mar 2009 15:33:21 +0000 (15:33 +0000)
TPC/AliTPCPreprocessor.cxx

index 431fffd..179d9f8 100644 (file)
@@ -1013,7 +1013,7 @@ UInt_t AliTPCPreprocessor::ExtractAltro(Int_t sourceFXS)
           }
           if (FPEDFXS ) {
               AliTPCCalROC *rocFPED=FPEDFXS->GetCalROC(sector);
-              if ( FPEDFXS )  FPED->SetCalROC(rocFPED,sector);
+              if ( rocFPED )  FPED->SetCalROC(rocFPED,sector);
           }
           if (maskedFXS) {
               AliTPCCalROC *rocMasked=maskedFXS->GetCalROC(sector);