Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
e208ef2
Add unified QA table
fcatalan92 Oct 20, 2026
e9d101e
Add MC tables and enum + cleanup
fcatalan92 Oct 21, 2026
ff4a2ce
Update data model
fcatalan92 Oct 26, 2026
b6a35da
Update data schema for KF particle
fcatalan92 Oct 28, 2026
09d7846
Move data creator to new tables
fcatalan92 Oct 28, 2026
01ad7b2
Move MC matching to new tables and decay-channel defiinition
fcatalan92 Oct 29, 2026
9639352
Fix compilation errors
fcatalan92 Oct 29, 2026
4cab22f
Remove old tables from creator
fcatalan92 Oct 29, 2026
d223316
Move OmegaC Qa selector to new tables
fcatalan92 Oct 29, 2026
238470b
Fix selector
fcatalan92 Oct 30, 2026
eb66e19
Update ML response
fcatalan92 Oct 30, 2026
128da52
Update task and treeCreator to new candidate tables
fcatalan92 Nov 2, 2026
d18a4d8
Fix access to charm-bachelor track in selector
fcatalan92 Nov 2, 2026
de3b58e
Fix charm-bachelor pT cut
fcatalan92 Nov 2, 2026
60bf06a
Take abs value of KF decay length
fcatalan92 Nov 3, 2026
4315dd2
Update schema for OmegaC selections
fcatalan92 Nov 4, 2026
7004a20
Fix compilation
fcatalan92 Nov 4, 2026
363085e
Update OmegaC task to use new selections
fcatalan92 Nov 5, 2026
403087a
Update OmegaC treecreator to new selections
fcatalan92 Nov 5, 2026
eb398bb
Fix skim flag in OmegaC selector
fcatalan92 Nov 5, 2026
b9fa354
Fix invariant-mass cut
fcatalan92 Nov 5, 2026
a47da86
Streamline DCA candidate building
fcatalan92 Nov 9, 2026
d6f742d
Streamline KFParticle candidate building
fcatalan92 Nov 10, 2026
cc88084
Update MC matching
fcatalan92 Nov 10, 2026
d9e668a
Cleanup configurable names
fcatalan92 Nov 10, 2026
7f5ca99
Fix DCA workflow
fcatalan92 Nov 11, 2026
e067f8a
Fix type of mass quantitites
fcatalan92 Nov 11, 2026
07f3d87
Fixes for task and tree creator
fcatalan92 Nov 11, 2026
500c5ad
Update OmegaC ML response
fcatalan92 Nov 12, 2026
f852a61
Move XiC Qa workflow to new data schema
fcatalan92 Nov 12, 2026
eb75ae0
Add normalised decay length to OmegaC ML response
fcatalan92 Nov 12, 2026
882928c
Remove separate header file
fcatalan92 Nov 12, 2026
bc338b9
Add header files
fcatalan92 Nov 13, 2026
5d1e814
Update decay-length error calculation for KF particle
fcatalan92 Nov 13, 2026
53cbff8
Fix includes for XiC tree creator
fcatalan92 Nov 13, 2026
69c46a2
Fix code-check errors
fcatalan92 Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion PWGHF/Core/DecayChannels.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ namespace o2::hf_decay

// TODO
// - HF cascades (Λc+ → p K0short)
// - HF cascades to LF cascades (Ωc0/Ξc0 → Ξ+ π−, Ξc+ → Ξ+ π− π+)
// - Σc

using HfDecayChannel = int8_t;
Expand Down Expand Up @@ -296,6 +295,21 @@ enum DecayChannelMain : HfDecayChannel {
};
} // namespace hf_cand_sigmac

// @brief XiC0 and OmegaC0 candidates: main channels
namespace hf_cand_casc_bach_qa
{
enum DecayChannelMain : HfDecayChannel {
// XiC0
Xic0ToXiPi = 1, // Xi- π+ → Λ π- π+ → p π- π- π+
Xic0ToOmegaK = 2, // Ω- K+ → Λ K- K+ → p π- K- K+
// OmegaC0
Omegac0ToOmegaPi = 3, // Ω- π+ → Λ π- π+ → p π- π- π+
Omegac0ToOmegaK = 4, // Ω- K+ → Λ K- K+ → p π- K- K+
Omegac0ToXiPi = 5, // Xi- π+ → Λ π- π+ → p π- π- π+
NChannelsMain = Omegac0ToXiPi // last channel
};
} // namespace hf_cand_casc_bach_qa

} // namespace o2::hf_decay

#endif // PWGHF_CORE_DECAYCHANNELS_H_
72 changes: 72 additions & 0 deletions PWGHF/Core/HfHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,84 @@ struct HfHelper {
return candidate.m(std::array{o2::constants::physics::MassXiMinus, o2::constants::physics::MassPiPlus});
}

template <typename T>
static auto invMassOmegaczeroToXiPi(const T& candidate)
{
return candidate.m(std::array{o2::constants::physics::MassXiMinus, o2::constants::physics::MassPiPlus});
}

template <typename T>
static auto invMassOmegaczeroToOmegaPi(const T& candidate)
{
return candidate.m(std::array{o2::constants::physics::MassOmegaMinus, o2::constants::physics::MassPiPlus});
}

template <typename T>
static auto invMassOmegaczeroToOmegaK(const T& candidate)
{
return candidate.m(std::array{o2::constants::physics::MassOmegaMinus, o2::constants::physics::MassKPlus});
}

template <typename T>
static auto yXiczero(const T& candidate)
{
return candidate.y(o2::constants::physics::MassXiC0);
}

template <typename T>
static auto eXiczero(const T& candidate)
{
return candidate.e(o2::constants::physics::MassXiC0);
}

template <typename T>
static auto ctXiczero(const T& candidate)
{
return candidate.ct(o2::constants::physics::MassXiC0);
}

template <typename T>
static auto cosThetaStarXiczeroToXiPi(const T& candidate)
{
return candidate.cosThetaStar(std::array{o2::constants::physics::MassXiMinus, o2::constants::physics::MassPiPlus}, o2::constants::physics::MassXiC0, 1);
}

template <typename T>
static auto yOmegaczero(const T& candidate)
{
return candidate.y(o2::constants::physics::MassOmegaC0);
}

template <typename T>
static auto eOmegaczero(const T& candidate)
{
return candidate.e(o2::constants::physics::MassOmegaC0);
}

template <typename T>
static auto ctOmegaczero(const T& candidate)
{
return candidate.ct(o2::constants::physics::MassOmegaC0);
}

template <typename T>
static auto cosThetaStarOmegaczeroToXiPi(const T& candidate)
{
return candidate.cosThetaStar(std::array{o2::constants::physics::MassXiMinus, o2::constants::physics::MassPiPlus}, o2::constants::physics::MassOmegaC0, 1);
}

template <typename T>
static auto cosThetaStarOmegaczeroToOmegaPi(const T& candidate)
{
return candidate.cosThetaStar(std::array{o2::constants::physics::MassOmegaMinus, o2::constants::physics::MassPiPlus}, o2::constants::physics::MassOmegaC0, 1);
}

template <typename T>
static auto cosThetaStarOmegaczeroToOmegaK(const T& candidate)
{
return candidate.cosThetaStar(std::array{o2::constants::physics::MassOmegaMinus, o2::constants::physics::MassKPlus}, o2::constants::physics::MassOmegaC0, 1);
}

// hf_cand_casc_lf_3prong

template <typename T>
Expand Down
Loading
Loading