Skip to content

Commit 6284574

Browse files
authored
[PWGEM/Dilepton] update skimmerPrimaryElectronQC.cxx (#12608)
1 parent 598271a commit 6284574

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PWGEM/Dilepton/TableProducer/skimmerPrimaryElectronQC.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ struct skimmerPrimaryElectronQC {
9595

9696
struct : ConfigurableGroup {
9797
std::string prefix = "tighttrackcut";
98+
Configurable<int> min_ncluster_tpc_pid{"min_ncluster_tpc_pid", 60, "min ncluster tpc used for PID"};
9899
Configurable<int> min_ncluster_tpc{"min_ncluster_tpc", 0, "min ncluster tpc"};
99100
Configurable<int> mincrossedrows{"mincrossedrows", 100, "min. crossed rows"};
100101
Configurable<int> min_ncluster_its{"min_ncluster_its", 5, "min ncluster its"};
@@ -392,6 +393,10 @@ struct skimmerPrimaryElectronQC {
392393
return false;
393394
}
394395

396+
if (track.tpcNClsPID() < tighttrackcut.min_ncluster_tpc_pid) {
397+
return false;
398+
}
399+
395400
mDcaInfoCov.set(999, 999, 999, 999, 999);
396401
auto trackParCov = getTrackParCov(track);
397402
trackParCov.setPID(o2::track::PID::Electron);

0 commit comments

Comments
 (0)