Skip to content

Commit 317819c

Browse files
committed
Add header for flag enumeration
1 parent f6732b5 commit 317819c

File tree

1 file changed

+142
-0
lines changed

1 file changed

+142
-0
lines changed

PWGHF/Core/DecayChannels.h

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
// All rights not expressly granted are reserved.
4+
//
5+
// This software is distributed under the terms of the GNU General Public
6+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
//
8+
// In applying this license CERN does not waive the privileges and immunities
9+
// granted to it by virtue of its status as an Intergovernmental Organization
10+
// or submit itself to any jurisdiction.
11+
12+
/// \file DecayChannels.h
13+
/// \brief Definitions of constants for MC flagging of decay channels.
14+
/// \author Vít Kučera <vit.kucera@cern.ch>, Inha University
15+
/// \note Daughter ordering convention: (charm|strange|π±|K±|π0), (baryon|meson), (+|−)
16+
17+
#ifndef PWGHF_CORE_DECAYCHANNELS_H_
18+
#define PWGHF_CORE_DECAYCHANNELS_H_
19+
20+
#include <cstdint>
21+
22+
namespace o2::hf_decay
23+
{
24+
25+
// TODO
26+
// - HF cascades (Λc+ → p K0short)
27+
// - HF cascades to LF cascades (Ωc0/Ξc0 → Ξ+ π−, Ξc+ → Ξ+ π− π+)
28+
29+
namespace hf_cand_2prong
30+
{
31+
/// @brief 2-prong candidates
32+
enum DecayChannel : int8_t {
33+
// D0
34+
D0ToPiK = 1, // π+ K−
35+
D0ToPiKPi0, // π+ K− π0
36+
D0ToPiPi, // π+ π−
37+
D0ToPiPiPi0, // π+ π− π0
38+
D0ToKK, // K+ K−
39+
//
40+
Last
41+
};
42+
} // namespace hf_cand_2prong
43+
44+
namespace hf_cand_3prong
45+
{
46+
/// @brief 3-prong candidates
47+
enum DecayChannel : int8_t {
48+
// D+
49+
DplusToPiKPi = 1, // π+ K− π+
50+
DplusToPiKPiPi0, // π+ K− π+ π0
51+
DplusToPiPiPi, // π+ π− π+
52+
DplusToPiKK, // π+ K− K+
53+
DplusToPhiPi, // φ π+
54+
DplusToK0starK, // K0* K+
55+
// Ds+
56+
DsToPiKK, // π+ K− K+
57+
DsToPiKKPi0, // π+ K− K+ π0
58+
DsToPiPiK, // π+ π− K+
59+
DsToPiPiPiPi0, // π+ π− π+ π0
60+
DsToPhiPi, // φ π+
61+
DsToK0starK, // K0* K+
62+
// Λc+
63+
LcToPKPi, // p K− π+
64+
LcToPKPiPi0, // p K− π+ π0
65+
LcToPPiPi, // p π− π+
66+
LcToPKK, // p K− K+
67+
// Ξc+
68+
XicToPKPi, // p K− π+
69+
XicToPKK, // p K− K+
70+
XicToSPiPi, // Σ+ π− π+
71+
//
72+
Last
73+
};
74+
} // namespace hf_cand_3prong
75+
76+
namespace hf_cand_dstar
77+
{
78+
/// @brief D*+ candidates
79+
enum DecayChannel : int8_t {
80+
// D*+
81+
DstarToPiKPiPi0 = 1, // π+ K− π+ π0 (from [(D0 → π+ K− π0) π+] or [(D+ → π+ K− π+) π0])
82+
//
83+
Last
84+
};
85+
} // namespace hf_cand_dstar
86+
87+
namespace hf_cand_b0
88+
{
89+
/// @brief B0 candidates
90+
enum DecayChannel : int8_t {
91+
// B0
92+
B0ToDminusPi = 1, // D− π+
93+
B0ToDminusK, // D− K+
94+
B0ToDminusRhoplus, // D− ρ+
95+
B0ToD0PiPi, // D0bar π+ π−
96+
//
97+
Last
98+
};
99+
} // namespace hf_cand_b0
100+
101+
namespace hf_cand_bplus
102+
{
103+
/// @brief B+ candidates
104+
enum DecayChannel : int8_t {
105+
// B+
106+
BplusToD0Pi = 1, // D0bar π+
107+
BplusToD0K, // D0bar K+
108+
BplusToD0Rhoplus, // D0bar ρ+
109+
BplusToD0starPi, // D0*bar π+
110+
//
111+
Last
112+
};
113+
} // namespace hf_cand_bplus
114+
115+
namespace hf_cand_bs
116+
{
117+
/// @brief Bs0 candidates
118+
enum DecayChannel : int8_t {
119+
// Bs0
120+
BsToDsPi = 1, // Ds− π+
121+
BsToDsRhoplus, // Ds− ρ+
122+
//
123+
Last
124+
};
125+
} // namespace hf_cand_bs
126+
127+
namespace hf_cand_lb
128+
{
129+
/// @brief Λb0 candidates
130+
enum DecayChannel : int8_t {
131+
// Λb0
132+
LbToLcPi = 1, // Λc+ π−
133+
LbToLcK, // Λc+ K−
134+
LbToScK, // Σc+ K−
135+
//
136+
Last
137+
};
138+
} // namespace hf_cand_lb
139+
140+
} // namespace o2::hf_decay
141+
142+
#endif // PWGHF_CORE_DECAYCHANNELS_H_

0 commit comments

Comments
 (0)