Skip to content

Commit

Permalink
Merge pull request #22999 from mlesch/master
Browse files Browse the repository at this point in the history
TwoBody: Add selection on pion min pT
  • Loading branch information
alibuild authored Nov 28, 2023
2 parents 989f063 + bf7c4db commit cccc34c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion PWGCF/FEMTOSCOPY/macros/AddTaskNanoFemtoProtonPion.C
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ AliAnalysisTaskSE* AddTaskNanoFemtoProtonPion(
bool DoKine = false, //18
bool DoReco = false, //19
bool SwitchOffCPR = false, //20
const char *cutVariation = "0" //21
float PionMinPt = 0.14, //21
const char *cutVariation = "0" //22
) {

TString suffix = TString::Format("%s", cutVariation);
Expand Down Expand Up @@ -74,6 +75,7 @@ AliAnalysisTaskSE* AddTaskNanoFemtoProtonPion(
TrackCutsPion = AliFemtoDreamTrackCuts::PrimPionCuts(isMC, true, false, false);
TrackCutsPion->SetFilterBit(PionFilterbit);
TrackCutsPion->SetCutCharge(1);
TrackCutsPion->SetPtRange(PionMinPt, 4.0);

if(isMC && PionFilterbit == 128){ //for MC template fits
TrackCutsPion->CheckParticleMothers(true);
Expand All @@ -84,6 +86,7 @@ AliAnalysisTaskSE* AddTaskNanoFemtoProtonPion(
TrackCutsAntiPion = AliFemtoDreamTrackCuts::PrimPionCuts(isMC, true, false, false);
TrackCutsAntiPion->SetFilterBit(PionFilterbit);
TrackCutsAntiPion->SetCutCharge(-1);
TrackCutsAntiPion->SetPtRange(PionMinPt, 4.0);

if(isMC && PionFilterbit == 128){ //for MC template fits
TrackCutsAntiPion->CheckParticleMothers(true);
Expand Down

0 comments on commit cccc34c

Please sign in to comment.