@@ -77,6 +77,32 @@ struct Phik0shortanalysis {
7777 // Configurable on multiplicity bins
7878 Configurable<std::vector<double >> binsMult{" binsMult" , {0.0 , 1.0 , 5.0 , 10.0 , 15.0 , 20.0 , 30.0 , 40.0 , 50.0 , 70.0 , 100.0 }, " Multiplicity bin limits" };
7979
80+ // Configurables for track selection (not necessarily common for trigger and the two associated particles)
81+ struct : ConfigurableGroup {
82+ Configurable<float > cfgCutCharge{" cfgCutCharge" , 0.0 , " Cut on charge" };
83+ Configurable<bool > cfgPrimaryTrack{" cfgPrimaryTrack" , false , " Primary track selection" };
84+ Configurable<bool > cfgGlobalWoDCATrack{" cfgGlobalWoDCATrack" , true , " Global track selection without DCA" };
85+ Configurable<bool > cfgPVContributor{" cfgPVContributor" , true , " PV contributor track selection" };
86+ Configurable<float > cMinKaonPtcut{" cMinKaonPtcut" , 0 .15f , " Track minimum pt cut" };
87+ Configurable<float > cMaxDCAzToPVcut{" cMaxDCAzToPVcut" , 2 .0f , " Track DCAz cut to PV Maximum" };
88+ Configurable<float > cMaxDCArToPV1{" cMaxDCArToPV1" , 0 .004f , " Track DCAr cut to PV config 1" };
89+ Configurable<float > cMaxDCArToPV2{" cMaxDCArToPV2" , 0 .013f , " Track DCAr cut to PV config 2" };
90+ Configurable<float > cMaxDCArToPV3{" cMaxDCArToPV3" , 1 .0f , " Track DCAr cut to PV config 3" };
91+ Configurable<float > etaMax{" etaMax" , 0 .8f , " eta max" };
92+
93+ Configurable<bool > isNoTOF{" isNoTOF" , false , " isNoTOF" };
94+ Configurable<float > nSigmaCutTPCKa{" nSigmaCutTPCKa" , 3.0 , " Value of the TPC Nsigma cut for Kaons" };
95+ Configurable<float > nSigmaCutCombinedKa{" nSigmaCutCombinedKa" , 3.0 , " Value of the TOF Nsigma cut for Kaons" };
96+
97+ Configurable<float > nSigmaCutTPCPion{" nSigmaCutTPCPion" , 4.0 , " Value of the TPC Nsigma cut for Pions" };
98+ Configurable<float > cMinPionPtcut{" cMinPionPtcut" , 0 .3f , " Track minimum pt cut" };
99+ Configurable<int > minTPCnClsFound{" minTPCnClsFound" , 70 , " min number of found TPC clusters" };
100+ Configurable<int > minNCrossedRowsTPC{" minNCrossedRowsTPC" , 80 , " min number of TPC crossed rows" };
101+ Configurable<float > maxChi2TPC{" maxChi2TPC" , 4 .0f , " max chi2 per cluster TPC" };
102+ Configurable<int > minITSnCls{" minITSnCls" , 4 , " min number of ITS clusters" };
103+ Configurable<float > maxChi2ITS{" maxChi2ITS" , 36 .0f , " max chi2 per cluster ITS" };
104+ } trackConfigs;
105+
80106 // Configurables on phi pT bins
81107 Configurable<std::vector<double >> binspTPhi{" binspTPhi" , {0.4 , 0.8 , 1.4 , 2.0 , 2.8 , 4.0 , 6.0 , 10.0 }, " pT bin limits for Phi" };
82108
@@ -85,40 +111,21 @@ struct Phik0shortanalysis {
85111 Configurable<float > lowMPhi{" lowMPhi" , 1.0095 , " Upper limits on Phi mass for signal extraction" };
86112 Configurable<float > upMPhi{" upMPhi" , 1.029 , " Upper limits on Phi mass for signal extraction" };
87113
88- // Configurables for Phi selection
89- Configurable<float > cfgCutCharge{" cfgCutCharge" , 0.0 , " Cut on charge" };
90- Configurable<bool > cfgPrimaryTrack{" cfgPrimaryTrack" , false , " Primary track selection" };
91- Configurable<bool > cfgGlobalWoDCATrack{" cfgGlobalWoDCATrack" , true , " Global track selection without DCA" };
92- Configurable<bool > cfgPVContributor{" cfgPVContributor" , true , " PV contributor track selection" };
93- Configurable<float > cMinKaonPtcut{" cMinKaonPtcut" , 0 .15f , " Track minimum pt cut" };
94- Configurable<float > cMaxDCAzToPVcut{" cMaxDCAzToPVcut" , 2 .0f , " Track DCAz cut to PV Maximum" };
95- Configurable<float > cMaxDCArToPV1{" cMaxDCArToPV1" , 0 .004f , " Track DCAr cut to PV config 1" };
96- Configurable<float > cMaxDCArToPV2{" cMaxDCArToPV2" , 0 .013f , " Track DCAr cut to PV config 2" };
97- Configurable<float > cMaxDCArToPV3{" cMaxDCArToPV3" , 1 .0f , " Track DCAr cut to PV config 3" };
98-
99- Configurable<bool > isNoTOF{" isNoTOF" , false , " isNoTOF" };
100- Configurable<float > nSigmaCutTPCKa{" nSigmaCutTPCKa" , 3.0 , " Value of the TPC Nsigma cut for Kaons" };
101- Configurable<float > nSigmaCutCombinedKa{" nSigmaCutCombinedKa" , 3.0 , " Value of the TOF Nsigma cut for Kaons" };
102-
103114 // Configurables for V0 selection
104- Configurable<int > minTPCnClsFound{" minTPCnClsFound" , 70 , " min number of found TPC clusters" };
105- Configurable<int > minNCrossedRowsTPC{" minNCrossedRowsTPC" , 80 , " min number of TPC crossed rows" };
106- Configurable<float > maxChi2TPC{" maxChi2TPC" , 4 .0f , " max chi2 per cluster TPC" };
107- Configurable<float > etaMax{" etaMax" , 0 .8f , " eta max" };
115+ struct : ConfigurableGroup {
116+ Configurable<float > v0SettingCosPA{" v0SettingCosPA" , 0.98 , " V0 CosPA" };
117+ Configurable<float > v0SettingRadius{" v0SettingRadius" , 0.5 , " v0radius" };
118+ Configurable<float > v0SettingDCAV0Dau{" v0SettingDCAV0Dau" , 1 , " DCA V0 Daughters" };
119+ Configurable<float > v0SettingDCAPosToPV{" v0SettingDCAPosToPV" , 0.06 , " DCA Pos To PV" };
120+ Configurable<float > v0SettingDCANegToPV{" v0SettingDCANegToPV" , 0.06 , " DCA Neg To PV" };
108121
109- Configurable<float > v0SettingCosPA{" v0SettingCosPA" , 0.98 , " V0 CosPA" };
110- Configurable<float > v0SettingRadius{" v0SettingRadius" , 0.5 , " v0radius" };
111- Configurable<float > v0SettingDCAV0Dau{" v0SettingDCAV0Dau" , 1 , " DCA V0 Daughters" };
112- Configurable<float > v0SettingDCAPosToPV{" v0SettingDCAPosToPV" , 0.06 , " DCA Pos To PV" };
113- Configurable<float > v0SettingDCANegToPV{" v0SettingDCANegToPV" , 0.06 , " DCA Neg To PV" };
122+ Configurable<bool > cfgisV0ForData{" cfgisV0ForData" , true , " isV0ForData" };
114123
115- Configurable<bool > cfgisV0ForData{" cfgisV0ForData" , true , " isV0ForData" };
116- Configurable<float > nSigmaCutTPCPion{" nSigmaCutTPCPion" , 4.0 , " Value of the TPC Nsigma cut for Pions" };
117-
118- Configurable<bool > cfgFurtherV0Selection{" cfgFurtherV0Selection" , false , " Further V0 selection" };
119- Configurable<float > ctauK0s{" ctauK0s" , 20 .0f , " C tau K0s(cm)" };
120- Configurable<float > paramArmenterosCut{" paramArmenterosCut" , 0.2 , " parameter Armenteros Cut" };
121- Configurable<float > v0rejK0s{" v0rejK0s" , 0.005 , " V0 rej K0s" };
124+ Configurable<bool > cfgFurtherV0Selection{" cfgFurtherV0Selection" , false , " Further V0 selection" };
125+ Configurable<float > ctauK0s{" ctauK0s" , 20 .0f , " C tau K0s(cm)" };
126+ Configurable<float > paramArmenterosCut{" paramArmenterosCut" , 0.2 , " parameter Armenteros Cut" };
127+ Configurable<float > v0rejK0s{" v0rejK0s" , 0.005 , " V0 rej K0s" };
128+ }v0Configs;
122129
123130 // Configurables on K0S mass
124131 Configurable<float > lowMK0S{" lowMK0S" , 0.48 , " Lower limit on K0Short mass" };
@@ -127,12 +134,6 @@ struct Phik0shortanalysis {
127134 // Configurable on K0S pT bins
128135 Configurable<std::vector<double >> binspTK0S{" binspTK0S" , {0.1 , 0.8 , 1.2 , 1.6 , 2.0 , 2.5 , 3.0 , 4.0 , 6.0 }, " pT bin limits for K0S" };
129136
130- // Configurables for pions selection(extra with respect to a few of those defined for V0)
131- Configurable<int > minITSnCls{" minITSnCls" , 4 , " min number of ITS clusters" };
132- Configurable<float > maxChi2ITS{" maxChi2ITS" , 36 .0f , " max chi2 per cluster ITS" };
133- Configurable<float > dcaxyMax{" dcaxyMax" , 0 .1f , " Maximum DCAxy to primary vertex" };
134- Configurable<float > dcazMax{" dcazMax" , 0 .1f , " Maximum DCAz to primary vertex" };
135-
136137 // Configurable on pion pT bins
137138 Configurable<std::vector<double >> binspTPi{" binspTPi" , {0.3 , 0.4 , 0.5 , 0.6 , 0.8 , 1.0 , 1.2 , 1.5 , 2.0 , 3.0 }, " pT bin limits for pions" };
138139
@@ -163,7 +164,7 @@ struct Phik0shortanalysis {
163164 Filter posZFilter = (nabs(o2::aod::collision::posZ) < cutZVertex);
164165
165166 // Defining filters on V0s (cannot filter on dynamic columns)
166- Filter preFilterV0 = (nabs(aod::v0data::dcapostopv) > v0SettingDCAPosToPV && nabs(aod::v0data::dcanegtopv) > v0SettingDCANegToPV && aod::v0data::dcaV0daughters < v0SettingDCAV0Dau);
167+ Filter preFilterV0 = (nabs(aod::v0data::dcapostopv) > v0Configs. v0SettingDCAPosToPV && nabs(aod::v0data::dcanegtopv) > v0Configs. v0SettingDCANegToPV && aod::v0data::dcaV0daughters < v0Configs. v0SettingDCAV0Dau);
167168
168169 // Defining the type of the collisions for data and MC
169170 using SelCollisions = soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms, aod::PVMults>;
@@ -186,11 +187,11 @@ struct Phik0shortanalysis {
186187
187188 SliceCache cache;
188189
189- Partition<FullTracks> posTracks = aod::track::signed1Pt > cfgCutCharge;
190- Partition<FullTracks> negTracks = aod::track::signed1Pt < cfgCutCharge;
190+ Partition<FullTracks> posTracks = aod::track::signed1Pt > trackConfigs. cfgCutCharge;
191+ Partition<FullTracks> negTracks = aod::track::signed1Pt < trackConfigs. cfgCutCharge;
191192
192- Partition<FullMCTracks> posMCTracks = aod::track::signed1Pt > cfgCutCharge;
193- Partition<FullMCTracks> negMCTracks = aod::track::signed1Pt < cfgCutCharge;
193+ Partition<FullMCTracks> posMCTracks = aod::track::signed1Pt > trackConfigs. cfgCutCharge;
194+ Partition<FullMCTracks> negMCTracks = aod::track::signed1Pt < trackConfigs. cfgCutCharge;
194195
195196 // Necessary to flag INEL>0 events in GenMC
196197 Service<o2::framework::O2DatabasePDG> pdgDB;
@@ -483,14 +484,14 @@ struct Phik0shortanalysis {
483484 {
484485 if (!track.hasTPC ())
485486 return false ;
486- if (track.tpcNClsFound () < minTPCnClsFound)
487+ if (track.tpcNClsFound () < trackConfigs. minTPCnClsFound )
487488 return false ;
488- if (track.tpcNClsCrossedRows () < minNCrossedRowsTPC)
489+ if (track.tpcNClsCrossedRows () < trackConfigs. minNCrossedRowsTPC )
489490 return false ;
490- if (track.tpcChi2NCl () > maxChi2TPC)
491+ if (track.tpcChi2NCl () > trackConfigs. maxChi2TPC )
491492 return false ;
492493
493- if (std::abs (track.eta ()) > etaMax)
494+ if (std::abs (track.eta ()) > trackConfigs. etaMax )
494495 return false ;
495496 return true ;
496497 }
@@ -502,15 +503,15 @@ struct Phik0shortanalysis {
502503 if (!selectionTrackStrangeness (daughter1) || !selectionTrackStrangeness (daughter2))
503504 return false ;
504505
505- if (v0.v0cosPA () < v0SettingCosPA)
506+ if (v0.v0cosPA () < v0Configs. v0SettingCosPA )
506507 return false ;
507- if (v0.v0radius () < v0SettingRadius)
508+ if (v0.v0radius () < v0Configs. v0SettingRadius )
508509 return false ;
509510
510- if (cfgisV0ForData) {
511- if (std::abs (daughter1.tpcNSigmaPi ()) > nSigmaCutTPCPion)
511+ if (v0Configs. cfgisV0ForData ) {
512+ if (std::abs (daughter1.tpcNSigmaPi ()) > trackConfigs. nSigmaCutTPCPion )
512513 return false ;
513- if (std::abs (daughter2.tpcNSigmaPi ()) > nSigmaCutTPCPion)
514+ if (std::abs (daughter2.tpcNSigmaPi ()) > trackConfigs. nSigmaCutTPCPion )
514515 return false ;
515516 }
516517 return true ;
@@ -520,11 +521,11 @@ struct Phik0shortanalysis {
520521 template <typename T1, typename T2>
521522 bool furtherSelectionV0 (const T1& v0, const T2& collision)
522523 {
523- if (v0.distovertotmom (collision.posX (), collision.posY (), collision.posZ ()) * massK0S > ctauK0s)
524+ if (v0.distovertotmom (collision.posX (), collision.posY (), collision.posZ ()) * massK0S > v0Configs. ctauK0s )
524525 return false ;
525- if (v0.qtarm () < (paramArmenterosCut * std::abs (v0.alpha ())))
526+ if (v0.qtarm () < (v0Configs. paramArmenterosCut * std::abs (v0.alpha ())))
526527 return false ;
527- if (std::abs (v0.mLambda () - massLambda) < v0rejK0s)
528+ if (std::abs (v0.mLambda () - massLambda) < v0Configs. v0rejK0s )
528529 return false ;
529530 return true ;
530531 }
@@ -533,19 +534,19 @@ struct Phik0shortanalysis {
533534 template <bool isMC, typename T>
534535 bool selectionTrackResonance (const T& track, bool isQA)
535536 {
536- if (cfgPrimaryTrack && !track.isPrimaryTrack ())
537+ if (trackConfigs. cfgPrimaryTrack && !track.isPrimaryTrack ())
537538 return false ;
538- if (cfgGlobalWoDCATrack && !track.isGlobalTrackWoDCA ())
539+ if (trackConfigs. cfgGlobalWoDCATrack && !track.isGlobalTrackWoDCA ())
539540 return false ;
540- if (cfgPVContributor && !track.isPVContributor ())
541+ if (trackConfigs. cfgPVContributor && !track.isPVContributor ())
541542 return false ;
542543
543- if (track.tpcNClsFound () < minTPCnClsFound)
544+ if (track.tpcNClsFound () < trackConfigs. minTPCnClsFound )
544545 return false ;
545546
546- if (track.pt () < cMinKaonPtcut)
547+ if (track.pt () < trackConfigs. cMinKaonPtcut )
547548 return false ;
548- if (std::abs (track.eta ()) > etaMax)
549+ if (std::abs (track.eta ()) > trackConfigs. etaMax )
549550 return false ;
550551
551552 if (isQA) {
@@ -557,7 +558,7 @@ struct Phik0shortanalysis {
557558 mcPhiHist.fill (HIST (" h2DauTracksPhiDCAzPreCutMCReco" ), track.pt (), track.dcaZ ());
558559 }
559560 }
560- if (std::abs (track.dcaXY ()) > cMaxDCArToPV1 + (cMaxDCArToPV2 / std::pow (track.pt (), cMaxDCArToPV3)))
561+ if (std::abs (track.dcaXY ()) > trackConfigs. cMaxDCArToPV1 + (trackConfigs. cMaxDCArToPV2 / std::pow (track.pt (), trackConfigs. cMaxDCArToPV3 )))
561562 return false ;
562563 if (isQA) {
563564 if constexpr (!isMC) {
@@ -568,7 +569,7 @@ struct Phik0shortanalysis {
568569 mcPhiHist.fill (HIST (" h2DauTracksPhiDCAzPostCutMCReco" ), track.pt (), track.dcaZ ());
569570 }
570571 }
571- if (std::abs (track.dcaZ ()) > cMaxDCAzToPVcut)
572+ if (std::abs (track.dcaZ ()) > trackConfigs. cMaxDCAzToPVcut )
572573 return false ;
573574 return true ;
574575 }
@@ -577,21 +578,21 @@ struct Phik0shortanalysis {
577578 template <typename T>
578579 bool selectionPIDKaon (const T& track)
579580 {
580- if (!isNoTOF && track.hasTOF () && (track.tofNSigmaKa () * track.tofNSigmaKa () + track.tpcNSigmaKa () * track.tpcNSigmaKa ()) < (nSigmaCutCombinedKa * nSigmaCutCombinedKa))
581+ if (!trackConfigs. isNoTOF && track.hasTOF () && (track.tofNSigmaKa () * track.tofNSigmaKa () + track.tpcNSigmaKa () * track.tpcNSigmaKa ()) < (trackConfigs. nSigmaCutCombinedKa * trackConfigs. nSigmaCutCombinedKa ))
581582 return true ;
582- if (!isNoTOF && !track.hasTOF () && std::abs (track.tpcNSigmaKa ()) < nSigmaCutTPCKa)
583+ if (!trackConfigs. isNoTOF && !track.hasTOF () && std::abs (track.tpcNSigmaKa ()) < trackConfigs. nSigmaCutTPCKa )
583584 return true ;
584- if (isNoTOF && std::abs (track.tpcNSigmaKa ()) < nSigmaCutTPCKa)
585+ if (trackConfigs. isNoTOF && std::abs (track.tpcNSigmaKa ()) < trackConfigs. nSigmaCutTPCKa )
585586 return true ;
586587 return false ;
587588 }
588589
589590 template <typename T>
590591 bool selectionPIDKaonpTdependent (const T& track)
591592 {
592- if (track.pt () < 0.5 && std::abs (track.tpcNSigmaKa ()) < nSigmaCutTPCKa)
593+ if (track.pt () < 0.5 && std::abs (track.tpcNSigmaKa ()) < trackConfigs. nSigmaCutTPCKa )
593594 return true ;
594- if (track.pt () >= 0.5 && track.hasTOF () && ((track.tofNSigmaKa () * track.tofNSigmaKa ()) + (track.tpcNSigmaKa () * track.tpcNSigmaKa ())) < (nSigmaCutCombinedKa * nSigmaCutCombinedKa))
595+ if (track.pt () >= 0.5 && track.hasTOF () && ((track.tofNSigmaKa () * track.tofNSigmaKa ()) + (track.tpcNSigmaKa () * track.tpcNSigmaKa ())) < (trackConfigs. nSigmaCutCombinedKa * trackConfigs. nSigmaCutCombinedKa ))
595596 return true ;
596597 return false ;
597598 }
@@ -615,23 +616,23 @@ struct Phik0shortanalysis {
615616 {
616617 if (!track.hasITS ())
617618 return false ;
618- if (track.itsNCls () < minITSnCls)
619+ if (track.itsNCls () < trackConfigs. minITSnCls )
619620 return false ;
620- if (track.itsChi2NCl () > maxChi2ITS)
621+ if (track.itsChi2NCl () > trackConfigs. maxChi2ITS )
621622 return false ;
622623
623624 if (!track.hasTPC ())
624625 return false ;
625- if (track.tpcNClsFound () < minTPCnClsFound)
626+ if (track.tpcNClsFound () < trackConfigs. minTPCnClsFound )
626627 return false ;
627- if (track.tpcNClsCrossedRows () < minNCrossedRowsTPC)
628+ if (track.tpcNClsCrossedRows () < trackConfigs. minNCrossedRowsTPC )
628629 return false ;
629- if (track.tpcChi2NCl () > maxChi2TPC)
630+ if (track.tpcChi2NCl () > trackConfigs. maxChi2TPC )
630631 return false ;
631632
632- if (track.pt () < 0.3 )
633+ if (track.pt () < trackConfigs. cMinPionPtcut )
633634 return false ;
634- if (std::abs (track.eta ()) > etaMax)
635+ if (std::abs (track.eta ()) > trackConfigs. etaMax )
635636 return false ;
636637
637638 if constexpr (isTOFChecked) {
@@ -648,7 +649,7 @@ struct Phik0shortanalysis {
648649 mcPionHist.fill (HIST (" h2TracksPiDCAzPreCutMCReco" ), track.pt (), track.dcaZ ());
649650 }
650651 }
651- if (std::abs (track.dcaXY ()) > cMaxDCArToPV1 + (cMaxDCArToPV2 / std::pow (track.pt (), cMaxDCArToPV3)))
652+ if (std::abs (track.dcaXY ()) > trackConfigs. cMaxDCArToPV1 + (trackConfigs. cMaxDCArToPV2 / std::pow (track.pt (), trackConfigs. cMaxDCArToPV3 )))
652653 return false ;
653654 if (isQA) {
654655 if constexpr (!isMC) {
@@ -659,7 +660,7 @@ struct Phik0shortanalysis {
659660 mcPionHist.fill (HIST (" h2TracksPiDCAzPostCutMCReco" ), track.pt (), track.dcaZ ());
660661 }
661662 }
662- if (std::abs (track.dcaZ ()) > cMaxDCAzToPVcut)
663+ if (std::abs (track.dcaZ ()) > trackConfigs. cMaxDCAzToPVcut )
663664 return false ;
664665 return true ;
665666 }
@@ -774,7 +775,7 @@ struct Phik0shortanalysis {
774775 // Cut on V0 dynamic columns
775776 if (!selectionV0 (v0, posDaughterTrack, negDaughterTrack))
776777 continue ;
777- if (cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
778+ if (v0Configs. cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
778779 continue ;
779780
780781 if (!isFilledhV0) {
@@ -862,7 +863,7 @@ struct Phik0shortanalysis {
862863 // Cut on V0 dynamic columns
863864 if (!selectionV0 (v0, posDaughterTrack, negDaughterTrack))
864865 continue ;
865- if (cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
866+ if (v0Configs. cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
866867 continue ;
867868
868869 dataK0SHist.fill (HIST (" h3K0SRapidityData" ), multiplicity, v0.pt (), v0.yK0Short ());
@@ -1088,7 +1089,7 @@ struct Phik0shortanalysis {
10881089 // Cut on V0 dynamic columns
10891090 if (!selectionV0 (v0, posDaughterTrack, negDaughterTrack))
10901091 continue ;
1091- if (cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
1092+ if (v0Configs. cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
10921093 continue ;
10931094
10941095 if (std::abs (v0.yK0Short ()) > cfgYAcceptance)
@@ -1182,7 +1183,7 @@ struct Phik0shortanalysis {
11821183
11831184 if (!selectionV0 (v0, posDaughterTrack, negDaughterTrack))
11841185 continue ;
1185- if (cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
1186+ if (v0Configs. cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
11861187 continue ;
11871188
11881189 mcK0SHist.fill (HIST (" h4K0SRapiditySmearing" ), genmultiplicity, v0.pt (), v0.yK0Short (), v0mcparticle.y ());
@@ -1387,7 +1388,7 @@ struct Phik0shortanalysis {
13871388
13881389 if (!selectionV0 (v0, posDaughterTrack, negDaughterTrack))
13891390 continue ;
1390- if (cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
1391+ if (v0Configs. cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
13911392 continue ;
13921393
13931394 if (std::abs (v0.yK0Short ()) > cfgYAcceptance)
@@ -1482,7 +1483,7 @@ struct Phik0shortanalysis {
14821483
14831484 if (!selectionV0 (v0, posDaughterTrack, negDaughterTrack))
14841485 continue ;
1485- if (cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
1486+ if (v0Configs. cfgFurtherV0Selection && !furtherSelectionV0 (v0, collision))
14861487 continue ;
14871488
14881489 if (std::abs (v0.yK0Short ()) > cfgYAcceptance)
0 commit comments