Skip to content

Commit 0899aa2

Browse files
committed
fix comments from typo
1 parent 4c88515 commit 0899aa2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

PWGHF/TableProducer/candidateCreator2Prong.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ struct HfCandidateCreator2Prong {
190190
setLabelHistoCands(hCandidates);
191191
}
192192

193-
template <bool doPvRefit, bool applyTrigSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename CandType, typename TTracks, typename BCsType>
193+
template <bool doPvRefit, bool applyUpcSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename CandType, typename TTracks, typename BCsType>
194194
void runCreator2ProngWithDCAFitterN(Coll const&,
195195
CandType const& rowsTrackIndexProng2,
196196
TTracks const&,
@@ -203,7 +203,7 @@ struct HfCandidateCreator2Prong {
203203
auto collision = rowTrackIndexProng2.template collision_as<Coll>();
204204
float centrality{-1.f};
205205
uint32_t rejectionMask{0};
206-
if constexpr (applyTrigSel) {
206+
if constexpr (applyUpcSel) {
207207
rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc<true, centEstimator, BCsType>(collision, centrality, ccdb, registry, bcs);
208208
} else {
209209
rejectionMask = hfEvSel.getHfCollisionRejectionMask<true, centEstimator, BCsType>(collision, centrality, ccdb, registry);
@@ -343,7 +343,7 @@ struct HfCandidateCreator2Prong {
343343
}
344344
}
345345

346-
template <bool doPvRefit, bool applyTrigSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename CandType, typename TTracks, typename BCsType>
346+
template <bool doPvRefit, bool applyUpcSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename CandType, typename TTracks, typename BCsType>
347347
void runCreator2ProngWithKFParticle(Coll const&,
348348
CandType const& rowsTrackIndexProng2,
349349
TTracks const&,
@@ -356,7 +356,7 @@ struct HfCandidateCreator2Prong {
356356
auto collision = rowTrackIndexProng2.template collision_as<Coll>();
357357
float centrality{-1.f};
358358
uint32_t rejectionMask{0};
359-
if constexpr (applyTrigSel) {
359+
if constexpr (applyUpcSel) {
360360
rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc<true, centEstimator, BCsType>(collision, centrality, ccdb, registry, bcs);
361361
} else {
362362
rejectionMask = hfEvSel.getHfCollisionRejectionMask<true, centEstimator, BCsType>(collision, centrality, ccdb, registry);

PWGHF/TableProducer/candidateCreator3Prong.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ struct HfCandidateCreator3Prong {
241241
}
242242
}
243243

244-
template <bool doPvRefit, bool applyTrigSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename Cand, typename BCsType>
244+
template <bool doPvRefit, bool applyUpcSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename Cand, typename BCsType>
245245
void runCreator3ProngWithDCAFitterN(Coll const&,
246246
Cand const& rowsTrackIndexProng3,
247247
TracksWCovExtraPidPiKaPr const&,
@@ -254,7 +254,7 @@ struct HfCandidateCreator3Prong {
254254
auto collision = rowTrackIndexProng3.template collision_as<Coll>();
255255
float centrality{-1.f};
256256
uint32_t rejectionMask{0};
257-
if constexpr (applyTrigSel) {
257+
if constexpr (applyUpcSel) {
258258
rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc<true, centEstimator, BCsType>(collision, centrality, ccdb, registry, bcs);
259259
} else {
260260
rejectionMask = hfEvSel.getHfCollisionRejectionMask<true, centEstimator, BCsType>(collision, centrality, ccdb, registry);
@@ -414,7 +414,7 @@ struct HfCandidateCreator3Prong {
414414
}
415415
}
416416

417-
template <bool doPvRefit, bool applyTrigSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename Cand, typename BCsType>
417+
template <bool doPvRefit, bool applyUpcSel, o2::hf_centrality::CentralityEstimator centEstimator, typename Coll, typename Cand, typename BCsType>
418418
void runCreator3ProngWithKFParticle(Coll const&,
419419
Cand const& rowsTrackIndexProng3,
420420
TracksWCovExtraPidPiKaPr const&,
@@ -425,7 +425,7 @@ struct HfCandidateCreator3Prong {
425425
auto collision = rowTrackIndexProng3.template collision_as<Coll>();
426426
float centrality{-1.f};
427427
uint32_t rejectionMask{0};
428-
if constexpr (applyTrigSel) {
428+
if constexpr (applyUpcSel) {
429429
rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc<true, centEstimator, BCsType>(collision, centrality, ccdb, registry, bcs);
430430
} else {
431431
rejectionMask = hfEvSel.getHfCollisionRejectionMask<true, centEstimator, BCsType>(collision, centrality, ccdb, registry);

0 commit comments

Comments
 (0)