Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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/CTP/include/CTP/RawDataQcTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class CTPRawDataReaderTask final : public TaskInterface
long int mTimestamp;
std::string classNames[nclasses];
int mIndexMBclass = -1; // index for the MB ctp class, which is used as scaling for the ratios
bool mConsistCheck = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lhusova This variable is not used - can be removed at next modifications.

};

} // namespace o2::quality_control_modules::ctp
Expand Down
8 changes: 7 additions & 1 deletion Modules/CTP/src/RawDataQcTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ void CTPRawDataReaderTask::initialize(o2::framework::InitContext& /*ctx*/)

mDecoder.setDoLumi(1);
mDecoder.setDecodeInps(1);
mDecoder.setCheckConsistency(1);
mDecoder.setDoDigits(1);
for (size_t i = 0; i < nclasses; i++) {
classNames[i] = "";
Expand Down Expand Up @@ -204,6 +203,13 @@ void CTPRawDataReaderTask::startOfActivity(const Activity& activity)
mHistoBCMinBias2->SetTitle(Form("%s; %s; %s", title2.Data(), titleX2.Data(), titley2.Data()));
mHistoClassRatios->SetTitle(Form("Class Ratio to %s", MBclassName.c_str()));
mHistoInputRatios->SetTitle(Form("Input Ratio to %s", nameInput1.c_str()));

std::string performConsistencyCheck = getFromExtendedConfig<string>(activity, mCustomParameters, "consistencyCheck", "true");
if (performConsistencyCheck == "true") {
mDecoder.setCheckConsistency(1);
} else {
mDecoder.setCheckConsistency(0);
}
}

void CTPRawDataReaderTask::startOfCycle()
Expand Down
3 changes: 2 additions & 1 deletion Modules/CTP/src/qc-ctp.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"ccdbName": "https://alice-ccdb.cern.ch",
"MBclassName" : "CMTVX-B-NOPF",
"MB1inputName" : "MTVX",
"MB2inputName" : "MVBA"
"MB2inputName" : "MVBA",
"consistencyCheck" : "false"
}
},
"PHYSICS": {
Expand Down