Skip to content
Closed
Changes from all commits
Commits
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
78 changes: 39 additions & 39 deletions PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Helicity.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -522,47 +522,47 @@ struct FemtoUniversePairTaskTrackV0Helicity {
if (part.has_fdMCParticle())
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMC"), part.mLambda());
else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMC"), part.mKaon());

if (cosineTheta <= helicityconfigs.confLimitHel0 && cosineTheta >= helicityconfigs.confLimitHel1) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel1"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mLambda());
}
} else if (cosineTheta < helicityconfigs.confLimitHel1 && cosineTheta >= helicityconfigs.confLimitHel2) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel2"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mLambda());
}
} else if (cosineTheta < helicityconfigs.confLimitHel2 && cosineTheta >= helicityconfigs.confLimitHel3) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel3"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mLambda());
}
} else if (cosineTheta < helicityconfigs.confLimitHel3 && cosineTheta >= helicityconfigs.confLimitHel4) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel4"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mLambda());
else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMC"), part.mKaon());

if (cosineTheta <= helicityconfigs.confLimitHel0 && cosineTheta >= helicityconfigs.confLimitHel1) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel1"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mLambda());
}
} else if (cosineTheta < helicityconfigs.confLimitHel1 && cosineTheta >= helicityconfigs.confLimitHel2) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel2"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mLambda());
}
} else if (cosineTheta < helicityconfigs.confLimitHel2 && cosineTheta >= helicityconfigs.confLimitHel3) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel3"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mLambda());
}
} else if (cosineTheta < helicityconfigs.confLimitHel3 && cosineTheta >= helicityconfigs.confLimitHel4) {
if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) {
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel4"), part.mLambda());
} else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) {
if (helicityconfigs.isRealK0Short)
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mKaon());
else
thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mLambda());
}
}
}
}
}
}

Expand Down
Loading