]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALPreprocessor.cxx
Updates in GRP Preprocessor (Ernesto)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALPreprocessor.cxx
index 5be01cfe309f463354ff7c2314c67f80684c3864..e63abad2879956ac1e72d1f3be210cc1cd305595 100644 (file)
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.7  2007/06/20 08:50:14  gustavo
+ * Change wrong directory data name from EmcGainPedestals to Data
+ *
+ * Revision 1.6  2007/04/29 15:06:19  gustavo
+ * New return value, and some minor fixes
+ *
  * Revision 1.5  2007/02/01 15:02:42  gustavo
  * Added log message in case there are no source files
  *
@@ -73,6 +79,9 @@ AliEMCALPreprocessor::AliEMCALPreprocessor(AliShuttleInterface* shuttle):
 AliPreprocessor("EMC",shuttle)
 {
   // Constructor
+  AddRunType("PHYSICS");
+  AddRunType("STANDALONE");
+
 }
 
 //_______________________________________________________________________________________
@@ -110,7 +119,7 @@ UInt_t AliEMCALPreprocessor::Process(TMap* /*valueSet*/)
        
     if(!f.IsOpen()) {
       Log(Form("File %s is not opened, something goes wrong!",fileName.Data()));
-      return 0;
+      return 1;
     }
        
        
@@ -184,7 +193,7 @@ UInt_t AliEMCALPreprocessor::Process(TMap* /*valueSet*/)
   //Store EMCAL calibration data
   
   AliCDBMetaData emcalMetaData;
-  Bool_t emcalOK = Store("Calib", "EmcGainPedestals", &calibData, &emcalMetaData);
+  Bool_t emcalOK = Store("Calib", "Data", &calibData, &emcalMetaData);
   
   if(emcalOK) return 0;
   else