"TStreamerInfo()");
// turn off annoying warning messages
- new AliLog;
- AliLog::Instance()->SetGlobalDebugLevel(-20);
-
-
-
+ // NB: Should not be handled here
+ AliLog* logger = AliLog::GetRootLogger();
+ logger->SetGlobalDebugLevel(-20);
// ********* STEP 0: Get configuration files from db (if there are any) , then read parameters*********
for(Int_t ihs =0; ihs < 6; ihs++) { // needed in the header to access the HS and ChipId info (in data it is different)
for(Int_t ich =0; ich < 10; ich++){
if(!str->GetFOHchipPresent(ihs, ich)) continue;
+ info[eqId]->SetActiveChipsAndHS(ihs,ich);
Short_t measure[4] = {str->GetFOHMatrixID(),str->GetFOHpixelRow(), str->GetFOHpixelCol(), str->GetFOHchipCount(ihs,ich)};
fomanager[eqId]->AddMeasurement(dacs,measure,ihs,ich);
} // chip loop
if(dacs.GetSize() == 0) continue;
for(Int_t idac =0; idac < dacs.GetSize() - 1; idac++) { // -1 (the last one is the quality flag)
if(dacs.At(idac) >=0 ) {
+
dcsfile << ((analyzer->GetFOHandler())->GetFOscanInfo())->GetDACindex(idac) << ",";
dcsfile << iff << ",";
dcsfile << hs << ",";
if(!iseq[eqId]) continue;
//printf("Preparing reference data for eq %d\n",eqId);
- TString idf = Form("SPD_fo_scan_%d",eqId);
+ TString idf = Form("SPD_ref_fo_%d",eqId);
#ifndef SPD_DA_OFF
status = daqDA_FES_storeFile(files[eqId].Data(),idf.Data());
if (status!=0) {
idsFXSfile << Form("%s\n",idf.Data());
}
+
+
+ printf("Preparing id list file\n");
+ idsFXSfile.close();
+ TString idlist = "SPD_id_list";
+#ifndef SPD_DA_OFF
+ status = daqDA_FES_storeFile(idsFXSFileName.Data(),idlist.Data());
+ if (status!=0) {
+ printf("Failed to export file %s , status %d\n",idsFXSFileName.Data(),status);
+ return -1;
+ }
+#endif
+
+
+
timer.Stop();
timer.Print();
printf("DA finished.\n");