You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EventFiltering/PWGHF/HFFilter.cxx
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ struct HfFilter { // Main struct for HF triggers
76
76
Configurable<LabeledArray<float>> nSigmaPidCuts{"nSigmaPidCuts", {cutsNsigma[0], 4, 8, labelsRowsNsigma, labelsColumnsNsigma}, "Nsigma cuts for ITS/TPC/TOF PID (except for V0 and cascades)"};
77
77
// min and max pts for tracks and bachelors (except for V0 and cascades)
78
78
Configurable<LabeledArray<float>> ptCuts{"ptCuts", {cutsPt[0], 2, 10, labelsRowsCutsPt, labelsColumnsCutsPt}, "minimum and maximum pT for bachelor tracks (except for V0 and cascades)"};
79
-
79
+
Configurable<LabeledArray<float>> trackQaulityCuts{"trackQaulityCuts", {cutsTrackQuality[0], 2, 7, labelsColumnsPtThresholdsForFemto, labelsColumnsTrackQuality}, "Track quality cuts for proton and deuteron)"};
80
80
// parameters for high-pT triggers
81
81
Configurable<LabeledArray<float>> ptThresholds{"ptThresholds", {cutsHighPtThresholds[0], 1, 2, labelsEmpty, labelsColumnsHighPtThresholds}, "pT treshold for high pT charm hadron candidates for kHighPt triggers in GeV/c"};
82
82
@@ -215,6 +215,7 @@ struct HfFilter { // Main struct for HF triggers
// For deuterons: Determine whether to apply TOF based on pt threshold
957
980
if (trackSpecies == kDeuteronForFemto) {
981
+
982
+
if (track.tpcNClsFound() < mMinTpcCluster) {
983
+
returnfalse;
984
+
}
985
+
if (track.tpcNClsCrossedRows() < mMinTpcRow) {
986
+
returnfalse;
987
+
}
988
+
if (track.tpcCrossedRowsOverFindableCls() < mMinTpcCrossedOverFound) {
989
+
returnfalse;
990
+
}
991
+
if (track.tpcNClsShared() > mMaxTpcShared) {
992
+
returnfalse;
993
+
}
994
+
if (track.tpcFractionSharedCls() > mMaxTpcFracShared) {
995
+
returnfalse;
996
+
}
997
+
if (track.itsNCls() < mMinItsCluster) {
998
+
returnfalse;
999
+
}
1000
+
if (track.itsNClsInnerBarrel() < mMinItsIbCluster) {
1001
+
returnfalse;
1002
+
}
1003
+
958
1004
// Apply different PID strategy in different pt range
959
1005
// one side selection only
960
-
if (pt <= ptThresholdPidStrategy) {
1006
+
if (momentum <= ptThresholdPidStrategy) {
961
1007
if (std::fabs(NSigmaTPC) > nSigmaCuts[0] || NSigmaITS < -nSigmaCuts[3]) { // Use TPC and ITS below the threshold, NSigmaITS for deuteron with a lower limit
0 commit comments