@@ -69,8 +69,8 @@ struct ThreeParticleCorrelations {
6969 Filter evSelect = aod::evsel::sel8 == true ;
7070
7171 // V0 filters
72- Filter v0Pt = aod::v0data::pt > v0PtMin&& aod::v0data::pt < v0PtMax;
73- Filter v0Eta = nabs(aod::v0data::eta) < v0EtaMax;
72+ // Filter v0Pt = aod::v0data::pt > v0PtMin&& aod::v0data::pt < v0PtMax;
73+ // Filter v0Eta = nabs(aod::v0data::eta) < v0EtaMax;
7474
7575 // Track filters
7676 Filter trackPt = aod::track::pt > trackPtMin&& aod::track::pt < trackPtMax;
@@ -83,7 +83,7 @@ struct ThreeParticleCorrelations {
8383 // Table aliases - Data
8484 using MyFilteredCollisions = soa::Filtered<soa::Join<aod::Collisions, aod::CentFT0Cs, aod::EvSels>>;
8585 using MyFilteredCollision = MyFilteredCollisions::iterator;
86- using MyFilteredV0s = soa::Filtered< aod::V0Datas> ;
86+ using MyFilteredV0s = aod::V0Datas;
8787 using MyFilteredTracks = soa::Filtered<soa::Join<aod::Tracks, aod::TracksExtra, aod::TrackSelection,
8888 aod::pidTPCPi, aod::pidTPCKa, aod::pidTPCPr,
8989 aod::pidTOFFullPi, aod::pidTOFFullKa, aod::pidTOFFullPr, aod::pidTOFbeta>>;
@@ -765,6 +765,10 @@ struct ThreeParticleCorrelations {
765765 template <class V0Cand >
766766 bool v0Filters (const V0Cand& v0)
767767 {
768+ if (v0.pt () < v0PtMin || v0.pt () > v0PtMax)
769+ return false ;
770+ if (std::abs (v0.eta ()) > v0EtaMax)
771+ return false ;
768772
769773 if (v0Sign (v0) == 1 ) {
770774 const auto & posDaughter = v0.template posTrack_as <MyFilteredTracks>();
0 commit comments