CbmRoot
Loading...
Searching...
No Matches
KfpV0FinderDefs.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Sergei Zharko [committer] */
4
9
10
#include "
algo/kfp/KfpV0FinderDefs.h
"
11
12
namespace
cbm::algo::kfp
13
{
14
std::string
ToString
(
ETrackPid
trackPid)
15
{
16
switch
(trackPid) {
17
case
ETrackPid::Pip
:
return
"pi+"
;
18
case
ETrackPid::Pim
:
return
"pi-"
;
19
case
ETrackPid::P
:
return
"p"
;
20
case
ETrackPid::Pbar
:
return
"anti-p"
;
21
case
ETrackPid::Undef
:
return
"undefined"
;
22
}
23
return
""
;
24
}
25
}
// namespace cbm::algo::kfp
KfpV0FinderDefs.h
Different definitions for V0 candidates finding in mCBM.
cbm::algo::kfp
Definition
KfpV0Finder.h:22
cbm::algo::kfp::ToString
std::string ToString(ETrackPid trackPid)
String representation of ETrackPid.
Definition
KfpV0FinderDefs.cxx:14
cbm::algo::kfp::ETrackPid
ETrackPid
An enumeration for PID of global tracks.
Definition
KfpV0FinderDefs.h:25
cbm::algo::kfp::ETrackPid::Pim
@ Pim
pi-
Definition
KfpV0FinderDefs.h:27
cbm::algo::kfp::ETrackPid::Pbar
@ Pbar
anti-proton
Definition
KfpV0FinderDefs.h:29
cbm::algo::kfp::ETrackPid::P
@ P
proton
Definition
KfpV0FinderDefs.h:28
cbm::algo::kfp::ETrackPid::Pip
@ Pip
pi+
Definition
KfpV0FinderDefs.h:26
cbm::algo::kfp::ETrackPid::Undef
@ Undef
undefined PID
Definition
KfpV0FinderDefs.h:30
algo
kfp
KfpV0FinderDefs.cxx
Generated on Fri Jan 30 2026 23:05:18 for CbmRoot by
1.13.2