Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
79af645
Created correlatorLcScHadrons.cxx
singhra1994 May 27, 2025
73b61ce
Update CMakeLists for Sc correlator
singhra1994 May 27, 2025
04ad2a3
Please consider the following formatting changes
alibuild May 27, 2025
792ff03
Merge pull request #28 from alibuild/alibot-cleanup-11384
singhra1994 May 27, 2025
61007d1
Update CorrelationTables.h
singhra1994 May 27, 2025
90f9f45
Update correlatorLcScHadrons.cxx
singhra1994 May 27, 2025
d11b16b
Update correlatorLcScHadrons.cxx
singhra1994 May 27, 2025
a5fd339
Update correlatorLcScHadrons.cxx
singhra1994 May 30, 2025
c43b130
Update correlatorLcScHadrons.cxx
singhra1994 Jun 1, 2025
92581ad
Update CorrelationTables.h
singhra1994 Jun 1, 2025
2e27032
Please consider the following formatting changes
alibuild Jun 1, 2025
8a216c6
Merge pull request #29 from alibuild/alibot-cleanup-11384
singhra1994 Jun 1, 2025
8c1000f
Update correlatorLcScHadrons.cxx
singhra1994 Jun 3, 2025
f3015df
Update correlatorLcScHadrons.cxx
singhra1994 Jun 3, 2025
75aa865
Update correlatorLcScHadrons.cxx
singhra1994 Jun 3, 2025
03c0e73
Please consider the following formatting changes
alibuild Jun 3, 2025
6f6c4c3
Merge pull request #30 from alibuild/alibot-cleanup-11384
singhra1994 Jun 3, 2025
64737f6
Update correlatorLcScHadrons.cxx
singhra1994 Jun 4, 2025
6b0268f
Please consider the following formatting changes
alibuild Jun 4, 2025
5e5f9b8
Merge pull request #31 from alibuild/alibot-cleanup-11384
singhra1994 Jun 4, 2025
c96cdcd
Changed C-style casting to modern c++ style casting
singhra1994 Jun 4, 2025
3ac559e
Merge branch 'AliceO2Group:master' into master
singhra1994 Jun 18, 2025
952df95
PWGHF: added processes to filter Sc collisions
singhra1994 Jun 18, 2025
2e34d62
PWGHF: added processes to filter Sc collisions
singhra1994 Jun 18, 2025
27c3d09
PWGHF: Added processes to filter Sc collisions
singhra1994 Jun 18, 2025
3214b64
Please consider the following formatting changes
alibuild Jun 18, 2025
fcbc816
Merge pull request #32 from alibuild/alibot-cleanup-11678
singhra1994 Jun 18, 2025
2aead6d
[PWGHF: Added processes to select Sc collisions
singhra1994 Jun 18, 2025
5269d07
PWGHF: Added processes to select Sc collisions
singhra1994 Jun 18, 2025
3c3881e
Please consider the following formatting changes
alibuild Jun 18, 2025
7c1f14f
Merge pull request #33 from alibuild/alibot-cleanup-11678
singhra1994 Jun 18, 2025
93a772f
PWGHF: Added processes to select Sc collisions with comments implimented
singhra1994 Jun 19, 2025
e981b85
PW
singhra1994 Jun 19, 2025
f02034b
Please consider the following formatting changes
alibuild Jun 19, 2025
989a894
Merge pull request #34 from alibuild/alibot-cleanup-11678
singhra1994 Jun 19, 2025
bb36ffd
added doxygen documentation for the function matchCandAndMass and fix…
singhra1994 Jun 24, 2025
a7561aa
Please consider the following formatting changes
alibuild Jun 24, 2025
f5b8638
Merge pull request #35 from alibuild/alibot-cleanup-11678
singhra1994 Jun 24, 2025
8d49e1d
removed magic number and fixed rapidy bug
singhra1994 Jun 24, 2025
98ab7df
Merge branch 'AliceO2Group:master' into newbranch
singhra1994 Jun 24, 2025
fed4efe
PWGHF: fixed rapidity bug for proton
singhra1994 Jun 24, 2025
a5eb150
PWGHF: fixed rapidity bug for proton
singhra1994 Jun 24, 2025
e246c92
PWGHF: Fixed issue in mixed event process of disabled cache Tracks/fI…
singhra1994 Jun 25, 2025
595aa31
PWGHF: Fixed issue in mixed event process of disabled cache Tracks/f…
singhra1994 Jun 25, 2025
cec2523
added std while using size_t
singhra1994 Jun 26, 2025
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
20 changes: 11 additions & 9 deletions PWGHF/HFC/TableProducer/correlatorLcHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ struct HfCorrelatorLcHadrons {
Service<o2::framework::O2DatabasePDG> pdg;
int leadingIndex = 0;
bool correlationStatus = false;
static constexpr size_t nDaughters{3u};
static constexpr std::size_t NDaughters{3u};
TRandom3* rnd = new TRandom3(0);

// Event Mixing for the Data Mode
Expand All @@ -232,8 +232,10 @@ struct HfCorrelatorLcHadrons {
Filter lcFilter = ((o2::aod::hf_track_index::hfflag & static_cast<uint8_t>(1 << aod::hf_cand_3prong::DecayType::LcToPKPi)) != static_cast<uint8_t>(0)) && (aod::hf_sel_candidate_lc::isSelLcToPKPi >= selectionFlagLc || aod::hf_sel_candidate_lc::isSelLcToPiKP >= selectionFlagLc);
Filter trackFilter = (nabs(aod::track::eta) < etaTrackMax) && (nabs(aod::track::pt) > ptTrackMin) && (nabs(aod::track::dcaXY) < dcaXYTrackMax) && (nabs(aod::track::dcaZ) < dcaZTrackMax);

// Preslice<aod::McParticles> perTrueCollision = o2::aod::mcparticle::McCollisionId;
Preslice<aod::McParticles> perTrueCollision = o2::aod::mcparticle::mcCollisionId;
Preslice<aod::Tracks> perCollisionID = aod::track::collisionId;
Preslice<aod::HfCand3Prong> cand3ProngPerCol = aod::hf_cand::collisionId;

// configurable axis definition
ConfigurableAxis binsMultiplicity{"binsMultiplicity", {VARIABLE_WIDTH, 0.0f, 2000.0f, 6000.0f, 100000.0f}, "Mixing bins - multiplicity"};
ConfigurableAxis binsZVtx{"binsZVtx", {VARIABLE_WIDTH, -10.0f, -2.5f, 2.5f, 10.0f}, "Mixing bins - z-vertex"};
Expand Down Expand Up @@ -441,7 +443,7 @@ struct HfCorrelatorLcHadrons {
track.pt() * track.sign(),
poolBin,
correlationStatus);
entryLcHadronPairY(track.y() - hfHelper.yLc(candidate));
entryLcHadronPairY(track.rapidity(MassProton) - hfHelper.yLc(candidate)); // only for proton as of now
entryLcHadronRecoInfo(hfHelper.invMassLcToPKPi(candidate), false);
entryLcHadronGenInfo(false, false, 0);
entryLcHadronMlInfo(outputMl[0], outputMl[1]);
Expand All @@ -457,7 +459,7 @@ struct HfCorrelatorLcHadrons {
track.pt() * track.sign(),
poolBin,
correlationStatus);
entryLcHadronPairY(track.y() - hfHelper.yLc(candidate));
entryLcHadronPairY(track.rapidity(MassProton) - hfHelper.yLc(candidate)); // only for proton as of now
entryLcHadronRecoInfo(hfHelper.invMassLcToPiKP(candidate), false);
entryLcHadronGenInfo(false, false, 0);
entryLcHadronMlInfo(outputMl[0], outputMl[1]);
Expand Down Expand Up @@ -694,7 +696,7 @@ struct HfCorrelatorLcHadrons {
track.pt() * track.sign(),
poolBin,
correlationStatus);
entryLcHadronPairY(track.y() - hfHelper.yLc(candidate));
entryLcHadronPairY(track.rapidity(MassProton) - hfHelper.yLc(candidate)); // only for proton as of now
entryLcHadronRecoInfo(hfHelper.invMassLcToPKPi(candidate), isLcSignal);
if (fillTrkPID) {
entryLcHadronPairTrkPID(track.tpcNSigmaPr(), track.tpcNSigmaKa(), track.tpcNSigmaPi(), track.tofNSigmaPr(), track.tofNSigmaKa(), track.tofNSigmaPi());
Expand Down Expand Up @@ -724,7 +726,7 @@ struct HfCorrelatorLcHadrons {
track.pt() * track.sign(),
poolBin,
correlationStatus);
entryLcHadronPairY(track.y() - hfHelper.yLc(candidate));
entryLcHadronPairY(track.rapidity(MassProton) - hfHelper.yLc(candidate)); // only for proton as of now
entryLcHadronRecoInfo(hfHelper.invMassLcToPiKP(candidate), isLcSignal);
if (fillTrkPID) {
entryLcHadronPairTrkPID(track.tpcNSigmaPr(), track.tpcNSigmaKa(), track.tpcNSigmaPi(), track.tofNSigmaPr(), track.tofNSigmaKa(), track.tofNSigmaPi());
Expand Down Expand Up @@ -801,12 +803,12 @@ struct HfCorrelatorLcHadrons {

// prompt and non-prompt division
std::vector<int> listDaughters{};
std::array<int, nDaughters> arrDaughLcPDG = {kProton, -kKPlus, kPiPlus};
std::array<int, nDaughters> prongsId;
std::array<int, NDaughters> arrDaughLcPDG = {kProton, -kKPlus, kPiPlus};
std::array<int, NDaughters> prongsId;
listDaughters.clear();
RecoDecay::getDaughters(particle, &listDaughters, arrDaughLcPDG, 2);
int counterDaughters = 0;
if (listDaughters.size() == nDaughters) {
if (listDaughters.size() == NDaughters) {
for (const auto& dauIdx : listDaughters) {
auto daughI = mcParticles.rawIteratorAt(dauIdx - mcParticles.offset());
counterDaughters += 1;
Expand Down
Loading
Loading