33 const bool overrBeamEst,
35 mRecChain{
o2::gpu::GPUReconstruction::CreateInstance(dType, true)},
36 mITSTrackingInterface{isMC, doStag, trgType, overrBeamEst}
91 LOGF(info,
"ITS CA-Tracker total timing: Cpu: %.3e Real: %.3e s in %d slots", mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
98 std::vector<InputSpec> inputs;
99 for (
int iLayer = 0; iLayer < mLayers; ++iLayer) {
100 inputs.emplace_back(
"compClusters",
"ITS",
"COMPCLUSTERS", iLayer, Lifetime::Timeframe);
101 inputs.emplace_back(
"patterns",
"ITS",
"PATTERNS", iLayer, Lifetime::Timeframe);
102 inputs.emplace_back(
"ROframes",
"ITS",
"CLUSTERSROF", iLayer, Lifetime::Timeframe);
104 inputs.emplace_back(
"itsmclabels",
"ITS",
"CLUSTERSMCTR", iLayer, Lifetime::Timeframe);
108 inputs.emplace_back(
"phystrig",
"ITS",
"PHYSTRIG", 0, Lifetime::Timeframe);
109 }
else if (trgType == 2) {
110 inputs.emplace_back(
"phystrig",
"TRD",
"TRKTRGRD", 0, Lifetime::Timeframe);
112 inputs.emplace_back(
"itscldict",
"ITS",
"CLUSDICT", 0, Lifetime::Condition,
ccdbParamSpec(
"ITS/Calib/ClusterDictionary"));
113 inputs.emplace_back(
"itsalppar",
"ITS",
"ALPIDEPARAM", 0, Lifetime::Condition,
ccdbParamSpec(
"ITS/Config/AlpideParam"));
114 auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(
false,
123 ggRequest->addInput({
"itsTGeo",
"ITS",
"GEOMTGEO", 0, Lifetime::Condition,
framework::ccdbParamSpec(
"ITS/Config/Geometry")}, inputs);
126 inputs.emplace_back(
"meanvtx",
"GLO",
"MEANVERTEX", 0, Lifetime::Condition,
ccdbParamSpec(
"GLO/Calib/MeanVertex", {}, 1));
129 std::vector<OutputSpec> outputs;
130 outputs.emplace_back(
"ITS",
"TRACKS", 0, Lifetime::Timeframe);
131 outputs.emplace_back(
"ITS",
"TRACKCLSID", 0, Lifetime::Timeframe);
132 outputs.emplace_back(
"ITS",
"ITSTrackROF", 0, Lifetime::Timeframe);
133 outputs.emplace_back(
"ITS",
"VERTICES", 0, Lifetime::Timeframe);
134 outputs.emplace_back(
"ITS",
"VERTICESROF", 0, Lifetime::Timeframe);
135 outputs.emplace_back(
"ITS",
"IRFRAMES", 0, Lifetime::Timeframe);
137 outputs.emplace_back(
"ITS",
"VERTICESMCTR", 0, Lifetime::Timeframe);
138 outputs.emplace_back(
"ITS",
"VERTICESMCPUR", 0, Lifetime::Timeframe);
139 outputs.emplace_back(
"ITS",
"TRACKSMCTR", 0, Lifetime::Timeframe);
143 .
name =
"its-tracker",
146 .algorithm =
AlgorithmSpec{adaptFromTask<TrackerDPL>(ggRequest,
ServiceRegistryRef services()
The services registry associated with this processing context.
TrackerDPL(std::shared_ptr< o2::base::GRPGeomRequest > gr, bool isMC, bool doStag, int trgType, const TrackingMode::Type trMode=TrackingMode::Unset, const bool overrBeamEst=false, o2::gpu::gpudatatypes::DeviceType dType=o2::gpu::gpudatatypes::DeviceType::CPU)
framework::DataProcessorSpec getTrackerSpec(bool useMC, bool doStag, bool useGeom, int useTrig, TrackingMode::Type trMode, const bool overrBeamEst=false, o2::gpu::gpudatatypes::DeviceType dType=o2::gpu::gpudatatypes::DeviceType::CPU)