Skip to content

Commit 074c84f

Browse files
committed
MID: don't use o2::mid::specs getters for digits and digits_rof inputs
1 parent 575cac5 commit 074c84f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Modules/MUON/MID/mid-digits.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"id": "digits",
3434
"active": "true",
3535
"machines": [],
36-
"query": "digits:MID/DATA;digits_rof:MID/DATAROF",
36+
"query": "digits:MID/DATA/0;digits_rof:MID/DATAROF/0",
3737
"samplingConditions": [
3838
{
3939
"condition": "random",

Modules/MUON/MID/src/DigitsQcTask.cxx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,12 @@ void DigitsQcTask::startOfCycle()
140140
void DigitsQcTask::monitorData(o2::framework::ProcessingContext& ctx)
141141
{
142142
mNbDigitTF->Fill(0.5, 1.);
143-
auto digits = o2::mid::specs::getData(ctx, "digits", o2::mid::EventType::Standard);
144-
auto rofs = o2::mid::specs::getRofs(ctx, "digits", o2::mid::EventType::Standard);
143+
144+
auto digits = ctx.inputs().get<gsl::span<o2::mid::ColumnData>>("digits");
145+
auto rofs = ctx.inputs().get<gsl::span<o2::mid::ROFRecord>>("digits_rof");
146+
147+
// auto digits = o2::mid::specs::getData(ctx, "digits", o2::mid::EventType::Standard);
148+
// auto rofs = o2::mid::specs::getRofs(ctx, "digits", o2::mid::EventType::Standard);
145149

146150
std::array<unsigned long int, 4> evtSizeB{};
147151
std::array<unsigned long int, 4> evtSizeNB{};

0 commit comments

Comments
 (0)