diff --git a/Detectors/TPC/workflow/src/tpc-krypton-clusterer.cxx b/Detectors/TPC/workflow/src/tpc-krypton-clusterer.cxx index 9e6bc3f8f434d..e815a4fc85e3a 100644 --- a/Detectors/TPC/workflow/src/tpc-krypton-clusterer.cxx +++ b/Detectors/TPC/workflow/src/tpc-krypton-clusterer.cxx @@ -38,19 +38,6 @@ using namespace o2::tpc; std::vector gPolicyData; unsigned long gTpcSectorMask = 0xFFFFFFFFF; -// customize the completion policy -void customize(std::vector& policies) -{ - using o2::framework::CompletionPolicy; - policies.push_back(CompletionPolicyHelpers::defineByName("tpc-krypton-clusterer.*", CompletionPolicy::CompletionOp::Consume)); - // policies.push_back(CompletionPolicyHelpers::defineByName("file-writer", CompletionPolicy::CompletionOp::Consume)); - - // we customize the pipeline processors to consume data as it comes - // - // the custom completion policy for the tracker - policies.push_back(o2::tpc::TPCSectorCompletionPolicy("file-writer", o2::tpc::TPCSectorCompletionPolicy::Config::RequireAll, &gPolicyData, &gTpcSectorMask)()); -} - // we need to add workflow options before including Framework/runDataProcessing void customize(std::vector& workflowOptions) { diff --git a/Detectors/TPC/workflow/src/tpc-krypton-raw-filter.cxx b/Detectors/TPC/workflow/src/tpc-krypton-raw-filter.cxx index 04562ecfc0b81..e1fe37fda61b7 100644 --- a/Detectors/TPC/workflow/src/tpc-krypton-raw-filter.cxx +++ b/Detectors/TPC/workflow/src/tpc-krypton-raw-filter.cxx @@ -41,19 +41,6 @@ using namespace o2::tpc; std::vector gPolicyData; unsigned long gTpcSectorMask = 0xFFFFFFFFF; -// customize the completion policy -void customize(std::vector& policies) -{ - using o2::framework::CompletionPolicy; - policies.push_back(CompletionPolicyHelpers::defineByName("tpc-krypton-raw-filter.*", CompletionPolicy::CompletionOp::Consume)); - // policies.push_back(CompletionPolicyHelpers::defineByName("file-writer", CompletionPolicy::CompletionOp::Consume)); - - // we customize the pipeline processors to consume data as it comes - // - // the custom completion policy for the tracker - policies.push_back(o2::tpc::TPCSectorCompletionPolicy("file-writer", o2::tpc::TPCSectorCompletionPolicy::Config::RequireAll, &gPolicyData, &gTpcSectorMask)()); -} - // we need to add workflow options before including Framework/runDataProcessing void customize(std::vector& workflowOptions) {