32 const bool overrideBeamPosition,
34 bool upstreamClusters,
35 bool disableRootOutput,
42 if (!(upstreamDigits || upstreamClusters)) {
45 if (!upstreamClusters) {
48 if (!disableRootOutput) {
56 .runITSTracking =
true,
57 .itsOverrBeamEst = overrideBeamPosition,
61 auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(
false,
true,
false,
true,
true,
65 ggRequest->addInput({
"itsTGeo",
"ITS",
"GEOMTGEO", 0, Lifetime::Condition,
framework::ccdbParamSpec(
"ITS/Config/Geometry")}, ggInputs);
68 static std::vector<InputSpec> policyData;
69 static std::shared_ptr<o2::gpu::GPURecoWorkflowSpec> task = std::make_shared<o2::gpu::GPURecoWorkflowSpec>(&policyData, cfg, std::vector<int>(), 0, ggRequest);
70 Inputs taskInputs = task->inputs();
71 Options taskOptions = task->options();
72 std::move(ggInputs.begin(), ggInputs.end(), std::back_inserter(taskInputs));
75 .
name =
"its-gpu-tracker",
77 .outputs = task->outputs(),
78 .algorithm =
AlgorithmSpec{adoptTask<o2::gpu::GPURecoWorkflowSpec>(task)},
79 .options = taskOptions});
83 if (!disableRootOutput) {
framework::WorkflowSpec getWorkflow(bool useMC, TrackingMode::Type trmode, const bool overrideBeamPosition=false, bool upstreamDigits=false, bool upstreamClusters=false, bool disableRootOutput=false, bool useGeom=false, int useTrig=0, bool useGPUWF=false, o2::gpu::gpudatatypes::DeviceType dType=o2::gpu::gpudatatypes::DeviceType::CPU)
framework::DataProcessorSpec getTrackerSpec(bool useMC, bool useGeom, int useTrig, TrackingMode::Type trMode, const bool overrBeamEst=false, o2::gpu::gpudatatypes::DeviceType dType=o2::gpu::gpudatatypes::DeviceType::CPU)