@@ -107,9 +107,9 @@ struct ResonancesMicrotrack {
107107 } else {
108108 if (std::abs (track.pt ()) < cMinPtcut)
109109 return false ;
110- if (o2::aod::resodmciroaughter ::ResoMicroTrackSelFlag::decodeDCAxy (track.trackSelectionFlags ()) > cMaxDCArToPVcut - Epsilon)
110+ if (o2::aod::resomicrodaughter ::ResoMicroTrackSelFlag::decodeDCAxy (track.trackSelectionFlags ()) > cMaxDCArToPVcut - Epsilon)
111111 return false ;
112- if (o2::aod::resodmciroaughter ::ResoMicroTrackSelFlag::decodeDCAz (track.trackSelectionFlags ()) > cMaxDCAzToPVcut - Epsilon)
112+ if (o2::aod::resomicrodaughter ::ResoMicroTrackSelFlag::decodeDCAz (track.trackSelectionFlags ()) > cMaxDCAzToPVcut - Epsilon)
113113 return false ;
114114 if (cfgPrimaryTrack && !track.isPrimaryTrack ())
115115 return false ;
@@ -132,8 +132,8 @@ struct ResonancesMicrotrack {
132132 }
133133 // return true;
134134 } else {
135- bool tpcPass = std::abs (o2::aod::resodmciroaughter ::PidNSigma::getTPCnSigma (candidate.pidNSigmaPrFlag ())) < nSigmaCutTPC + Epsilon;
136- bool tofPass = candidate.hasTOF () ? std::abs (o2::aod::resodmciroaughter ::PidNSigma::getTOFnSigma (candidate.pidNSigmaPrFlag ())) < nSigmaCutTOF + Epsilon : true ;
135+ bool tpcPass = std::abs (o2::aod::resomicrodaughter ::PidNSigma::getTPCnSigma (candidate.pidNSigmaPrFlag ())) < nSigmaCutTPC + Epsilon;
136+ bool tofPass = candidate.hasTOF () ? std::abs (o2::aod::resomicrodaughter ::PidNSigma::getTOFnSigma (candidate.pidNSigmaPrFlag ())) < nSigmaCutTOF + Epsilon : true ;
137137 if (tpcPass && tofPass) {
138138 return true ;
139139 }
@@ -173,11 +173,11 @@ struct ResonancesMicrotrack {
173173 histos.fill (HIST (" hPx_ResoMicroTracks" ), track.px ());
174174 histos.fill (HIST (" hPy_ResoMicroTracks" ), track.py ());
175175 histos.fill (HIST (" hPz_ResoMicroTracks" ), track.pz ());
176- histos.fill (HIST (" hDcaxy_ResoMicroTracks" ), o2::aod::resodmciroaughter ::ResoMicroTrackSelFlag::decodeDCAxy (track.trackSelectionFlags ()));
177- histos.fill (HIST (" hDcaz_ResoMicroTracks" ), o2::aod::resodmciroaughter ::ResoMicroTrackSelFlag::decodeDCAz (track.trackSelectionFlags ()));
178- histos.fill (HIST (" hNsigmaKaonTPC_ResoMicroTracks" ), o2::aod::resodmciroaughter ::PidNSigma::getTPCnSigma (track.pidNSigmaPrFlag ()));
176+ histos.fill (HIST (" hDcaxy_ResoMicroTracks" ), o2::aod::resomicrodaughter ::ResoMicroTrackSelFlag::decodeDCAxy (track.trackSelectionFlags ()));
177+ histos.fill (HIST (" hDcaz_ResoMicroTracks" ), o2::aod::resomicrodaughter ::ResoMicroTrackSelFlag::decodeDCAz (track.trackSelectionFlags ()));
178+ histos.fill (HIST (" hNsigmaKaonTPC_ResoMicroTracks" ), o2::aod::resomicrodaughter ::PidNSigma::getTPCnSigma (track.pidNSigmaPrFlag ()));
179179 if (track.hasTOF ()) {
180- histos.fill (HIST (" hNsigmaKaonTOF_ResoMicroTracks" ), o2::aod::resodmciroaughter ::PidNSigma::getTOFnSigma (track.pidNSigmaPrFlag ()));
180+ histos.fill (HIST (" hNsigmaKaonTOF_ResoMicroTracks" ), o2::aod::resomicrodaughter ::PidNSigma::getTOFnSigma (track.pidNSigmaPrFlag ()));
181181 }
182182 }
183183 }
0 commit comments