Project
Loading...
Searching...
No Matches
its-cluster-writer-workflow.cxx
Go to the documentation of this file.
1
// Copyright 2019-2026 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#include "
ITSWorkflow/ClusterWriterWorkflow.h
"
13
#include "
DataFormatsITSMFT/DPLAlpideParamInitializer.h
"
14
#include "
Framework/ConfigParamSpec.h
"
15
#include "
Framework/CompletionPolicyHelpers.h
"
16
17
using namespace
o2::framework
;
18
19
void
customize
(std::vector<o2::framework::CompletionPolicy>& policies)
20
{
21
// ordered policies for the writers
22
policies.push_back(
CompletionPolicyHelpers::consumeWhenAllOrdered
(
".*(?:ITS|its).*[W,w]riter.*"
));
23
}
24
25
void
customize
(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
26
{
27
workflowOptions.push_back(
28
ConfigParamSpec
{
29
"disable-mc"
,
30
o2::framework::VariantType::Bool
,
31
false
,
32
{
"disable MC propagation even if available"
}});
33
o2::itsmft::DPLAlpideParamInitializer::addITSConfigOption
(workflowOptions);
34
}
35
36
#include "
Framework/runDataProcessing.h
"
37
38
WorkflowSpec
defineDataProcessing
(
ConfigContext
const
& configcontext)
39
{
40
auto
useMC = !configcontext.
options
().
get
<
bool
>(
"disable-mc"
);
41
auto
doStag =
o2::itsmft::DPLAlpideParamInitializer::isITSStaggeringEnabled
(configcontext);
42
return
std::move(
o2::its::cluster_writer_workflow::getWorkflow
(useMC, doStag));
43
}
ClusterWriterWorkflow.h
CompletionPolicyHelpers.h
ConfigParamSpec.h
DPLAlpideParamInitializer.h
o2::framework::ConfigContext
Definition
ConfigContext.h:24
o2::framework::ConfigContext::options
ConfigParamRegistry & options() const
Definition
ConfigContext.h:28
o2::framework::ConfigParamRegistry::get
T get(const char *key) const
Definition
ConfigParamRegistry.h:98
defineDataProcessing
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
Definition
its-cluster-writer-workflow.cxx:38
customize
void customize(std::vector< o2::framework::CompletionPolicy > &policies)
Definition
its-cluster-writer-workflow.cxx:19
o2::framework
Defining ITS Vertex explicitly as messageable.
Definition
Cartesian.h:288
o2::framework::VariantType::Bool
@ Bool
o2::framework::WorkflowSpec
std::vector< DataProcessorSpec > WorkflowSpec
Definition
HBFUtilsInitializer.h:39
o2::its::cluster_writer_workflow::getWorkflow
framework::WorkflowSpec getWorkflow(bool useMC, bool doStag)
Definition
ClusterWriterWorkflow.cxx:25
runDataProcessing.h
o2::framework::CompletionPolicyHelpers::consumeWhenAllOrdered
static CompletionPolicy consumeWhenAllOrdered(const char *name, CompletionPolicy::Matcher matcher)
as consumeWhenAll, but ensures that records are processed with incremental timeSlice (DataHeader::sta...
Definition
CompletionPolicyHelpers.cxx:176
o2::framework::ConfigParamSpec
Definition
ConfigParamSpec.h:31
o2::itsmft::DPLAlpideParamInitializer::isITSStaggeringEnabled
static bool isITSStaggeringEnabled(o2::framework::ConfigContext const &cfgc)
Definition
DPLAlpideParamInitializer.cxx:36
o2::itsmft::DPLAlpideParamInitializer::addITSConfigOption
static void addITSConfigOption(std::vector< o2::framework::ConfigParamSpec > &opts)
Definition
DPLAlpideParamInitializer.cxx:26
Detectors
ITSMFT
ITS
workflow
src
its-cluster-writer-workflow.cxx
Generated on Sun Apr 26 2026 06:43:14 for Project by
1.9.8