]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/TPCCEda.cxx
Using proper file IDs in DAs
[u/mrichter/AliRoot.git] / TPC / TPCCEda.cxx
index 2a4a970c33c9af088b2b63e0a9c56999a3c6bb0f..0aa621338f074b494c13705228154c2735671bab 100644 (file)
@@ -8,6 +8,7 @@ DA Type: MON
 Number of events needed: 500
 Input Files: 
 Output Files: tpcCE.root, to be exported to the DAQ FXS
+fileId:   CE
 Trigger types used: PHYSICS_EVENT
 
 */
@@ -28,6 +29,7 @@ and save results in a file (named from RESULT_FILE define - see below).
 */
 
 #define RESULT_FILE "tpcCE.root"
+#define FILE_ID "CE"
 #define MAPPING_FILE "tpcMapping.root"
 
 
@@ -77,11 +79,10 @@ int main(int argc, char **argv) {
                                          "RIO",
                                          "TStreamerInfo()");
 
-  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);
 
   int i,status;
   AliTPCmapper *mapping = 0;   // The TPC mapping
@@ -192,7 +193,7 @@ int main(int argc, char **argv) {
 
   /* 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;
   }