@@ -224,15 +224,15 @@ struct PidFlowPtCorr {
224224 ConfigurableAxis cfgaxisBootstrap{" cfgaxisBootstrap" , {30 , 0 , 30 }, " cfgaxisBootstrap" };
225225 } meanptC22GraphOpts;
226226
227- AxisSpec axisMultiplicity{{ 0 , 5 , 10 , 15 , 20 , 30 , 40 , 50 , 60 , 70 , 80 , 90 }, " Centrality (%)" };
227+ ConfigurableAxis axisMultiplicity{" axisMultiplicity " , { VARIABLE_WIDTH , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 12 , 14 , 16 , 18 , 20 , 25 , 30 , 35 , 40 , 45 , 50 , 55 , 60 , 65 , 70 , 80 , 90 }, " Centrality (%)" };
228228
229229 // configurable
230230
231231 // filter
232232 // filter and using
233233 // data
234234 Filter collisionFilter = nabs(aod::collision::posZ) < cfgCutVertex;
235- Filter trackFilter = (nabs(aod::track::eta) < trkQualityOpts.cfgCutEta.value);
235+ Filter trackFilter = ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == ( uint8_t ) true )) && ( nabs(aod::track::eta) < trkQualityOpts.cfgCutEta.value);
236236
237237 using TracksPID = soa::Join<aod::pidTPCPi, aod::pidTPCKa, aod::pidTPCPr, aod::pidTOFPi, aod::pidTOFKa, aod::pidTOFPr>;
238238 // data tracks filter
@@ -327,10 +327,6 @@ struct PidFlowPtCorr {
327327 TF1 * fT0AV0ASigma = nullptr ;
328328
329329 // Declare the pt, mult and phi Axis;
330- int nPtBins = 0 ;
331- TAxis* fPtAxis = nullptr ;
332-
333- TAxis* fMultAxis = nullptr ;
334330
335331 std::vector<TF1 *> funcEff;
336332 TH1D * hFindPtBin;
@@ -377,13 +373,6 @@ struct PidFlowPtCorr {
377373 cfgMultPVCutPara = evtSeleOpts.cfgMultPVCut ;
378374
379375 // Set the pt, mult and phi Axis;
380- o2::framework::AxisSpec axisPt = cfgaxisPt;
381- nPtBins = axisPt.binEdges .size () - 1 ;
382- fPtAxis = new TAxis (nPtBins, &(axisPt.binEdges )[0 ]);
383-
384- o2::framework::AxisSpec axisMult = axisMultiplicity;
385- int nMultBins = axisMult.binEdges .size () - 1 ;
386- fMultAxis = new TAxis (nMultBins, &(axisMult.binEdges )[0 ]);
387376
388377 if (dcaCutOpts.cfgDCAxyNSigma ) {
389378 dcaCutOpts.fPtDepDCAxy = new TF1 (" ptDepDCAxy" , Form (" [0]*%s" , dcaCutOpts.cfgDCAxy ->c_str ()), 0.001 , 1000 );
@@ -1701,7 +1690,7 @@ struct PidFlowPtCorr {
17011690 break ;
17021691
17031692 default :
1704- LOGF (warning, " could not find event count graph" );
1693+ // LOGF(warning, "could not find event count graph");
17051694 break ;
17061695 }
17071696 }
0 commit comments