From: zampolli Date: Sat, 22 Nov 2014 17:44:51 +0000 (+0100) Subject: Adding useful print out in case of issues X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=44e4c07ad7104e06632c37c9640d61f50746019a Adding useful print out in case of issues --- diff --git a/TOF/AliTOFPreprocessor.cxx b/TOF/AliTOFPreprocessor.cxx index 074f0644f07..0a686630e8a 100644 --- a/TOF/AliTOFPreprocessor.cxx +++ b/TOF/AliTOFPreprocessor.cxx @@ -262,7 +262,7 @@ UInt_t AliTOFPreprocessor::ProcessHVandLVdps(TMap *dcsAliasMap) resultDCSMap = fHVLVmaps->ProcessData(*dcsAliasMap); if (!resultDCSMap) { - Log("Some problems occurred while processing DCS data, TOF exiting from Shuttle"); + Log("Some problems occurred while processing DCS data for HV and LV, TOF exiting from Shuttle"); if (fHVLVmaps) { delete fHVLVmaps; fHVLVmaps = 0; @@ -1878,7 +1878,9 @@ UInt_t AliTOFPreprocessor::Process(TMap *dcsAliasMap) Int_t iresultReadout = ProcessReadout(); Int_t iresultDCS = ProcessDCSDataPoints(dcsAliasMap); Int_t iResultHVandLVdps = ProcessHVandLVdps(dcsAliasMap); - return iresultDAQ+iresultNoiseCalib+iresultDCS+iResultHVandLVdps+iresultReadout; + Int_t totResult = iresultDAQ + iresultNoiseCalib + iresultDCS + iResultHVandLVdps + iresultReadout; + Log(Form("Processing PHYSICS, returning %d (iresultDAQ = %d, iresultNoiseCalib = %d, iresultDCS = %d, iResultHVandLVdps = %d, iresultReadout = %d)", totResult, iresultDAQ, iresultNoiseCalib, iresultDCS, iResultHVandLVdps, iresultReadout)); + return totResult; } // storing