99DataProcessorSpec getTrackerSpec(
bool useMC,
bool useGeom,
int trgType,
const std::string& trModeS,
const bool overrBeamEst, o2::gpu::GPUDataTypes::DeviceType dType)
101 std::vector<InputSpec> inputs;
102 inputs.emplace_back(
"compClusters",
"ITS",
"COMPCLUSTERS", 0, Lifetime::Timeframe);
103 inputs.emplace_back(
"patterns",
"ITS",
"PATTERNS", 0, Lifetime::Timeframe);
104 inputs.emplace_back(
"ROframes",
"ITS",
"CLUSTERSROF", 0, Lifetime::Timeframe);
106 inputs.emplace_back(
"phystrig",
"ITS",
"PHYSTRIG", 0, Lifetime::Timeframe);
107 }
else if (trgType == 2) {
108 inputs.emplace_back(
"phystrig",
"TRD",
"TRKTRGRD", 0, Lifetime::Timeframe);
110 inputs.emplace_back(
"cldict",
"IT3",
"CLUSDICT", 0, Lifetime::Condition,
ccdbParamSpec(
"IT3/Calib/ClusterDictionary"));
111 inputs.emplace_back(
"alppar",
"ITS",
"ALPIDEPARAM", 0, Lifetime::Condition,
ccdbParamSpec(
"ITS/Config/AlpideParam"));
112 auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(
false,
122 inputs.emplace_back(
"itsTGeo",
"ITS",
"GEOMTGEO", 0, Lifetime::Condition,
ccdbParamSpec(
"ITS/Config/Geometry"));
125 inputs.emplace_back(
"meanvtx",
"GLO",
"MEANVERTEX", 0, Lifetime::Condition,
ccdbParamSpec(
"GLO/Calib/MeanVertex", {}, 1));
128 std::vector<OutputSpec> outputs;
129 outputs.emplace_back(
"ITS",
"TRACKS", 0, Lifetime::Timeframe);
130 outputs.emplace_back(
"ITS",
"TRACKCLSID", 0, Lifetime::Timeframe);
131 outputs.emplace_back(
"ITS",
"ITSTrackROF", 0, Lifetime::Timeframe);
132 outputs.emplace_back(
"ITS",
"VERTICES", 0, Lifetime::Timeframe);
133 outputs.emplace_back(
"ITS",
"VERTICESROF", 0, Lifetime::Timeframe);
134 outputs.emplace_back(
"ITS",
"IRFRAMES", 0, Lifetime::Timeframe);
137 inputs.emplace_back(
"itsmclabels",
"ITS",
"CLUSTERSMCTR", 0, Lifetime::Timeframe);
138 inputs.emplace_back(
"ITSMC2ROframes",
"ITS",
"CLUSTERSMC2ROF", 0, Lifetime::Timeframe);
139 outputs.emplace_back(
"ITS",
"VERTICESMCTR", 0, Lifetime::Timeframe);
140 outputs.emplace_back(
"ITS",
"VERTICESMCPUR", 0, Lifetime::Timeframe);
141 outputs.emplace_back(
"ITS",
"TRACKSMCTR", 0, Lifetime::Timeframe);
142 outputs.emplace_back(
"ITS",
"ITSTrackMC2ROF", 0, Lifetime::Timeframe);
149 AlgorithmSpec{adaptFromTask<TrackerDPL>(ggRequest, useMC, trgType,
152 overrBeamEst, dType)},
TrackerDPL(std::shared_ptr< o2::base::GRPGeomRequest > gr, bool isMC, int trgType, const its::TrackingMode &trMode=its::TrackingMode::Unset, const bool overrBeamEst=false, gpu::GPUDataTypes::DeviceType dType=gpu::GPUDataTypes::DeviceType::CPU)