TString runType = GetRunType();
Log(Form("ProcessDCS - RunType: %s",runType.Data()));
- if((runType == "STANDALONE")||
- (runType == "PHYSICS")
- || (runType == "AMPLITUDE_CALIBRATION")){
-
- // return kFALSE;
- return kTRUE;
- }else{
- return kFALSE;
- }
+ if(runType == "PHYSICS" )
+ return kTRUE;
+ else
+ return kFALSE;
+
}
//____________________________________________________
Bool_t resultLaser = kFALSE;
Bool_t writeok = kFALSE;
//processing DAQ
- TObjString *source;
TList* list = GetFileSources(kDAQ, "AMPLITUDE_CALIBRATION");
AliT0CalibWalk *laser = new AliT0CalibWalk();
+ TObjString *source;
if (list)
{
TIter iter(list);
AliCDBMetaData metaData;
metaData.SetBeamPeriod(0);
- metaData.SetResponsible("Tomek&Michal");
+ metaData.SetResponsible("Alla");
metaData.SetComment("Walk correction from laser runs.");
if (writeok) resultLaser=Store("Calib","Slewing_Walk", laser, &metaData, 0, 1);
else {
-
+
Log(Form("writeok = %d no peaks in CFD spectra",writeok));
return 0;
}
}
else
{
- Log(Form("Could not find file with Id AMPLITUDE_CALIBRAION in source %s!", source->GetName()));
+ Log(Form("Could not find file with Id AMPLITUDE_CALIBRAION "));
return 1;
}