Skip to content

Commit 9e8ebfe

Browse files
RafRaf11alibuild
andauthored
Update QAHistTask.cxx (#5636)
* Update QAHistTask.cxx Added historgams for pion momentum corralation. * Please consider the following formatting changes --------- Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent e245172 commit 9e8ebfe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PWGLF/Tasks/Nuspex/QAHistTask.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,11 @@ struct QAHistTask {
618618
MC_recon_reg.fill(HIST("histTPCpDist"), track.tpcInnerParam(), pdgbin);
619619
MC_recon_reg.fill(HIST("histpTCorralation_2"), track.p(), track.tpcInnerParam(), pdgbin);
620620

621+
if (particle.pdgCode() == 211)
622+
MC_recon_reg.fill(HIST("histpTCorralation_pion"), track.sign() * track.p(), track.tpcInnerParam() - track.p());
623+
if (particle.pdgCode() == -211)
624+
MC_recon_reg.fill(HIST("histpTCorralation_apion"), track.sign() * track.p(), track.tpcInnerParam() - track.p());
625+
621626
if (track.hasTOF()) {
622627
Float_t TOFmass2 = ((track.mass()) * (track.mass()));
623628

0 commit comments

Comments
 (0)