Skip to content

Commit 5d2479c

Browse files
author
Francesco Mazzaschi
committed
fix bugOD
1 parent 96f9da0 commit 5d2479c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGLF/Tasks/Resonances/lambda1405analysis.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ struct lambda1405analysis {
178178
if (std::abs(sigmaCand.dcaMothPv()) > cutDCAtoPVSigma || std::abs(sigmaCand.dcaDaugPv()) < cutDCAtoPVPiFromSigma || sigmaRad < cutSigmaRadius) {
179179
return false;
180180
}
181-
if (lambda1405Cand.isSigmaMinus){
182-
rLambda1405.fill(HIST("h2PtMassSigmaBeforeCuts_0"), sigmaCand.mothSign() * sigmaCand.ptMoth(), sigmaCand.mSigmaMinus());
183-
}
184-
if (lambda1405Cand.isSigmaPlus){
185-
rLambda1405.fill(HIST("h2PtMassSigmaBeforeCuts_1"), sigmaCand.mothSign() * sigmaCand.ptMoth(), sigmaCand.mSigmaPlus());
181+
if (lambda1405Cand.isSigmaMinus) {
182+
rLambda1405.fill(HIST("h2PtMassSigmaBeforeCuts_0"), sigmaCand.mothSign() * sigmaCand.ptMoth(), sigmaCand.mSigmaMinus());
186183
}
187-
184+
if (lambda1405Cand.isSigmaPlus) {
185+
rLambda1405.fill(HIST("h2PtMassSigmaBeforeCuts_1"), sigmaCand.mothSign() * sigmaCand.ptMoth(), sigmaCand.mSigmaPlus());
186+
}
187+
188188
for (const auto& piTrack : tracks) {
189189
if (!doLSBkg) {
190190
if (piTrack.sign() == sigmaCand.mothSign()) {

0 commit comments

Comments
 (0)