@@ -1095,8 +1095,12 @@ Inputs GPURecoWorkflowSpec::inputs()
10951095 } else if (mSpecConfig .enableDoublePipeline == 1 ) {
10961096 inputs.emplace_back (" pipelineprepare" , gDataOriginGPU , " PIPELINEPREPARE" , 0 , Lifetime::Timeframe);
10971097 }
1098+ if (mSpecConfig .outputTracks || mSpecConfig .caClusterer ) {
1099+ // calibration objects for TPC clusterization
1100+ inputs.emplace_back (" tpcgain" , gDataOriginTPC , " PADGAINFULL" , 0 , Lifetime::Condition, ccdbParamSpec (o2::tpc::CDBTypeMap.at (o2::tpc::CDBType::CalPadGainFull)));
1101+ }
10981102 if (mSpecConfig .outputTracks ) {
1099- // loading calibration objects from the CCDB
1103+ // calibration objects for TPC tracking
11001104 const auto mapSources = mSpecConfig .tpcDeadMapSources ;
11011105 if (mapSources != 0 ) {
11021106 tpc::SourcesDeadMap sources ((mapSources > -1 ) ? static_cast <tpc::SourcesDeadMap>(mapSources) : tpc::SourcesDeadMap::All);
@@ -1107,7 +1111,7 @@ Inputs GPURecoWorkflowSpec::inputs()
11071111 inputs.emplace_back (" tpcruninfo" , gDataOriginTPC , " TPCRUNINFO" , 0 , Lifetime::Condition, ccdbParamSpec (o2::tpc::CDBTypeMap.at (o2::tpc::CDBType::ConfigRunInfo)));
11081112 }
11091113 }
1110- inputs. emplace_back ( " tpcgain " , gDataOriginTPC , " PADGAINFULL " , 0 , Lifetime::Condition, ccdbParamSpec (o2::tpc::CDBTypeMap. at (o2::tpc::CDBType::CalPadGainFull)));
1114+
11111115 inputs.emplace_back (" tpcgainresidual" , gDataOriginTPC , " PADGAINRESIDUAL" , 0 , Lifetime::Condition, ccdbParamSpec (o2::tpc::CDBTypeMap.at (o2::tpc::CDBType::CalPadGainResidual), {}, 1 )); // time-dependent
11121116 if (mSpecConfig .tpcUseMCTimeGain ) {
11131117 inputs.emplace_back (" tpctimegain" , gDataOriginTPC , " TIMEGAIN" , 0 , Lifetime::Condition, ccdbParamSpec (o2::tpc::CDBTypeMap.at (o2::tpc::CDBType::CalTimeGainMC), {}, 1 )); // time-dependent
@@ -1124,11 +1128,6 @@ Inputs GPURecoWorkflowSpec::inputs()
11241128 if (mSpecConfig .decompressTPC ) {
11251129 inputs.emplace_back (InputSpec{" input" , ConcreteDataTypeMatcher{gDataOriginTPC , mSpecConfig .decompressTPCFromROOT ? o2::header::DataDescription (" COMPCLUSTERS" ) : o2::header::DataDescription (" COMPCLUSTERSFLAT" )}, Lifetime::Timeframe});
11261130 } else if (mSpecConfig .caClusterer ) {
1127- // if the output type are tracks, then the input spec for the gain map is already defined
1128- if (!mSpecConfig .outputTracks ) {
1129- inputs.emplace_back (" tpcgain" , gDataOriginTPC , " PADGAINFULL" , 0 , Lifetime::Condition, ccdbParamSpec (o2::tpc::CDBTypeMap.at (o2::tpc::CDBType::CalPadGainFull)));
1130- }
1131-
11321131 // We accept digits and MC labels also if we run on ZS Raw data, since they are needed for MC label propagation
11331132 if ((!mSpecConfig .zsOnTheFly || mSpecConfig .processMC ) && !mSpecConfig .zsDecoder ) {
11341133 inputs.emplace_back (InputSpec{" input" , ConcreteDataTypeMatcher{gDataOriginTPC , " DIGITS" }, Lifetime::Timeframe});
0 commit comments