Skip to content

Commit 72425f4

Browse files
aphecetcheshahor02
authored andcommitted
MCH: remove custom completion policy from pedestal calibrator
1 parent ef01b5f commit 72425f4

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

Detectors/MUON/MCH/Calibration/src/badchannel-calib-workflow.cxx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ using namespace o2::framework;
2222

2323
const char* specName = "mch-badchannel-calibrator";
2424

25-
// customize the completion policy
26-
void customize(std::vector<o2::framework::CompletionPolicy>& policies)
27-
{
28-
using o2::framework::CompletionPolicy;
29-
policies.push_back(CompletionPolicyHelpers::defineByName(specName, CompletionPolicy::CompletionOp::Consume));
30-
}
31-
3225
// we need to add workflow options before including Framework/runDataProcessing
3326
void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
3427
{

Detectors/MUON/MCH/Calibration/src/pedestal-decoding-workflow.cxx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,6 @@ using namespace o2::framework;
384384

385385
const char* specName = "mch-pedestal-decoder";
386386

387-
// customize the completion policy
388-
void customize(std::vector<o2::framework::CompletionPolicy>& policies)
389-
{
390-
using o2::framework::CompletionPolicy;
391-
policies.push_back(CompletionPolicyHelpers::defineByName(specName, CompletionPolicy::CompletionOp::Consume));
392-
}
393-
394387
void customize(std::vector<ConfigParamSpec>& workflowOptions)
395388
{
396389
workflowOptions.push_back(ConfigParamSpec{"input-spec", VariantType::String, "TF:MCH/RAWDATA", {"selection string for the input data"}});
@@ -405,7 +398,7 @@ using namespace o2::framework;
405398
//_________________________________________________________________________________________________
406399
o2::framework::DataProcessorSpec getMCHPedestalDecodingSpec(const char* specName, std::string inputSpec)
407400
{
408-
//o2::mch::raw::PedestalsTask task();
401+
// o2::mch::raw::PedestalsTask task();
409402
return DataProcessorSpec{
410403
specName,
411404
o2::framework::select(inputSpec.c_str()),

0 commit comments

Comments
 (0)