Skip to content

Commit 07ccb76

Browse files
authored
Update hStrangeCorrelation.cxx
1 parent 574c77e commit 07ccb76

File tree

1 file changed

+25
-28
lines changed

1 file changed

+25
-28
lines changed

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,9 +1791,7 @@ struct HStrangeCorrelation {
17911791
}
17921792
}
17931793

1794-
void processFeedDown(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms, aod::PVMults>::iterator const& collision,
1795-
aod::AssocV0s const& associatedV0s, aod::McParticles const&,
1796-
V0DatasWithoutTrackXMC const&, TracksComplete const&, aod::BCsWithTimestamps const&)
1794+
void processFeedDown(soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Ms, aod::PVMults>::iterator const& collision, aod::AssocV0s const& associatedV0s, aod::McParticles const&, V0DatasWithoutTrackXMC const&, TracksComplete const&, aod::BCsWithTimestamps const&)
17971795
{
17981796

17991797
// ________________________________________________
@@ -1820,46 +1818,45 @@ struct HStrangeCorrelation {
18201818
if (v0Data.has_mcParticle()) {
18211819
auto v0mcParticle = v0Data.mcParticle_as<aod::McParticles>();
18221820
int mcParticlePdg = v0mcParticle.pdgCode();
1823-
if(mcParticlePdg == 3122 && !v0mcParticle.isPhysicalPrimary()){
1821+
if (mcParticlePdg == 3122 && !v0mcParticle.isPhysicalPrimary()){
18241822
auto v0mothers = v0mcParticle.mothers_as<aod::McParticles>();
18251823
if (!v0mothers.empty()) {
18261824
auto& v0mcParticleMother = v0mothers.front(); // First mother
1827-
if (v0mcParticleMother.pdgCode() == 3312) // Xi Minus Mother Matched
1828-
{
1829-
histos.fill(HIST("hLambdaXiMinusFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1830-
}
1831-
if (v0mcParticleMother.pdgCode() == 3322) // Xi Zero Mother Matched
1832-
{
1833-
histos.fill(HIST("hLambdaXiZeroFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1834-
}
1835-
if (v0mcParticleMother.pdgCode() == 3334) // Omega Mother Matched
1836-
{
1837-
histos.fill(HIST("hLambdaOmegaFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1825+
if (v0mcParticleMother.pdgCode() == 3312) // Xi Minus Mother Matched
1826+
{
1827+
histos.fill(HIST("hLambdaXiMinusFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1828+
}
1829+
if (v0mcParticleMother.pdgCode() == 3322) // Xi Zero Mother Matched
1830+
{
1831+
histos.fill(HIST("hLambdaXiZeroFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1832+
}
1833+
if (v0mcParticleMother.pdgCode() == 3334) // Omega Mother Matched
1834+
{
1835+
histos.fill(HIST("hLambdaOmegaFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
18381836
}
18391837
}
18401838
}
18411839
if(mcParticlePdg == -3122 && !v0mcParticle.isPhysicalPrimary()){
18421840
auto v0mothers = v0mcParticle.mothers_as<aod::McParticles>();
18431841
if (!v0mothers.empty()) {
18441842
auto& v0mcParticleMother = v0mothers.front(); // First mother
1845-
if (v0mcParticleMother.pdgCode() == -3312) // Xi Plus Mother Matched
1846-
{
1847-
histos.fill(HIST("hAntiLambdaXiPlusFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1848-
}
1849-
if (v0mcParticleMother.pdgCode() == -3322) // Anti Xi Zero Mother Matched
1850-
{
1851-
histos.fill(HIST("hAntiLambdaXiZeroFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1852-
}
1853-
if (v0mcParticleMother.pdgCode() == -3334) // Omega Mother Matched
1854-
{
1855-
histos.fill(HIST("hAntiLambdaOmegaFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1843+
if (v0mcParticleMother.pdgCode() == -3312) // Xi Plus Mother Matched
1844+
{
1845+
histos.fill(HIST("hAntiLambdaXiPlusFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1846+
}
1847+
if (v0mcParticleMother.pdgCode() == -3322) // Anti Xi Zero Mother Matched
1848+
{
1849+
histos.fill(HIST("hAntiLambdaXiZeroFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
1850+
}
1851+
if (v0mcParticleMother.pdgCode() == -3334) // Omega Mother Matched
1852+
{
1853+
histos.fill(HIST("hAntiLambdaOmegaFeeddownMatrix"), v0mcParticle.pt(), v0mcParticleMother.pt());
18561854
}
18571855
}
18581856
}
1859-
}
1857+
}
18601858
}
18611859
}
1862-
18631860
PROCESS_SWITCH(HStrangeCorrelation, processSelectEventWithTrigger, "Select events with trigger only", true);
18641861
PROCESS_SWITCH(HStrangeCorrelation, processSameEventHV0s, "Process same events, h-V0s", true);
18651862
PROCESS_SWITCH(HStrangeCorrelation, processSameEventHCascades, "Process same events, h-Cascades", true);

0 commit comments

Comments
 (0)