Skip to content

Commit cb60186

Browse files
committed
Fix
1 parent ab9b3c9 commit cb60186

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

PWGLF/Tasks/Resonances/lambda1405analysis.cxx

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@
4646

4747
#include <TF1.h>
4848
#include <TH2.h>
49-
#include <TH3.h>
5049
#include <THnSparse.h>
50+
#include <TPDGCode.h>
51+
#include <TString.h>
5152

5253
#include <array>
5354
#include <cmath>
55+
#include <cstdint>
5456
#include <numeric>
5557
#include <string>
5658
#include <vector>
@@ -81,23 +83,23 @@ struct lambda1405candidate {
8183
float phi = -1; // Phi of the Lambda(1405) candidate
8284
float eta = -1; // Eta of the Lambda(1405) candidate
8385

84-
bool isSigmaPlus = false; // True if compatible with Sigma+
85-
bool isSigmaMinus = false; // True if compatible with Sigma-
86-
float sigmaMinusMass = -1; // Invariant mass of the Sigma- candidate
87-
float sigmaPlusMass = -1; // Invariant mass of the Sigma+ candidate
88-
float xiMinusMass = -1; // Invariant mass of the Xi- candidate
89-
int sigmaSign = 0; // Sign of the Sigma candidate: 1 for matter, -1 for antimatter
90-
float sigmaPt = -1; // pT of the Sigma daughter
91-
float sigmaAlphaAP = -1; // Alpha of the Sigma
92-
float sigmaQtAP = -1; // qT of the Sigma
93-
float sigmaRadius = -1; // Radius of the Sigma decay vertex
94-
float dcaSigmaToPv = -1; // DCA of the Sigma candidate to the primary vertex
95-
float kinkPt = -1; // pT of the kink daughter
96-
float kinkPiNSigTpc = -1; // Number of sigmas for the pion candidate from Sigma kink in Tpc
97-
float kinkPiNSigTof = -1; // Number of sigmas for the pion candidate from Sigma kink in Tof
98-
float kinkPrNSigTpc = -1; // Number of sigmas for the proton candidate from Sigma kink in Tpc
99-
float kinkPrNSigTof = -1; // Number of sigmas for the proton candidate from Sigma kink in Tof
100-
float kinkDcaDauToPv = -1; // DCA of the kink daughter to the primary vertex
86+
bool isSigmaPlus = false; // True if compatible with Sigma+
87+
bool isSigmaMinus = false; // True if compatible with Sigma-
88+
float sigmaMinusMass = -1; // Invariant mass of the Sigma- candidate
89+
float sigmaPlusMass = -1; // Invariant mass of the Sigma+ candidate
90+
float xiMinusMass = -1; // Invariant mass of the Xi- candidate
91+
int sigmaSign = 0; // Sign of the Sigma candidate: 1 for matter, -1 for antimatter
92+
float sigmaPt = -1; // pT of the Sigma daughter
93+
float sigmaAlphaAP = -1; // Alpha of the Sigma
94+
float sigmaQtAP = -1; // qT of the Sigma
95+
float sigmaRadius = -1; // Radius of the Sigma decay vertex
96+
float dcaSigmaToPv = -1; // DCA of the Sigma candidate to the primary vertex
97+
float kinkPt = -1; // pT of the kink daughter
98+
float kinkPiNSigTpc = -1; // Number of sigmas for the pion candidate from Sigma kink in Tpc
99+
float kinkPiNSigTof = -1; // Number of sigmas for the pion candidate from Sigma kink in Tof
100+
float kinkPrNSigTpc = -1; // Number of sigmas for the proton candidate from Sigma kink in Tpc
101+
float kinkPrNSigTof = -1; // Number of sigmas for the proton candidate from Sigma kink in Tof
102+
float kinkDcaDauToPv = -1; // DCA of the kink daughter to the primary vertex
101103

102104
float bachPiPt = -1; // pT of the pion daughter
103105
float bachPiNSigTpc = -1; // Number of sigmas for the pion candidate
@@ -1011,7 +1013,7 @@ struct lambda1405analysis {
10111013
if (!selectPiBach(piTrack, primaryVertex, lambda1405Cand.centMult)) {
10121014
continue;
10131015
}
1014-
rSelections.fill(HIST("hSelectionsL1405"), 2); // Bach Pi selection
1016+
rSelections.fill(HIST("hSelectionsL1405"), 2); // Bach Pi selection
10151017

10161018
auto piMom = std::array{piTrack.px(), piTrack.py(), piTrack.pz()};
10171019
float invMass{-1.f};
@@ -1337,7 +1339,7 @@ struct lambda1405analysis {
13371339
auto labelBachPi = trackLabelsMC.rawIteratorAt(lambda1405Cand.bachPiId);
13381340
if (!labelBachPi.has_mcParticle()) {
13391341
rSelections.fill(HIST("hRecoNotMatchedCounter"), 3); // Bach pion not matched
1340-
continue; // Skip if no valid MC association
1342+
continue; // Skip if no valid MC association
13411343
}
13421344

13431345
auto genBachPi = labelBachPi.template mcParticle_as<aod::McParticles>();

0 commit comments

Comments
 (0)