Skip to content

Commit fa3fc16

Browse files
committed
fixed O2 linter errors
1 parent ce849e3 commit fa3fc16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGLF/Tasks/Resonances/higherMassResonances.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ struct HigherMassResonances {
134134
Configurable<float> confKsrapidity{"confKsrapidity", 0.5f, "Rapidity cut on K0s"};
135135
Configurable<float> angSepCut{"angSepCut", 0.01f, "Angular separation cut"};
136136
Configurable<bool> isapplyAngSepCut{"isapplyAngSepCut", false, "Apply angular separation cut"};
137-
Configurable<bool> isStandardV0{"StandardV0", true, "Standard V0 selection"};
137+
Configurable<bool> isStandardV0{"isStandardV0", false, "Standard V0 selection"};
138138
Configurable<bool> isApplyEtaCutK0s{"isApplyEtaCutK0s", false, "Apply eta cut on K0s daughters"};
139139
Configurable<float> cfgETAcut{"cfgETAcut", 0.8f, "Track ETA cut"};
140140

@@ -860,8 +860,8 @@ struct HigherMassResonances {
860860
continue;
861861
}
862862

863-
if (config.isApplyEtaCutK0s && (v1.eta() < 0.8 || v2.eta() < 0.8)) {
864-
continue; // skip if eta is less than 0.8
863+
if (config.isApplyEtaCutK0s && (v1.eta() < confDaughEta || v2.eta() < confDaughEta)) {
864+
continue;
865865
}
866866

867867
if (config.qAv0) {

0 commit comments

Comments
 (0)