Skip to content

Commit a2fea03

Browse files
zchochulZuzanna Chochulska
andauthored
[PWGCF] FemtoUniverse: Proton PID change for track-Phi analysis (AliceO2Group#9611)
Co-authored-by: Zuzanna Chochulska <[email protected]>
1 parent fa5850e commit a2fea03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackPhi.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ struct FemtoUniversePairTaskTrackPhi {
114114
Configurable<int> confTrackSign{"confTrackSign", 1, "Track sign"};
115115
Configurable<bool> confTrackIsIdentified{"confTrackIsIdentified", true, "Enable PID for the track"};
116116
Configurable<bool> confTrackIsRejected{"confTrackIsRejected", true, "Enable PID rejection for the track other species than the identified one."};
117+
Configurable<float> confTrackPtPIDLimit{"confTrackPtPIDLimit", 0.5, "Momentum threshold for change of the PID method (from using TPC to TPC and TOF)."};
117118
Configurable<float> confTrackPtLowLimit{"confTrackPtLowLimit", 0.5, "Lower limit of the hadron pT."};
118119
Configurable<float> confTrackPtHighLimit{"confTrackPtHighLimit", 2.5, "Higher limit of the hadron pT."};
119120
} ConfTrack;
@@ -220,13 +221,13 @@ struct FemtoUniversePairTaskTrackPhi {
220221
// PID for protons
221222
bool isProtonNSigma(float mom, float nsigmaTPCPr, float nsigmaTOFPr) // previous version from: https://github.com/alisw/AliPhysics/blob/master/PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoMJTrackCut.cxx
222223
{
223-
if (mom < 0.5) {
224+
if (mom < ConfTrack.confTrackPtPIDLimit.value) {
224225
if (std::abs(nsigmaTPCPr) < ConfBothTracks.confPIDProtonNsigmaTPC.value) {
225226
return true;
226227
} else {
227228
return false;
228229
}
229-
} else if (mom > 0.4) {
230+
} else if (mom > ConfTrack.confTrackPtPIDLimit.value) {
230231
if (std::hypot(nsigmaTOFPr, nsigmaTPCPr) < ConfBothTracks.confPIDProtonNsigmaCombined.value) {
231232
return true;
232233
} else {

0 commit comments

Comments
 (0)