Skip to content

Commit dbbb414

Browse files
ginnocendavidrohr
authored andcommitted
Revert "Add flag to switch off TPC cluster selection"
This reverts commit 29705b6.
1 parent 54851ea commit dbbb414

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ struct HFJpsiToEECandidateSelector {
4949
Configurable<double> d_pidTPCMaxpT{"d_pidTPCMaxpT", 10., "Upper bound of track pT for TPC PID"};
5050

5151
Configurable<double> d_TPCNClsFindablePIDCut{"d_TPCNClsFindablePIDCut", 70., "Lower bound of TPC findable clusters for good PID"};
52-
Configurable<bool> b_requireTPC{"b_requireTPC", true, "Flag to require a positive Number of found clusters in TPC"};
5352
Configurable<double> d_nSigmaTPC{"d_nSigmaTPC", 3., "Nsigma cut on TPC only"};
5453

5554
/// Gets corresponding pT bin from cut file array
@@ -80,7 +79,7 @@ struct HFJpsiToEECandidateSelector {
8079
if (track.charge() == 0) {
8180
return false;
8281
}
83-
if (b_requireTPC.value && track.tpcNClsFound() == 0) {
82+
if (track.tpcNClsFound() == 0) {
8483
return false; //is it clusters findable or found - need to check
8584
}
8685
return true;

Analysis/Tasks/PWGHF/HFLcCandidateSelector.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ struct HFLcCandidateSelector {
5252
Configurable<double> d_pidTOFMaxpT{"d_pidTOFMaxpT", 4., "Upper bound of track pT for TOF PID"};
5353

5454
Configurable<double> d_TPCNClsFindablePIDCut{"d_TPCNClsFindablePIDCut", 70., "Lower bound of TPC findable clusters for good PID"};
55-
Configurable<bool> b_requireTPC{"b_requireTPC", true, "Flag to require a positive Number of found clusters in TPC"};
5655
Configurable<double> d_nSigmaTPC{"d_nSigmaTPC", 3., "Nsigma cut on TPC only"};
5756
Configurable<double> d_nSigmaTPCCombined{"d_nSigmaTPCCombined", 5., "Nsigma cut on TPC combined with TOF"};
5857
Configurable<double> d_nSigmaTOF{"d_nSigmaTOF", 3., "Nsigma cut on TOF only"};
@@ -86,7 +85,7 @@ struct HFLcCandidateSelector {
8685
if (track.charge() == 0) {
8786
return false;
8887
}
89-
if (b_requireTPC.value && track.tpcNClsFound() == 0) {
88+
if (track.tpcNClsFound() == 0) {
9089
return false; //is it clusters findable or found - need to check
9190
}
9291
return true;

0 commit comments

Comments
 (0)