-
Notifications
You must be signed in to change notification settings - Fork 615
[PWGHF,PWGJE] Unify and extend MC flags in candidate tables (3-prong, D*+) #11382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7eb2174
Add header for flag enumeration
vkucera 5151ad1
Include in 3-prong candidate creator
vkucera 33b4e53
Replace flags
vkucera 4dcfbef
Fix magic numbers
vkucera a41ed95
Remove wrong Lb channel
vkucera d711237
Make lists for resonant channels. Add more.
vkucera 2e67b57
Improve comments
vkucera f625480
Add more channels. Fix comments.
vkucera 3f97645
Consistency
vkucera a281b79
Propagate changes
vkucera 6aa126e
Change name of enums of main channels. Add more channels.
vkucera 950c317
Propagate flags for 3-prongs and D*+
vkucera e1dea2c
Merge beauty channels
vkucera 18d6c94
Add missing type
vkucera 54b3216
Add comment
vkucera 010a1b2
Fix taskLcCentrality.cxx
vkucera eddc92b
Fix missing include
vkucera 84da7b7
Fix missing DplusToPiKK in partitions
vkucera File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,180 @@ | ||
| // Copyright 2019-2020 CERN and copyright holders of ALICE O2. | ||
| // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. | ||
| // All rights not expressly granted are reserved. | ||
| // | ||
| // This software is distributed under the terms of the GNU General Public | ||
| // License v3 (GPL Version 3), copied verbatim in the file "COPYING". | ||
| // | ||
| // In applying this license CERN does not waive the privileges and immunities | ||
| // granted to it by virtue of its status as an Intergovernmental Organization | ||
| // or submit itself to any jurisdiction. | ||
|
|
||
| /// \file DecayChannels.h | ||
| /// \brief Definitions of constants for MC flagging of HF decay channels. | ||
| /// \author Vít Kučera <vit.kucera@cern.ch>, Inha University | ||
| /// \note DecayChannelMain enums define unique combinations of the mother and the daughters for main channels. | ||
| /// \note DecayChannelResonant enums define unique combinations of the mother and the daughters for resonant channels. | ||
| /// \note Value 0 is reserved to indicate no match. | ||
| /// \note Daughter ordering convention: (charm|strange|π±|K±|π0), (baryon|meson), (+|−) | ||
|
|
||
| #ifndef PWGHF_CORE_DECAYCHANNELS_H_ | ||
| #define PWGHF_CORE_DECAYCHANNELS_H_ | ||
|
|
||
| #include <cstdint> | ||
|
|
||
| namespace o2::hf_decay | ||
| { | ||
|
|
||
| // TODO | ||
| // - HF cascades (Λc+ → p K0short) | ||
| // - HF cascades to LF cascades (Ωc0/Ξc0 → Ξ+ π−, Ξc+ → Ξ+ π− π+) | ||
| // - Σc | ||
|
|
||
| namespace hf_cand_2prong | ||
| { | ||
| /// @brief 2-prong candidates: main channels | ||
| enum DecayChannelMain : int8_t { | ||
| // D0 | ||
| D0ToPiK = 1, // π+ K− | ||
| D0ToPiKPi0, // π+ K− π0 | ||
| D0ToPiPi, // π+ π− | ||
| D0ToPiPiPi0, // π+ π− π0 | ||
| D0ToKK, // K+ K− | ||
| // | ||
| LastChannelMain | ||
| }; | ||
| /// @brief 2-prong candidates: resonant channels | ||
| enum DecayChannelResonant : int8_t { | ||
| // D0 | ||
| D0ToRhoplusPi = 1, // ρ+ π− | ||
| D0ToRhoplusK, // ρ+ K− | ||
| D0ToKstar0Pi0, // anti-K*0 π0 | ||
| D0ToKstarPi, // K*− π+ | ||
| // | ||
| LastChannelResonant | ||
| }; | ||
| } // namespace hf_cand_2prong | ||
|
|
||
| namespace hf_cand_3prong | ||
| { | ||
| /// @brief 3-prong candidates: main channels | ||
| enum DecayChannelMain : int8_t { | ||
| // D+ | ||
| DplusToPiKPi = 1, // π+ K− π+ | ||
| DplusToPiKPiPi0, // π+ K− π+ π0 | ||
| DplusToPiPiPi, // π+ π− π+ | ||
| DplusToPiKK, // π+ K− K+ | ||
| // Ds+ | ||
| DsToPiKK, // π+ K− K+ | ||
| DsToPiKKPi0, // π+ K− K+ π0 | ||
| DsToPiPiK, // π+ π− K+ | ||
| DsToPiPiPi, // π+ π− π+ | ||
| DsToPiPiPiPi0, // π+ π− π+ π0 | ||
| // D*+ | ||
| DstarToPiKPi, // π+ K− π+ (from [(D0 → π+ K−) π+]) | ||
| // Λc+ | ||
| LcToPKPi, // p K− π+ | ||
| LcToPKPiPi0, // p K− π+ π0 | ||
| LcToPPiPi, // p π− π+ | ||
| LcToPKK, // p K− K+ | ||
| // Ξc+ | ||
| XicToPKPi, // p K− π+ | ||
| XicToPKK, // p K− K+ | ||
| XicToSPiPi, // Σ+ π− π+ | ||
| // | ||
| LastChannelMain | ||
| }; | ||
| /// @brief 3-prong candidates: resonant channels | ||
| enum DecayChannelResonant : int8_t { | ||
| // D+ | ||
| DplusToPhiPi = 1, // φ π+ | ||
| DplusToKstar0K, // anti-K*0 K+ | ||
| DplusToKstar1430_0K, // anti-K*0(1430) K+ | ||
| DplusToRho0Pi, // ρ0 π+ | ||
| DplusToF2_1270Pi, // f2(1270) π+ | ||
| // Ds+ | ||
| DsToPhiPi, // φ π+ | ||
| DsToPhiRhoplus, // φ ρ+ | ||
| DsToKstar0K, // anti-K*0 K+ | ||
| DsToKstar0Pi, // anti-K*0 π+ | ||
| DsToRho0Pi, // ρ0 π+ | ||
| DsToRho0K, // ρ0 K+ | ||
| DsToF2_1270Pi, // f2(1270) π+ | ||
| DsToF0_1370K, // f0(1370) K+ | ||
| DsToEtaPi, // η π+ | ||
| // Λc+ | ||
| LcToPKstar0, // p K*0(892) | ||
| LcToDeltaplusplusK, // Δ++ K− | ||
| LcToL1520Pi, // Λ(1520) π+ | ||
| // Ξc+ | ||
| XicToPKstar0, // p anti-K*0(892) | ||
| XicToPPhi, // p φ | ||
| // | ||
| LastChannelResonant | ||
| }; | ||
| } // namespace hf_cand_3prong | ||
|
|
||
| namespace hf_cand_dstar | ||
| { | ||
| /// @brief D*+ candidates: main channels | ||
| enum DecayChannelMain : int8_t { | ||
| // D*+ | ||
| DstarToPiKPi = 1, // π+ K− π+ (from [(D0 → π+ K−) π+]) | ||
| DstarToPiKPiPi0, // π+ K− π+ π0 (from [(D0 → π+ K− π0) π+] or [(D+ → π+ K− π+) π0]) | ||
| // | ||
| LastChannelMain | ||
| }; | ||
| } // namespace hf_cand_dstar | ||
|
|
||
| namespace hf_cand_beauty | ||
| { | ||
| /// @brief beauty candidates: main channels | ||
| enum DecayChannelMain : int8_t { | ||
| // B0 | ||
| B0ToDminusPi = 1, // D− π+ | ||
| B0ToDminusPiPi0, // D− π+ π0 | ||
| B0ToDminusPiGamma, // D− π+ γ0 | ||
| B0ToDminusK, // D− K+ | ||
| B0ToD0PiPi, // anti-D0 π+ π− | ||
| // Bs0 | ||
| BsToDsPi, // Ds− π+ | ||
| BsToDsPiPi0, // Ds− π+ π0 | ||
| BsToDsPiGamma, // Ds− π+ γ0 | ||
| BsToDsK, // Ds− K+ | ||
| // Λb0 | ||
| LbToLcPi, // Λc+ π− | ||
| LbToLcPiPi0, // Λc+ π− π0 | ||
| LbToLcPiGamma, // Λc+ π− γ0 | ||
| LbToLcK, // Λc+ K− | ||
| LbToLcKPi0, // Λc+ K− π0 | ||
| // B+ | ||
| BplusToD0Pi, // anti-D0 π+ | ||
| BplusToD0PiPi0, // anti-D0 π+ π0 | ||
| BplusToD0PiGamma, // anti-D0 π+ γ0 | ||
| BplusToD0K, // anti-D0 K+ | ||
| // | ||
| LastChannelMain | ||
| }; | ||
| /// @brief beauty candidates: resonant channels | ||
| enum DecayChannelResonant : int8_t { | ||
| // B0 | ||
| B0ToDminusRhoplus = 1, // D− ρ+ | ||
| B0ToDstarminusPi, // D*− π+ | ||
| // Bs0 | ||
| BsToDsRhoplus, // Ds− ρ+ | ||
| BsToDsstarPi, // Ds*− π+ | ||
| // Λb0 | ||
| LbToLcRhoplus, // Λc+ ρ− | ||
| LbToScPi, // Σc+ π− | ||
| LbToScK, // Σc+ K− | ||
| LbToSc0Pi0, // Σc0 π0 | ||
| // B+ | ||
| BplusToD0Rhoplus, // anti-D0 ρ+ | ||
| BplusToDstar0Pi, // anti-D*0 π+ | ||
| // | ||
| LastChannelResonant | ||
| }; | ||
| } // namespace hf_cand_beauty | ||
| } // namespace o2::hf_decay | ||
|
|
||
| #endif // PWGHF_CORE_DECAYCHANNELS_H_ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.