Skip to content

Commit 6b77712

Browse files
[PWGLF]: fixed sign in TOF selection (#8174)
1 parent d8270ec commit 6b77712

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGLF/TableProducer/Nuspex/lithium4analysis.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ struct lithium4analysis {
381381
bool selectionPIDProton(const Ttrack& candidate)
382382
{
383383
m_qaRegistry.fill(HIST("h2NsigmaProtonTPC_preselection"), candidate.tpcInnerParam(), candidate.tpcNSigmaPr());
384-
if (candidate.hasTOF() && candidate.pt() < setting_cutPtMinTOFPr) {
384+
if (candidate.hasTOF() && candidate.pt() > setting_cutPtMinTOFPr) {
385385
if (std::abs(candidate.tofNSigmaPr()) < setting_cutNsigmaTOF && std::abs(candidate.tpcNSigmaPr()) < setting_cutNsigmaTPC) {
386386
m_qaRegistry.fill(HIST("h2NsigmaProtonTPC"), candidate.tpcInnerParam(), candidate.tpcNSigmaPr());
387387
m_qaRegistry.fill(HIST("h2NsigmaProtonTOF"), candidate.p(), candidate.tofNSigmaPr());

0 commit comments

Comments
 (0)