"TPC",
"TRD",
"TOF",
- "RICH", // Name to be changed to HMPID
+ "HMPID",
"PHOS",
"CPV",
"PMD",
"MUONTRK",
"MUONTRG",
"FMD",
- "START", // Name to be changed to T0
+ "T0",
"VZERO", // Name to be changed to V0 ?
"ZDC",
- "CRT", // Name to be changed to ACCORDE
+ "ACORDE",
"TRG",
"EMCAL",
+ "DAQ_TEST",
"HLT"
};
1,
1,
24,
+ 1,
10
};
1,
1,
4,
+ 1,
5
};
AliErrorClass(Form("Invalid detector index: %d (%d -> %d) !",detectorID,0,kNDetectors-1));
return -1;
}
+ // HLT has a DDL offset = 30
+ if (detectorID == (kNDetectors-1)) return (kHLTId << 8);
+
return (detectorID << 8);
}
// detector range for
// a given input DDL ID
Int_t detectorID = ddlID >> 8;
+
+ // HLT
+ if (detectorID == kHLTId) detectorID = kNDetectors-1;
+
if (detectorID < 0 || detectorID >= kNDetectors) {
AliErrorClass(Form("Invalid detector index: %d (%d -> %d) !",detectorID,0,kNDetectors-1));
return -1;
}
ddlID += ddlIndex;
- TString fileName = DetectorName(detectorID);
+ static TString fileName;
+
+ fileName = DetectorName(detectorID);
fileName += "_";
fileName += ddlID;
fileName += ".ddl";