// The processing of the DCS input data is forwarded to AliZDCDataDCS
Float_t dcsValues[28]; // DCSAliases=28
fData->ProcessData(*dcsAliasMap, dcsValues);
+ // Store DCS data for reference
+ AliCDBMetaData metadata;
+ metadata.SetResponsible("Chiara Oppedisano");
+ metadata.SetComment("DCS data for ZDC");
+ Bool_t resDCSRef = kFALSE;
+ resDCSRef = StoreReferenceData("DCS","Data",fData,&metadata);
//dcsAliasMap->Print("");
//
// --- Writing ZDC table positions into alignment object
AliCDBMetaData md;
md.SetResponsible("Chiara Oppedisano");
md.SetComment("Alignment object for ZDC");
- Bool_t resultAl = kTRUE;
+ Bool_t resultAl = kFALSE;
resultAl = Store("Align","Data", array, &md, 0, 0);
// *************** From DAQ ******************
else Log(Form("Number of events not put in logbook!"));
UInt_t result = 0;
- if(resultAl==kFALSE || resPedCal==kFALSE || resECal==kFALSE || resRecPar==kFALSE){
- if(resultAl == kFALSE) result = 1;
- else if(resPedCal == kFALSE) result = 2;
- else if(resECal == kFALSE) result = 3;
- else if(resRecPar == kFALSE) result = 4;
+ if(resDCSRef==kFALSE || resultAl==kFALSE ||
+ resPedCal==kFALSE || resECal==kFALSE || resRecPar==kFALSE){
+ if(resDCSRef == kFALSE) result = 1;
+ else if(resultAl == kFALSE) result = 2;
+ else if(resPedCal == kFALSE) result = 3;
+ else if(resECal == kFALSE) result = 4;
+ else if(resRecPar == kFALSE) result = 5;
}
return result;
// the "online" naming convention ALICE-INT-2003-039.
shuttle->AddInputFile(AliTestShuttle::kDAQ, "ZDC", "PEDESTALS", "LDC0", "ZDCPedestal.dat");
shuttle->AddInputFile(AliTestShuttle::kDAQ, "ZDC", "EMDCALIB", "LDC0", "ZDCEMDCalib.dat");
- shuttle->AddInputFile(AliTestShuttle::kDAQ, "ZDC", "EMDCALIB", "LDC0", "ZDCEMDEqual.dat");
shuttle->AddInputFile(AliTestShuttle::kDAQ, "ZDC", "PHYSICS", "LDC0", "ZDCRecParam.dat");
// TODO(3)
// The shuttle can read run type stored in the DAQ logbook.
// To test it, we must provide the run type manually. They will be retrieved in the preprocessor
// using GetRunType function.
-// shuttle->SetInputRunType("PEDESTAL_RUN");
-// shuttle->SetInputRunType("PULSER_RUN");
- shuttle->SetInputRunType("PHYSICS");
+ // shuttle->SetInputRunType("PEDESTAL_RUN");
+ shuttle->SetInputRunType("PULSER_RUN");
+// shuttle->SetInputRunType("PHYSICS");
// TODO(4)
//
/*AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB())
->Get("ZDC/Calib/Pedestals", 7);
*/
- /*AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB())
- ->Get("ZDC/Calib/Calib", 7);
- */
AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB())
+ ->Get("ZDC/Calib/Calib", 7);
+
+ /*AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB())
->Get("ZDC/Calib/RecParam", 7);
+ */
if (!chkEntry)
{