@@ -147,44 +147,44 @@ struct HfCandidateSelectorCd {
147147 template <aod::hf_cand::VertexerType ReconstructionType, typename T>
148148 bool selectionTopol (const T& candidate)
149149 {
150- auto candpT = candidate.pt ();
150+ auto ptCand = candidate.pt ();
151151
152- int const pTBin = findBin (binsPt, candpT );
153- if (pTBin == -1 ) {
152+ int const binPt = findBin (binsPt, ptCand );
153+ if (binPt == -1 ) {
154154 return false ;
155155 }
156156
157157 // check that the candidate pT is within the analysis range
158- if (candpT < ptCandMin || candpT >= ptCandMax) {
158+ if (ptCand < ptCandMin || ptCand >= ptCandMax) {
159159 return false ;
160160 }
161161
162162 // cosine of pointing angle
163- if (candidate.cpa () <= cuts->get (pTBin , " cos pointing angle" )) {
163+ if (candidate.cpa () <= cuts->get (binPt , " cos pointing angle" )) {
164164 return false ;
165165 }
166166
167167 // candidate chi2PCA
168- if (candidate.chi2PCA () > cuts->get (pTBin , " Chi2PCA" )) {
168+ if (candidate.chi2PCA () > cuts->get (binPt , " Chi2PCA" )) {
169169 return false ;
170170 }
171171
172- if (candidate.decayLength () <= cuts->get (pTBin , " decay length" )) {
172+ if (candidate.decayLength () <= cuts->get (binPt , " decay length" )) {
173173 return false ;
174174 }
175175
176176 // candidate decay length XY
177- if (candidate.decayLengthXY () <= cuts->get (pTBin , " decLengthXY" )) {
177+ if (candidate.decayLengthXY () <= cuts->get (binPt , " decLengthXY" )) {
178178 return false ;
179179 }
180180
181181 // candidate normalized decay length XY
182- if (candidate.decayLengthXYNormalised () < cuts->get (pTBin , " normDecLXY" )) {
182+ if (candidate.decayLengthXYNormalised () < cuts->get (binPt , " normDecLXY" )) {
183183 return false ;
184184 }
185185
186186 // candidate impact parameter XY
187- if (std::abs (candidate.impactParameterXY ()) > cuts->get (pTBin , " impParXY" )) {
187+ if (std::abs (candidate.impactParameterXY ()) > cuts->get (binPt , " impParXY" )) {
188188 return false ;
189189 }
190190
@@ -205,14 +205,14 @@ struct HfCandidateSelectorCd {
205205 bool selectionTopolConjugate (const T1& candidate, const T2& trackDeuteron, const T2& trackKaon, const T2& trackPion)
206206 {
207207
208- auto candpT = candidate.pt ();
209- int const pTBin = findBin (binsPt, candpT );
210- if (pTBin == -1 ) {
208+ auto ptCand = candidate.pt ();
209+ int const binPt = findBin (binsPt, ptCand );
210+ if (binPt == -1 ) {
211211 return false ;
212212 }
213213
214214 // cut on daughter pT
215- if (trackDeuteron.pt () < cuts->get (pTBin , " pT De" ) || trackKaon.pt () < cuts->get (pTBin , " pT K" ) || trackPion.pt () < cuts->get (pTBin , " pT Pi" )) {
215+ if (trackDeuteron.pt () < cuts->get (binPt , " pT De" ) || trackKaon.pt () < cuts->get (binPt , " pT K" ) || trackPion.pt () < cuts->get (binPt , " pT Pi" )) {
216216 return false ;
217217 }
218218
@@ -224,7 +224,7 @@ struct HfCandidateSelectorCd {
224224 }
225225
226226 // cut on Cd->deKpi, piKde mass values
227- if (std::abs (massCd - massCharmDeuteron) > cuts->get (pTBin , " m" )) {
227+ if (std::abs (massCd - massCharmDeuteron) > cuts->get (binPt , " m" )) {
228228 return false ;
229229 }
230230
0 commit comments