Skip to content

Commit

Permalink
Update QAHistTask.cxx (AliceO2Group#3648)
Browse files Browse the repository at this point in the history
  • Loading branch information
RafRaf11 authored Oct 20, 2023
1 parent b6be33b commit 8b6c8e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PWGLF/Tasks/QAHistTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ struct QAHistTask {
// fill QA histograms (proton)
if (TMath::Abs(nSigmaSpecies) < nsigmacut) {
if (track.sign() > 0) {
QA_species_pos.fill(HIST("histDcaVsPtData"), track.pt(), track.dcaXY());
QA_species_pos.fill(HIST("histDcaZVsPtData"), track.pt(), track.dcaZ());
QA_species_pos.fill(HIST("histTpcSignalData"), track.tpcInnerParam(), track.tpcSignal());
QA_species_pos.fill(HIST("histNClusterTPC"), track.pt(), track.tpcNClsCrossedRows());
QA_species_pos.fill(HIST("histNClusterITS"), track.pt(), track.itsNCls());
Expand Down Expand Up @@ -357,6 +359,8 @@ struct QAHistTask {
}
}
if (track.sign() < 0) {
QA_species_neg.fill(HIST("histDcaVsPtData"), track.pt(), track.dcaXY());
QA_species_neg.fill(HIST("histDcaZVsPtData"), track.pt(), track.dcaZ());
QA_species_neg.fill(HIST("histTpcSignalData"), track.tpcInnerParam(), track.tpcSignal());
QA_species_neg.fill(HIST("histNClusterTPC"), track.pt(), track.tpcNClsCrossedRows());
QA_species_neg.fill(HIST("histNClusterITS"), track.pt(), track.itsNCls());
Expand Down

0 comments on commit 8b6c8e2

Please sign in to comment.