]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFPreprocessorFDR.cxx
bugfix: corrected calculation of slice and partition from track point Id
[u/mrichter/AliRoot.git] / TOF / AliTOFPreprocessorFDR.cxx
index 6702f3ee046991c80f6a93f95eee2678525d81d4..c407b476a576be8d56b14c35372fdc23b985a5d2 100644 (file)
@@ -66,6 +66,7 @@ AliTOFPreprocessorFDR::AliTOFPreprocessorFDR(AliShuttleInterface* shuttle) :
   fStoreRefData(kTRUE)
 {
   // constructor
+  AddRunType("PHYSICS");
 
 }
 
@@ -264,13 +265,13 @@ UInt_t AliTOFPreprocessorFDR::ProcessDCSDataPoints(TMap* aliasMap)
     
     Log("Storing DCS Data in OCDB");
     resultDCSMap = Store("Calib","DCSData",array, &metaDataDCS,0,kTRUE);
-    if (!resultDCSStore){
+    if (!resultDCSMap){
       Log("Some problems occurred while storing DCS data results in OCDB, TOF exiting from Shuttle");
       return 3;// return error Code for processed DCS data not stored 
       // in reference data
     }
     
-    if (array) delete array;
+    delete array;
     return 0;
 
   }