Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider the following formatting changes to #3026 #7

Closed
wants to merge 1 commit into from
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
10 changes: 5 additions & 5 deletions PWGLF/Tasks/k1analysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ struct k1analysis {
lResonanceK892 = lDecayDaughter1 + lDecayDaughter2;

if constexpr (!IsMix) {
histos.fill(HIST("k892invmass"), lResonanceK892.M()); // quick check
if (trk1.sign() > 0) { // Positive pion
if (trk2.sign() > 0) // Positive kaon
histos.fill(HIST("k892invmass"), lResonanceK892.M()); // quick check
if (trk1.sign() > 0) { // Positive pion
if (trk2.sign() > 0) // Positive kaon
histos.fill(HIST("hK892invmass_MM"), collision.multV0M(), lResonanceK892.Pt(), lResonanceK892.M());
else // Negative kaon
histos.fill(HIST("hK892invmass_AM"), collision.multV0M(), lResonanceK892.Pt(), lResonanceK892.M()); // Anti-K(892)0
Expand Down Expand Up @@ -466,11 +466,11 @@ struct k1analysis {
histos.fill(HIST("hReconK1pt"), lResonanceK1.Pt());
histos.fill(HIST("QAMCafter/InvMass_piK_pipi"), lResonanceK892.M(), tempPiPi.M());

if ((bTrack.sign() > 0) && (trk2.sign() > 0)) { // Matter
if ((bTrack.sign() > 0) && (trk2.sign() > 0)) { // Matter
histos.fill(HIST("hK1invmass_MM_MC"), collision.multV0M(), lResonanceK1.Pt(), lResonanceK1.M());
histos.fill(HIST("k1invmass_MC"), lResonanceK1.M()); // quick check
}
if ((bTrack.sign() < 0) && (trk2.sign() < 0)) { // Anti-matter
if ((bTrack.sign() < 0) && (trk2.sign() < 0)) { // Anti-matter
histos.fill(HIST("hK1invmass_AA_MC"), collision.multV0M(), lResonanceK1.Pt(), lResonanceK1.M());
histos.fill(HIST("k1invmass_MC"), lResonanceK1.M()); // quick check
}
Expand Down
Loading