Skip to content

Commit

Permalink
Update lithium4analysis.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
njacazio authored Nov 16, 2024
1 parent 3f6530a commit c984d48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PWGLF/TableProducer/Nuspex/lithium4analysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ namespace
constexpr double betheBlochDefault[1][6]{{-1.e32, -1.e32, -1.e32, -1.e32, -1.e32, -1.e32}};
static const std::vector<std::string> betheBlochParNames{"p0", "p1", "p2", "p3", "p4", "resolution"};

constexpr float he3Mass = o2::constants::physics::MassHelium3;
constexpr float protonMass = o2::constants::physics::MassProton;
constexpr int li4PDG = 1000030040;
constexpr int prPDG = 2212;
constexpr int hePDG = 1000020030;
Expand Down Expand Up @@ -388,7 +390,7 @@ struct lithium4analysis {
{
m_qaRegistry.fill(HIST("h2NsigmaProtonTPC_preselection"), candidate.tpcInnerParam(), candidate.tpcNSigmaPr());
if (candidate.hasTOF() && candidate.pt() > setting_cutPtMinTOFPr) {
if (std::abs(candidate.tpcNSigmaPr()) > setting_cutNsigmaTPC) {
if (std::abs(candidate.tpcNSigmaPr() > setting_cutNsigmaTPC)) {
return false;
}
m_qaRegistry.fill(HIST("h2NsigmaProtonTOF_preselection"), candidate.p(), candidate.tofNSigmaPr());
Expand Down

0 comments on commit c984d48

Please sign in to comment.