Skip to content

Commit

Permalink
EventFilter LF: add dEdx hist for all charged particles (AliceO2Group…
Browse files Browse the repository at this point in the history
  • Loading branch information
ivorobye authored Mar 4, 2024
1 parent fef2663 commit 75975c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions EventFiltering/PWGLF/nucleiFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ struct nucleiFilter {
AxisSpec ptAxis = {ptBinning, "#it{p}_{T} (GeV/#it{c})"};

qaHists.add("fCollZpos", "collision z position", HistType::kTH1F, {{600, -20., +20., "z position (cm)"}});
qaHists.add("fTPCsignalAll", "Specific energy loss (before filter)", HistType::kTH2F, {{1200, -6, 6, "#it{p} (GeV/#it{c})"}, {1400, 0, 1400, "d#it{E} / d#it{X} (a. u.)"}});
qaHists.add("fTPCsignal", "Specific energy loss", HistType::kTH2F, {{1200, -6, 6, "#it{p} (GeV/#it{c})"}, {1400, 0, 1400, "d#it{E} / d#it{X} (a. u.)"}});
qaHists.add("fDeuTOFNsigma", "Deuteron TOF Nsigma distribution", HistType::kTH2F, {{1200, -6, 6, "#it{p} (GeV/#it{c})"}, {2000, -100, 100, "TOF n#sigma"}});
qaHists.add("fH3LMassVsPt", "Hypertrion mass Vs pT", HistType::kTH2F, {{100, 0, 10, "#it{p}_{T} (GeV/#it{c})"}, {80, 2.96, 3.04, "Inv. Mass (GeV/c^{2})"}});
Expand Down Expand Up @@ -182,6 +183,9 @@ struct nucleiFilter {

float fixTPCrigidity{(fixTPCinnerParam && (track.pidForTracking() == track::PID::Helium3 || track.pidForTracking() == track::PID::Alpha)) ? 0.5f : 1.f};

// fill QA hist: dEdx for all charged tracks
qaHists.fill(HIST("fTPCsignalAll"), track.sign() * track.tpcInnerParam() * fixTPCrigidity, track.tpcSignal());

for (int iN{0}; iN < nNuclei; ++iN) {
/// Cheap checks first
if (track.tpcInnerParam() * fixTPCrigidity < cfgMinTPCmom->get(iN, iC)) {
Expand Down

0 comments on commit 75975c8

Please sign in to comment.