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
*/
*/
#define RESULT_FILE "tpcCE.root"
+#define FILE_ID "CE"
#define MAPPING_FILE "tpcMapping.root"
"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
// if test setup get parameters from $DAQDA_TEST_DIR
- if (gSystem->Getenv("DAQDA_TEST_DIR")){
- printf("Test setup\tGetting data from local storage\n");
- char localname[1000];
- sprintf(localname,"%s/%s",gSystem->Getenv("DAQDA_TEST_DIR"),MAPPING_FILE);
- TFile *fileMapping = new TFile(localname,"read");
- mapping = (AliTPCmapper*) fileMapping->Get("tpcMapping");
- delete fileMapping;
- }
if (!mapping){
/* copy locally the mapping file from daq detector config db */
printf ("%d events processed\n",nevents);
TFile * fileTPC = new TFile (RESULT_FILE,"recreate");
- calibCE.Write("calibCE");
+ calibCE.Write("tpcCalibCE");
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;
}