Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Modules/EMCAL/include/EMCAL/CellTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "CommonDataFormat/RangeReference.h"
#include "Headers/DataHeader.h"
#include "DataFormatsEMCAL/TriggerRecord.h"
#include "QualityControl/PostProcessingInterface.h"

class TH1;
class TH2;
Expand Down
6 changes: 3 additions & 3 deletions Modules/EMCAL/src/CalibMonitoringTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void CalibMonitoringTask::update(Trigger t, framework::ServiceRegistryRef)
reset();
for (const auto& obj : mCalibObjects) {
if (obj == "BadChannelMap") {
mBadChannelMap = mCalibDB->readBadChannelMap(o2::ccdb::getCurrentTimestamp(), metadata);
mBadChannelMap = mCalibDB->readBadChannelMap(t.timestamp, metadata);
if (!mBadChannelMap) {
ILOG(Info, Support) << "No Bad Channel Map object " << ENDM;
continue;
Expand Down Expand Up @@ -310,7 +310,7 @@ void CalibMonitoringTask::update(Trigger t, framework::ServiceRegistryRef)
}

if (obj == "TimeCalibParams") {
mTimeCalib = mCalibDB->readTimeCalibParam(o2::ccdb::getCurrentTimestamp(), metadata);
mTimeCalib = mCalibDB->readTimeCalibParam(t.timestamp, metadata);
if (!mTimeCalib) {
ILOG(Info, Support) << " No Time Calib object " << ENDM;
continue;
Expand All @@ -324,7 +324,7 @@ void CalibMonitoringTask::update(Trigger t, framework::ServiceRegistryRef)
}
}
if (obj == "FeeDCS") {
mFeeDCS = mCalibDB->readFeeDCSData(o2::ccdb::getCurrentTimestamp(), metadata);
mFeeDCS = mCalibDB->readFeeDCSData(t.timestamp, metadata);
if (!mFeeDCS) {
ILOG(Info, Support) << " No FEE DCS object " << ENDM;
continue;
Expand Down
5 changes: 5 additions & 0 deletions Modules/EMCAL/src/CellTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <Framework/InputRecord.h>
#include <Framework/InputRecordWalker.h>
#include <CommonConstants/Triggers.h>
#include "EMCAL/DrawGridlines.h"
#include <set>

namespace o2::quality_control_modules::emcal
Expand Down Expand Up @@ -1051,6 +1052,10 @@ void CellTask::CellHistograms::fillHistograms(const o2::emcal::Cell& cell, bool
} catch (o2::emcal::InvalidCellIDException& e) {
ILOG(Info, Support) << "Invalid cell ID: " << e.getCellID() << ENDM;
}

o2::quality_control_modules::emcal::DrawGridlines::DrawSMGridInTriggerGeo(mCellOccupancyThr);
o2::quality_control_modules::emcal::DrawGridlines::DrawSMGridInTriggerGeo(mCellOccupancyThrBelow);

}

void CellTask::CellHistograms::countEvent()
Expand Down