@@ -223,7 +223,7 @@ void GPURecoWorkflowSpec::init(InitContext& ic)
223223 mConfig ->configWorkflow .inputs .setBits (GPUDataTypes::InOutType::TRDTracklets, true );
224224 mConfig ->configWorkflow .steps .setBits (GPUDataTypes::RecoStep::TRDTracking, true );
225225 }
226- if (mSpecConfig .runITSTracking ) {
226+ if (mSpecConfig .runITSTracking | mSpecConfig . runITS3Tracking ) {
227227 mConfig ->configWorkflow .inputs .setBits (GPUDataTypes::InOutType::ITSClusters, true );
228228 mConfig ->configWorkflow .outputs .setBits (GPUDataTypes::InOutType::ITSTracks, true );
229229 mConfig ->configWorkflow .steps .setBits (GPUDataTypes::RecoStep::ITSTracking, true );
@@ -299,7 +299,7 @@ void GPURecoWorkflowSpec::init(InitContext& ic)
299299 }
300300
301301 // initialize ITS
302- if (mSpecConfig .runITSTracking ) {
302+ if (mSpecConfig .runITSTracking || mSpecConfig . runITS3Tracking ) {
303303 initFunctionITS (ic);
304304 }
305305 }
@@ -376,7 +376,7 @@ void GPURecoWorkflowSpec::finaliseCCDB(o2::framework::ConcreteDataMatcher& match
376376{
377377 if (mSpecConfig .enableDoublePipeline != 2 ) {
378378 finaliseCCDBTPC (matcher, obj);
379- if (mSpecConfig .runITSTracking ) {
379+ if (mSpecConfig .runITSTracking || mSpecConfig . runITS3Tracking ) {
380380 finaliseCCDBITS (matcher, obj);
381381 }
382382 }
@@ -509,7 +509,7 @@ int32_t GPURecoWorkflowSpec::runMain(o2::framework::ProcessingContext* pc, GPUTr
509509 if (mConfParam ->dump < 2 ) {
510510 retVal = mGPUReco ->RunTracking (ptrs, outputRegions, threadIndex, inputUpdateCallback);
511511
512- if (retVal == 0 && mSpecConfig .runITSTracking ) {
512+ if (retVal == 0 && ( mSpecConfig .runITSTracking || mSpecConfig . runITS3Tracking ) ) {
513513 retVal = runITSTracking (*pc);
514514 }
515515 }
@@ -1046,7 +1046,7 @@ void GPURecoWorkflowSpec::doCalibUpdates(o2::framework::ProcessingContext& pc, c
10461046 }
10471047 }
10481048 needCalibUpdate = fetchCalibsCCDBTPC (pc, newCalibObjects, oldCalibObjects) || needCalibUpdate;
1049- if (mSpecConfig .runITSTracking ) {
1049+ if (mSpecConfig .runITSTracking || mSpecConfig . runITS3Tracking ) {
10501050 needCalibUpdate = fetchCalibsCCDBITS (pc) || needCalibUpdate;
10511051 }
10521052 if (mTPCCutAtTimeBin != mConfig ->configGRP .tpcCutTimeBin ) {
@@ -1165,7 +1165,7 @@ Inputs GPURecoWorkflowSpec::inputs()
11651165 inputs.emplace_back (" trdtrigrecmask" , o2::header::gDataOriginTRD , " TRIGRECMASK" , 0 , Lifetime::Timeframe);
11661166 }
11671167
1168- if (mSpecConfig .runITSTracking ) {
1168+ if (mSpecConfig .runITSTracking || mSpecConfig . runITS3Tracking ) {
11691169 inputs.emplace_back (" compClusters" , " ITS" , " COMPCLUSTERS" , 0 , Lifetime::Timeframe);
11701170 inputs.emplace_back (" patterns" , " ITS" , " PATTERNS" , 0 , Lifetime::Timeframe);
11711171 inputs.emplace_back (" ROframes" , " ITS" , " CLUSTERSROF" , 0 , Lifetime::Timeframe);
@@ -1174,9 +1174,13 @@ Inputs GPURecoWorkflowSpec::inputs()
11741174 } else if (mSpecConfig .itsTriggerType == 2 ) {
11751175 inputs.emplace_back (" phystrig" , " TRD" , " TRKTRGRD" , 0 , Lifetime::Timeframe);
11761176 }
1177- inputs.emplace_back (" itscldict" , " ITS" , " CLUSDICT" , 0 , Lifetime::Condition, ccdbParamSpec (" ITS/Calib/ClusterDictionary" ));
1178- inputs.emplace_back (" itsalppar" , " ITS" , " ALPIDEPARAM" , 0 , Lifetime::Condition, ccdbParamSpec (" ITS/Config/AlpideParam" ));
1179-
1177+ if (mSpecConfig .runITS3Tracking ) {
1178+ inputs.emplace_back (" cldict" , " IT3" , " CLUSDICT" , 0 , Lifetime::Condition, ccdbParamSpec (" IT3/Calib/ClusterDictionary" ));
1179+ inputs.emplace_back (" alppar" , " ITS" , " ALPIDEPARAM" , 0 , Lifetime::Condition, ccdbParamSpec (" ITS/Config/AlpideParam" ));
1180+ } else {
1181+ inputs.emplace_back (" itscldict" , " ITS" , " CLUSDICT" , 0 , Lifetime::Condition, ccdbParamSpec (" ITS/Calib/ClusterDictionary" ));
1182+ inputs.emplace_back (" itsalppar" , " ITS" , " ALPIDEPARAM" , 0 , Lifetime::Condition, ccdbParamSpec (" ITS/Config/AlpideParam" ));
1183+ }
11801184 if (mSpecConfig .itsOverrBeamEst ) {
11811185 inputs.emplace_back (" meanvtx" , " GLO" , " MEANVERTEX" , 0 , Lifetime::Condition, ccdbParamSpec (" GLO/Calib/MeanVertex" , {}, 1 ));
11821186 }
@@ -1246,7 +1250,7 @@ Outputs GPURecoWorkflowSpec::outputs()
12461250 outputSpecs.emplace_back (gDataOriginGPU , " ERRORQA" , 0 , Lifetime::Timeframe);
12471251 }
12481252
1249- if (mSpecConfig .runITSTracking ) {
1253+ if (mSpecConfig .runITSTracking || mSpecConfig . runITS3Tracking ) {
12501254 outputSpecs.emplace_back (gDataOriginITS , " TRACKS" , 0 , Lifetime::Timeframe);
12511255 outputSpecs.emplace_back (gDataOriginITS , " TRACKCLSID" , 0 , Lifetime::Timeframe);
12521256 outputSpecs.emplace_back (gDataOriginITS , " ITSTrackROF" , 0 , Lifetime::Timeframe);
0 commit comments