Skip to content

Commit f7351c9

Browse files
authored
Add debug output to TRD gain calibration (AliceO2Group#13026)
1 parent 3d8d171 commit f7351c9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Detectors/TRD/calibration/src/CalibratorGain.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ void CalibratorGain::retrievePrev(o2::framework::ProcessingContext& pc)
104104
void CalibratorGain::finalizeSlot(Slot& slot)
105105
{
106106
LOG(info) << "Finalizing gain calibration";
107+
print(); // to see current number of slots and their entries
107108
// do actual calibration for the data provided in the given slot
108109
TStopwatch timer;
109110
timer.Start();

Detectors/TRD/workflow/include/TRDWorkflow/GainCalibSpec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class GainCalibDevice : public o2::framework::Task
7272
o2::base::GRPGeomHelper::instance().checkUpdates(pc);
7373
auto dataGainCalib = pc.inputs().get<std::vector<int>>("input");
7474
o2::base::TFIDInfoHelper::fillTFIDInfo(pc, mCalibrator->getCurrentTFInfo());
75-
LOG(info) << "Processing TF " << mCalibrator->getCurrentTFInfo().tfCounter << " with " << dataGainCalib.size() << " GainCalibHistos entries";
75+
LOG(debug) << "Processing TF " << mCalibrator->getCurrentTFInfo().tfCounter << " with " << dataGainCalib.size() << " GainCalibHistos entries";
7676
mCalibrator->process(dataGainCalib);
7777
if (pc.transitionState() == TransitionHandlingState::Requested) {
7878
LOG(info) << "Run stop requested, finalizing";

0 commit comments

Comments
 (0)