Skip to content

Commit 9c4528c

Browse files
committed
Renaming
1 parent ab79d54 commit 9c4528c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

PWGHF/TableProducer/trackIndexSkimCreator.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3330,7 +3330,7 @@ struct HfTrackIndexSkimCreatorLfCascades {
33303330
Configurable<float> dcaV0ToPv{"dcaV0ToPv", 0.02, "DCA V0 To PV"}; // 0.03 in run2
33313331
Configurable<double> v0CosPA{"v0CosPA", 0.95, "V0 CosPA"}; // 0.97 in run2 - KEEP LOSE to re-cut after PVRefit! - double -> N.B. dcos(x)/dx = 0 at x=0)
33323332
Configurable<double> cascCosPA{"cascCosPA", 0.95, "Casc CosPA"}; // 0.97 in run2 - KEEP LOSE to re-cut after PVRefit! - double -> N.B. dcos(x)/dx = 0 at x=0)
3333-
Configurable<double> xicCosPA{"xicCosPA", 0.95, "Xic CosPA"}; // 0.97 in run2 - KEEP LOSE to re-cut after PVRefit! - double -> N.B. dcos(x)/dx = 0 at x=0)
3333+
Configurable<double> xicCosPA{"xicCosPA", 0.95, "Xic CosPA"}; // ...
33343334
Configurable<float> dcaV0Dau{"dcaV0Dau", 2.0, "DCA V0 Daughters"}; // conservative, a cut ar 1.0 should also be fine
33353335
Configurable<float> dcaCascDau{"dcaCascDau", 2.0, "DCA Casc Daughters"}; // conservative, a cut ar 1.0 should also be fine
33363336
Configurable<float> dcaNegToPv{"dcaNegToPv", 0.05, "DCA Neg To PV"}; // 0.06 in run2
@@ -3493,12 +3493,12 @@ struct HfTrackIndexSkimCreatorLfCascades {
34933493
return false;
34943494
}
34953495

3496-
/// Method to perform selections for 3-prong candidates before vertex reconstruction
3496+
/// Method to perform selections for Xic 3-prong candidates before vertex reconstruction
34973497
/// \param pVecTrack0 is the momentum array of the first daughter track
34983498
/// \param pVecTrack1 is the momentum array of the second daughter track
34993499
/// \param pVecTrack2 is the momentum array of the third daughter track
35003500
template <typename T1>
3501-
bool isPreselectedCandidate(T1 const& pVecTrack0, T1 const& pVecTrack1, T1 const& pVecTrack2)
3501+
bool isPreselectedCandidateXic(T1 const& pVecTrack0, T1 const& pVecTrack1, T1 const& pVecTrack2)
35023502
{
35033503
// pt
35043504
auto pt = RecoDecay::pt(pVecTrack0, pVecTrack1, pVecTrack2) + config.ptTolerance; // add tolerance because of no reco decay vertex
@@ -3518,13 +3518,13 @@ struct HfTrackIndexSkimCreatorLfCascades {
35183518
}
35193519
}
35203520

3521-
/// Method to perform selections for 3-prong candidates after vertex reconstruction
3521+
/// Method to perform selections for Xic 3-prong candidates after vertex reconstruction
35223522
/// \param pVecCand is the array for the candidate momentum after reconstruction of secondary vertex
35233523
/// \param secVtx is the secondary vertex
35243524
/// \param primVtx is the primary vertex
35253525
/// \return selection outcome
35263526
template <typename T1, typename T2, typename T3>
3527-
bool isSelectedCandidate(const T1& pVecCand, const T2& secVtx, const T3& primVtx)
3527+
bool isSelectedCandidateXic(const T1& pVecCand, const T2& secVtx, const T3& primVtx)
35283528
{
35293529
// pt
35303530
auto pt = RecoDecay::pt(pVecCand);
@@ -3804,7 +3804,7 @@ struct HfTrackIndexSkimCreatorLfCascades {
38043804
continue;
38053805
}
38063806

3807-
if (!isPreselectedCandidate(pVecCasc, trackCharmBachelor1.pVector(), trackCharmBachelor2.pVector())) {
3807+
if (!isPreselectedCandidateXic(pVecCasc, trackCharmBachelor1.pVector(), trackCharmBachelor2.pVector())) {
38083808
continue;
38093809
}
38103810

@@ -3843,7 +3843,7 @@ struct HfTrackIndexSkimCreatorLfCascades {
38433843
registry.fill(HIST("hRejpTStatusXicPlusToXiPiPi"), 1);
38443844
}
38453845

3846-
if (!isSelectedCandidate(pVecCand, secondaryVertex, primaryVertex)) {
3846+
if (!isSelectedCandidateXic(pVecCand, secondaryVertex, primaryVertex)) {
38473847
continue;
38483848
}
38493849

0 commit comments

Comments
 (0)