@@ -1150,6 +1150,7 @@ struct ProbeThirdTrack {
11501150 Configurable<LabeledArray<double >> mlCutsDzeroFromDstar{" mlCutsDzeroFromDstar" , {aod::tagandprobe::mlCuts[0 ], aod::tagandprobe::nBinsPt, 3 , aod::tagandprobe::labelsEmpty, aod::tagandprobe::labelsMlScores}, " ML Selections for Kpi pairs from D0 <- D*+ decays" };
11511151 } mlConfig;
11521152 Configurable<float > ptCandMin{" ptCandMin" , 0 .f , " Minimum candidate pt for THnSparse filling" };
1153+ Configurable<float > fillTpcOnlyCase{" fillTpcOnlyCase" , false , " Fill output for TPC only case (not needed for thinned data or Pb-Pb)" };
11531154
11541155 ConfigurableAxis axisPtProbe{" axisPtProbe" , {VARIABLE_WIDTH, 0 .05f , 0 .1f , 0 .2f , 0 .3f , 0 .4f , 0 .5f , 0 .6f , 0 .7f , 0 .8f , 0 .9f , 1 .0f , 1 .2f , 1 .5f , 2 .0f , 2 .5f , 3 .0f , 3 .5f , 4 .0f , 4 .5f , 5 .0f , 6 .0f , 7 .0f , 8 .0f , 9 .0f , 10 .f , 12 .f , 15 .f , 20 .f , 25 .f , 30 .f }, " Axis for pt Probe" };
11551156 ConfigurableAxis axisPtTag{" axisPtTag" , {VARIABLE_WIDTH, 0 .05f , 0 .1f , 0 .2f , 0 .3f , 0 .4f , 0 .5f , 0 .6f , 0 .7f , 0 .8f , 0 .9f , 1 .0f , 1 .2f , 1 .5f , 2 .0f , 2 .5f , 3 .0f , 3 .5f , 4 .0f , 4 .5f , 5 .0f , 6 .0f , 7 .0f , 8 .0f , 9 .0f , 10 .f , 12 .f , 15 .f , 20 .f , 25 .f , 30 .f }, " Axis for pt Tag" };
@@ -1250,6 +1251,9 @@ struct ProbeThirdTrack {
12501251
12511252 for (int iChannel{0 }; iChannel < aod::tagandprobe::TagChannels::NTagChannels; ++iChannel) {
12521253 for (int iTrackType{0 }; iTrackType < aod::tagandprobe::TrackTypes::NTrackTypes; ++iTrackType) {
1254+ if (!fillTpcOnlyCase && iTrackType == aod::tagandprobe::TrackTypes::GlobalWoDcaWoIts) {
1255+ continue ;
1256+ }
12531257 histos[iChannel][iTrackType] = registry.add <THnSparse>(Form (" h%sVsPtProbeTag_%s" , tagChannels[iChannel].data (), trackTypes[iTrackType].data ()),
12541258 " ; #it{p}_{T}(D) (GeV/#it{c}); #it{p}_{T}(tag) (GeV/#it{c}); #it{p}_{T}(probe) (GeV/#it{c}); #it{p}_{T}^{TPC in}(probe) (GeV/#it{c}); #it{M}(D) (GeV/#it{c}^{2}); #it{M}(tag) (GeV/#it{c}^{2}); #it{#eta}(probe); #it{N}_{cross rows}^{TPC}(probe); #chi^{2}/#it{N}_{clusters}^{TPC}(probe); #it{N}_{clusters}^{ITS}(probe);" ,
12551259 HistType::kTHnSparseF , {axisPtD, axisPtTag, axisPtProbe, axisPtProbe, axisMass[iChannel], axisMassTag[iChannel], axisEtaProbe, axisNumCrossRowTpc, axisTpcChi2PerClus, axisNumCluIts});
@@ -1346,6 +1350,9 @@ struct ProbeThirdTrack {
13461350 continue ;
13471351 }
13481352 for (int iTrackType{0 }; iTrackType < aod::tagandprobe::TrackTypes::NTrackTypes; ++iTrackType) {
1353+ if (!fillTpcOnlyCase && iTrackType == aod::tagandprobe::TrackTypes::GlobalWoDcaWoIts) {
1354+ continue ;
1355+ }
13491356 if (trackSelector[iTrackType].IsSelected (trackThird)) {
13501357 histos[channel][iTrackType]->Fill (ptD, ptTag, ptTrackThird, ptTpcInnerTrackThird, invMass, invMassTag, etaTrackThird, numTpcCrossRowTrackThird, numTpcChi2NumCluTrackThird, numItsCluTrackThird);
13511358 }
0 commit comments