Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9aa501d
Add unified QA table
fcatalan92 Oct 20, 2026
87e77cd
Add MC tables and enum + cleanup
fcatalan92 Oct 21, 2026
c898c69
Update data model
fcatalan92 Oct 26, 2026
72fdd65
Update data schema for KF particle
fcatalan92 Oct 28, 2026
bd788cb
Move data creator to new tables
fcatalan92 Oct 28, 2026
ec489f3
Move MC matching to new tables and decay-channel defiinition
fcatalan92 Oct 29, 2026
f07e2eb
Fix compilation errors
fcatalan92 Oct 29, 2026
5dc6350
Remove old tables from creator
fcatalan92 Oct 29, 2026
5d322b9
Move OmegaC Qa selector to new tables
fcatalan92 Oct 29, 2026
6625724
Fix selector
fcatalan92 Oct 30, 2026
f7c1963
Update ML response
fcatalan92 Oct 30, 2026
c0db925
Update task and treeCreator to new candidate tables
fcatalan92 Nov 2, 2026
7f318e4
Fix access to charm-bachelor track in selector
fcatalan92 Nov 2, 2026
f3c5679
Fix charm-bachelor pT cut
fcatalan92 Nov 2, 2026
ddbc7c9
Take abs value of KF decay length
fcatalan92 Nov 3, 2026
c027fa1
Update schema for OmegaC selections
fcatalan92 Nov 4, 2026
e982750
Fix compilation
fcatalan92 Nov 4, 2026
9d20c8e
Update OmegaC task to use new selections
fcatalan92 Nov 5, 2026
01f32cb
Update OmegaC treecreator to new selections
fcatalan92 Nov 5, 2026
b2f0d97
Fix skim flag in OmegaC selector
fcatalan92 Nov 5, 2026
ea186e5
Fix invariant-mass cut
fcatalan92 Nov 5, 2026
476d73a
Streamline DCA candidate building
fcatalan92 Nov 9, 2026
f4f974a
Streamline KFParticle candidate building
fcatalan92 Nov 10, 2026
a98c506
Update MC matching
fcatalan92 Nov 10, 2026
93a538e
Cleanup configurable names
fcatalan92 Nov 10, 2026
3e87d83
Fix DCA workflow
fcatalan92 Nov 11, 2026
1bc8a4c
Fix type of mass quantitites
fcatalan92 Nov 11, 2026
c55758a
Fixes for task and tree creator
fcatalan92 Nov 11, 2026
c0c8537
Update OmegaC ML response
fcatalan92 Nov 12, 2026
2c43cd0
Move XiC Qa workflow to new data schema
fcatalan92 Nov 12, 2026
dc4385f
Remove separate header file
fcatalan92 Nov 12, 2026
a598f8c
Add header files
fcatalan92 Nov 13, 2026
bf7fa2f
Update decay-length error calculation for KF particle
fcatalan92 Nov 13, 2026
ffd3da2
Fix includes for XiC tree creator
fcatalan92 Nov 13, 2026
15c3db0
Fix code-check errors
fcatalan92 Nov 13, 2026
aad8452
Address Oleksii comments
fcatalan92 Nov 17, 2026
8fba828
Cleanup configurable parameters
fcatalan92 Nov 17, 2026
46361fd
Cleanup DCA and KFparticle candidate building
fcatalan92 Nov 18, 2026
13e55f7
Remove unnecessary try-catch
fcatalan92 Nov 18, 2026
7a2140b
Add checks for KFparticle
fcatalan92 Nov 18, 2026
657921b
Address TODOs in candidate creation
fcatalan92 Nov 18, 2026
195eb8a
Add possibility to account for interactions with material and kink de…
fcatalan92 Nov 18, 2026
b591758
Fix
fcatalan92 Nov 18, 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 @@ -515,12 +515,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