]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/TPCPEDESTALda.cxx
Do not use mean vertex constraint (Andrea)
[u/mrichter/AliRoot.git] / TPC / TPCPEDESTALda.cxx
index 47159a14bc9f9a20f2f153f5a2c3d867e88eef62..c037198fb62ddfc1085a1d6ddcadb1aafa4afc77 100644 (file)
@@ -8,6 +8,7 @@ DA Type: LDC
 Number of events needed: 100
 Input Files: 
 Output Files: tpcPedestal.root, to be exported to the DAQ FXS
+fileId:   pedestals    
 Trigger types used: CALIBRATION_EVENT
 
 */
@@ -31,6 +32,7 @@ and save results in a file (named from RESULT_FILE define - see below).
 */
 
 #define RESULT_FILE  "tpcPedestal.root"
+#define FILE_ID "pedestals"
 #define MAPPING_FILE "tpcMapping.root"
 #define AliDebugLevel() -1
 
@@ -82,11 +84,10 @@ int main(int argc, char **argv) {
   // Main for TPC pedestal detector algorithm
   //
 
-  AliLog::SetClassDebugLevel("AliTPCRawStream",AliLog::kFatal);
-  AliLog::SetClassDebugLevel("AliRawReaderDate",AliLog::kFatal);
-  AliLog::SetClassDebugLevel("AliTPCAltroMapping",AliLog::kFatal);
-  AliLog::SetModuleDebugLevel("TPC",AliLog::kFatal);
-  AliLog::SetModuleDebugLevel("RAW",AliLog::kFatal);
+  AliLog::SetClassDebugLevel("AliTPCRawStream",-5);
+  AliLog::SetClassDebugLevel("AliRawReaderDate",-5);
+  AliLog::SetClassDebugLevel("AliTPCAltroMapping",-5);
+  AliLog::SetModuleDebugLevel("RAW",-5);
 
   Bool_t timeAnalysis = kTRUE;
 
@@ -203,13 +204,13 @@ int main(int argc, char **argv) {
   printf ("%d physics/calibration events processed.\n",nevents);
 
   TFile *fileTPC = new TFile(RESULT_FILE, "recreate");
-  calibPedestal.Write("calibPedestal");
+  calibPedestal.Write("tpcCalibPedestal");
   delete fileTPC;
   printf("Wrote %s.\n",RESULT_FILE);
 
  /* store the result file on FES */
  
-   status=daqDA_FES_storeFile(RESULT_FILE,RESULT_FILE);
+   status=daqDA_FES_storeFile(RESULT_FILE,FILE_ID);
    if (status) {
      status = -2;
    }