Skip to content

Commit

Permalink
PWG-LF: add track filter on min. TPC momentum (#4205)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivorobye authored Dec 20, 2023
1 parent d45bc89 commit c984598
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PWGLF/TableProducer/nucleiSpectra.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ struct nucleiSpectra {
Configurable<float> cfgCMrapidity{"cfgCMrapidity", 0.f, "Rapidity of the center of mass (only for p-Pb)"};
Configurable<float> cfgCutVertex{"cfgCutVertex", 10.0f, "Accepted z-vertex range"};
Configurable<float> cfgCutEta{"cfgCutEta", 0.8f, "Eta range for tracks"};
Configurable<float> cfgCutTpcMom{"cfgCutTpcMom", 0.2f, "Minimum TPC momentum for tracks"};
Configurable<float> cfgCutRapidityMin{"cfgCutRapidityMin", -0.5, "Minimum rapidity for tracks"};
Configurable<float> cfgCutRapidityMax{"cfgCutRapidityMax", 0.5, "Maximum rapidity for tracks"};
Configurable<bool> cfgCutOnReconstructedRapidity{"cfgCutOnReconstructedRapidity", false, "Cut on reconstructed rapidity"};
Expand Down Expand Up @@ -209,7 +210,7 @@ struct nucleiSpectra {
float mBz = 0.f;

Filter collisionFilter = nabs(aod::collision::posZ) < cfgCutVertex;
Filter trackFilter = nabs(aod::track::eta) < cfgCutEta;
Filter trackFilter = nabs(aod::track::eta) < cfgCutEta && aod::track::tpcInnerParam > cfgCutTpcMom;

using TrackCandidates = soa::Filtered<soa::Join<aod::TracksIU, aod::TracksCovIU, aod::TracksExtra, aod::TOFSignal, aod::TOFEvTime>>;

Expand Down

0 comments on commit c984598

Please sign in to comment.