28static std::shared_ptr<o2::gpu::GPURecoWorkflowSpec> gTask;
34namespace reco_workflow
39 const std::string& trmode,
40 const bool overrideBeamPosition,
42 bool upstreamClusters,
43 bool disableRootOutput,
47 o2::gpu::GPUDataTypes::DeviceType dtype)
50 if (!(upstreamDigits || upstreamClusters)) {
53 if (!upstreamClusters) {
56 if (!disableRootOutput) {
59 if (!trmode.empty()) {
68 auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(
false,
true,
false,
true,
true,
72 ggRequest->addInput({
"itsTGeo",
"ITS",
"GEOMTGEO", 0, Lifetime::Condition,
framework::ccdbParamSpec(
"ITS/Config/Geometry")}, ggInputs);
75 auto task = std::make_shared<o2::gpu::GPURecoWorkflowSpec>(&gPolicyData, cfg, std::vector<int>(), 0, ggRequest);
77 Inputs taskInputs = task->inputs();
78 Options taskOptions = task->options();
79 std::move(ggInputs.begin(), ggInputs.end(), std::back_inserter(taskInputs));
93 if (!disableRootOutput) {
std::vector< InputSpec > CompletionPolicyData
std::vector< ConfigParamSpec > ccdbParamSpec(std::string const &path, int runDependent, std::vector< CCDBMetadata > metadata={}, int qrate=0)
std::vector< DataProcessorSpec > WorkflowSpec
std::vector< ConfigParamSpec > Options
std::vector< InputSpec > Inputs
o2::framework::DataProcessorSpec getIRFrameWriterSpec(const std::string &spec, const std::string &defFileName="o2_irframe.root", const std::string &devName="irframe-writer")
framework::WorkflowSpec getWorkflow(bool useMC, bool useCAtracker, const std::string &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 getClusterWriterSpec(bool useMC)
framework::DataProcessorSpec getTrackerSpec(bool useMC, bool useGeom, int useTrig, const std::string &trMode, const bool overrBeamEst=false, gpu::GPUDataTypes::DeviceType dType=gpu::GPUDataTypes::DeviceType::CPU)
framework::DataProcessorSpec getCookedTrackerSpec(bool useMC, bool useGeom, int useTrig, const std::string &trMode)
framework::DataProcessorSpec getClustererSpec(bool useMC)
o2::framework::DataProcessorSpec getTrackWriterSpec(bool useMC)
framework::DataProcessorSpec getITSDigitReaderSpec(bool useMC=true, bool useCalib=false, bool useTriggers=true, std::string defname="o2_itsdigits.root")
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...