X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ZDC%2FTestZDCPreprocessor.C;h=40865d96699917cb23e2c2fc6bd763655dd2fdac;hb=9fb423950f957b6feb9a5e71f9138d6665f5be53;hp=60d83ab4fac714aaa9dac183adef1a2271d25820;hpb=952af5940849b40c16a7357824dfd1f465484679;p=u%2Fmrichter%2FAliRoot.git diff --git a/ZDC/TestZDCPreprocessor.C b/ZDC/TestZDCPreprocessor.C index 60d83ab4fac..40865d96699 100644 --- a/ZDC/TestZDCPreprocessor.C +++ b/ZDC/TestZDCPreprocessor.C @@ -63,15 +63,16 @@ void TestZDCPreprocessor() // 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("PEDESTALS"); + // shuttle->SetInputRunType("PEDESTAL_RUN"); shuttle->SetInputRunType("PULSER_RUN"); +// shuttle->SetInputRunType("PHYSICS"); // TODO(4) // @@ -118,8 +119,16 @@ void TestZDCPreprocessor() // $ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB//SHUTTLE/Data // // Check the file which should have been created + /*AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB()) + ->Get("ZDC/Calib/Pedestals", 7); + */ AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB()) - ->Get("ZDC/Calib/Data", 7); + ->Get("ZDC/Calib/Calib", 7); + + /*AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB()) + ->Get("ZDC/Calib/RecParam", 7); + */ + if (!chkEntry) { printf("The file is not there. Something went wrong.\n");