76DataProcessorSpec getTrackerSpec(
bool useMC,
bool useGeom,
int trgType,
const std::string& trModeS,
const bool overrBeamEst, o2::gpu::GPUDataTypes::DeviceType dType)
78 std::vector<InputSpec> inputs;
80 inputs.emplace_back(
"compClusters",
"ITS",
"COMPCLUSTERS", 0, Lifetime::Timeframe);
81 inputs.emplace_back(
"patterns",
"ITS",
"PATTERNS", 0, Lifetime::Timeframe);
82 inputs.emplace_back(
"ROframes",
"ITS",
"CLUSTERSROF", 0, Lifetime::Timeframe);
84 inputs.emplace_back(
"phystrig",
"ITS",
"PHYSTRIG", 0, Lifetime::Timeframe);
85 }
else if (trgType == 2) {
86 inputs.emplace_back(
"phystrig",
"TRD",
"TRKTRGRD", 0, Lifetime::Timeframe);
88 inputs.emplace_back(
"itscldict",
"ITS",
"CLUSDICT", 0, Lifetime::Condition,
ccdbParamSpec(
"ITS/Calib/ClusterDictionary"));
89 inputs.emplace_back(
"itsalppar",
"ITS",
"ALPIDEPARAM", 0, Lifetime::Condition,
ccdbParamSpec(
"ITS/Config/AlpideParam"));
90 auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(
false,
99 ggRequest->addInput({
"itsTGeo",
"ITS",
"GEOMTGEO", 0, Lifetime::Condition, framework::ccdbParamSpec(
"ITS/Config/Geometry")}, inputs);
102 inputs.emplace_back(
"meanvtx",
"GLO",
"MEANVERTEX", 0, Lifetime::Condition,
ccdbParamSpec(
"GLO/Calib/MeanVertex", {}, 1));
105 std::vector<OutputSpec> outputs;
106 outputs.emplace_back(
"ITS",
"TRACKS", 0, Lifetime::Timeframe);
107 outputs.emplace_back(
"ITS",
"TRACKCLSID", 0, Lifetime::Timeframe);
108 outputs.emplace_back(
"ITS",
"ITSTrackROF", 0, Lifetime::Timeframe);
109 outputs.emplace_back(
"ITS",
"VERTICES", 0, Lifetime::Timeframe);
110 outputs.emplace_back(
"ITS",
"VERTICESROF", 0, Lifetime::Timeframe);
111 outputs.emplace_back(
"ITS",
"IRFRAMES", 0, Lifetime::Timeframe);
114 inputs.emplace_back(
"itsmclabels",
"ITS",
"CLUSTERSMCTR", 0, Lifetime::Timeframe);
115 inputs.emplace_back(
"ITSMC2ROframes",
"ITS",
"CLUSTERSMC2ROF", 0, Lifetime::Timeframe);
116 outputs.emplace_back(
"ITS",
"VERTICESMCTR", 0, Lifetime::Timeframe);
117 outputs.emplace_back(
"ITS",
"VERTICESMCPUR", 0, Lifetime::Timeframe);
118 outputs.emplace_back(
"ITS",
"TRACKSMCTR", 0, Lifetime::Timeframe);
119 outputs.emplace_back(
"ITS",
"ITSTrackMC2ROF", 0, Lifetime::Timeframe);
TrackerDPL(std::shared_ptr< o2::base::GRPGeomRequest > gr, bool isMC, int trgType, const TrackingMode &trMode=TrackingMode::Unset, const bool overrBeamEst=false, gpu::GPUDataTypes::DeviceType dType=gpu::GPUDataTypes::DeviceType::CPU)
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)