Skip to content

Commit 9d73810

Browse files
committed
Implement Vit Comments
1 parent a4a37c1 commit 9d73810

File tree

4 files changed

+148
-151
lines changed

4 files changed

+148
-151
lines changed

PWGHF/Core/DecayChannels.h

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -60,71 +60,71 @@ namespace hf_cand_3prong
6060
/// @brief 3-prong candidates: main channels
6161
enum DecayChannelMain : int8_t {
6262
// D+
63-
DplusToPiKPi = 1, // 1, π+ K− π+
64-
DplusToPiKPiPi0, // 2, π+ K− π+ π0
65-
DplusToPiPiPi, // 3, π+ π− π+
66-
DplusToPiKK, // 4, π+ K− K+
63+
DplusToPiKPi = 1, // π+ K− π+
64+
DplusToPiKPiPi0, // π+ K− π+ π0
65+
DplusToPiPiPi, // π+ π− π+
66+
DplusToPiKK, // π+ K− K+
6767
// Ds+
68-
DsToPiKK, // 5, π+ K− K+
69-
DsToPiKKPi0, // 6, π+ K− K+ π0
70-
DsToPiPiK, // 7, π+ π− K+
71-
DsToPiPiPi, // 8, π+ π− π+
72-
DsToPiPiPiPi0, // 9, π+ π− π+ π0
68+
DsToPiKK, // π+ K− K+
69+
DsToPiKKPi0, // π+ K− K+ π0
70+
DsToPiPiK, // π+ π− K+
71+
DsToPiPiPi, // π+ π− π+
72+
DsToPiPiPiPi0, // π+ π− π+ π0
7373
// D*+
74-
DstarToPiKPi, // 10, π+ K− π+ (from [(D0 → π+ K−) π+])
75-
DstarToPiKPiPi0, // 11, π+ K− π+ π0
76-
DstarToPiKPiPi0Pi0, // 12, π+ K− π+ π0 π0
77-
DstarToPiKK, // 13, π+ K− K+
78-
DstarToPiKKPi0, // 14, π+ K− K+ π0
79-
DstarToPiPiPi, // 15, π+ π− π+
80-
DstarToPiPiPiPi0, // 16, π+ π− π+ π0
74+
DstarToPiKPi, // π+ K− π+ (from [(D0 → π+ K−) π+])
75+
DstarToPiKPiPi0, // π+ K− π+ π0
76+
DstarToPiKPiPi0Pi0, // π+ K− π+ π0 π0
77+
DstarToPiKK, // π+ K− K+
78+
DstarToPiKKPi0, // π+ K− K+ π0
79+
DstarToPiPiPi, // π+ π− π+
80+
DstarToPiPiPiPi0, // π+ π− π+ π0
8181
// Λc+
82-
LcToPKPi, // 17, p K− π+
83-
LcToPKPiPi0, // 18, p K− π+ π0
84-
LcToPPiPi, // 19, p π− π+
85-
LcToPKK, // 20, p K− K+
82+
LcToPKPi, // p K− π+
83+
LcToPKPiPi0, // p K− π+ π0
84+
LcToPPiPi, // p π− π+
85+
LcToPKK, // p K− K+
8686
// Ξc+
87-
XicToPKPi, // 21, p K− π+
88-
XicToPKK, // 22, p K− K+
89-
XicToSPiPi, // 23, Σ+ π− π+
87+
XicToPKPi, // p K− π+
88+
XicToPKK, // p K− K+
89+
XicToSPiPi, // Σ+ π− π+
9090
//
9191
LastChannelMain
9292
};
9393
/// @brief 3-prong candidates: resonant channels
9494
enum DecayChannelResonant : int8_t {
9595
// D+
96-
DplusToPhiPi = 1, // 1, φ π+
97-
DplusToKstar0K, // 2, anti-K*0 K+
98-
DplusToKstar1430_0K, // 3, anti-K*0(1430) K+
99-
DplusToRho0Pi, // 4, ρ0 π+
100-
DplusToF2_1270Pi, // 5, f2(1270) π+
96+
DplusToPhiPi = 1, // φ π+
97+
DplusToKstar0K, // anti-K*0 K+
98+
DplusToKstar1430_0K, // anti-K*0(1430) K+
99+
DplusToRho0Pi, // ρ0 π+
100+
DplusToF2_1270Pi, // f2(1270) π+
101101
// Ds+
102-
DsToPhiPi, // 6, φ π+
103-
DsToPhiRhoplus, // 7, φ ρ+
104-
DsToKstar0K, // 8, anti-K*0 K+
105-
DsToKstar0Pi, // 9, anti-K*0 π+
106-
DsToRho0Pi, // 10, ρ0 π+
107-
DsToRho0K, // 11, ρ0 K+
108-
DsToF2_1270Pi, // 12, f2(1270) π+
109-
DsToF0_1370K, // 13, f0(1370) K+
110-
DsToEtaPi, // 14, η π+
102+
DsToPhiPi, // φ π+
103+
DsToPhiRhoplus, // φ ρ+
104+
DsToKstar0K, // anti-K*0 K+
105+
DsToKstar0Pi, // anti-K*0 π+
106+
DsToRho0Pi, // ρ0 π+
107+
DsToRho0K, // ρ0 K+
108+
DsToF2_1270Pi, // f2(1270) π+
109+
DsToF0_1370K, // f0(1370) K+
110+
DsToEtaPi, // η π+
111111
// D*+
112-
DstarToD0ToRhoplusPi, // 15, ρ+ π−
113-
DstarToD0ToRhoplusK, // 16, ρ+ K−
114-
DstarToD0ToKstar0Pi0, // 17, anti-K*0 π0
115-
DstarToD0ToKstarPi, // 18, K*− π+
116-
DstarToDplusToPhiPi, // 19, φ π+
117-
DstarToDplusToKstar0K, // 20, anti-K*0 K+
118-
DstarToDplusToKstar1430_0K, // 21, anti-K*0(1430) K+
119-
DstarToDplusToRho0Pi, // 22, ρ0 π+
120-
DstarToDplusToF2_1270Pi, // 23, f2(1270) π+
112+
DstarToD0ToRhoplusPi, // ρ+ π−
113+
DstarToD0ToRhoplusK, // ρ+ K−
114+
DstarToD0ToKstar0Pi0, // anti-K*0 π0
115+
DstarToD0ToKstarPi, // K*− π+
116+
DstarToDplusToPhiPi, // φ π+
117+
DstarToDplusToKstar0K, // anti-K*0 K+
118+
DstarToDplusToKstar1430_0K, // anti-K*0(1430) K+
119+
DstarToDplusToRho0Pi, // ρ0 π+
120+
DstarToDplusToF2_1270Pi, // f2(1270) π+
121121
// Λc+
122-
LcToPKstar0, // 24, p K*0(892)
123-
LcToDeltaplusplusK, // 25, Δ++ K−
124-
LcToL1520Pi, // 26, Λ(1520) π+
122+
LcToPKstar0, // p K*0(892)
123+
LcToDeltaplusplusK, // Δ++ K−
124+
LcToL1520Pi, // Λ(1520) π+
125125
// Ξc+
126-
XicToPKstar0, // 27, p anti-K*0(892)
127-
XicToPPhi, // 28, p φ
126+
XicToPKstar0, // p anti-K*0(892)
127+
XicToPPhi, // p φ
128128
//
129129
LastChannelResonant
130130
};

PWGHF/TableProducer/candidateCreator2Prong.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ struct HfCandidateCreator2ProngExpressions {
779779
if (matchCorrBkgs) {
780780
indexRec = -1; // Index of the matched reconstructed candidate
781781
int depth = 2;
782-
for (const auto& [chn, finalState] : hf_cand_2prong::finalStates2Prongs) {
782+
for (const auto& [chn, finalState] : hf_cand_2prong::DaughtersD0Main) {
783783
std::array<int, 2> finalStateParts2Prong = std::array{finalState[0], finalState[1]};
784784
if (finalState.size() == 3) { // Partly Reco 2-prong decays
785785
if (matchKinkedDecayTopology && matchInteractionsWithMaterial) {

PWGHF/Utils/utilsMcGen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void fillMcMatchGen2Prong(T const& mcParticles, U const& mcParticlesPerMcColl, V
5757
if (matchCorrBkgs) {
5858
bool matched = false;
5959

60-
for (const auto& [chn, finalState] : o2::hf_decay::hf_cand_2prong::finalStates2Prongs) {
60+
for (const auto& [chn, finalState] : o2::hf_decay::hf_cand_2prong::DaughtersD0Main) {
6161
if (finalState.size() == 3) { // Partly Reco 3-prong decays
6262
std::array<int, 3> finalStateParts = std::array{finalState[0], finalState[1], finalState[2]};
6363
if (particle.pdgCode() < 0) {

0 commit comments

Comments
 (0)