Skip to content

Commit df9999f

Browse files
committed
PWGEM/Dilepton: update skimmerPrimaryElectronQC.cxx
1 parent 322aa31 commit df9999f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

PWGEM/Dilepton/TableProducer/skimmerPrimaryElectronQC.cxx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,14 @@ struct skimmerPrimaryElectronQC {
7575
struct : ConfigurableGroup {
7676
std::string prefix = "trackcut";
7777
Configurable<int> min_ncluster_tpc{"min_ncluster_tpc", 0, "min ncluster tpc"};
78-
Configurable<int> mincrossedrows{"mincrossedrows", 40, "min. crossed rows"};
78+
Configurable<int> mincrossedrows{"mincrossedrows", 0, "min. crossed rows"};
7979
Configurable<int> min_ncluster_its{"min_ncluster_its", 2, "min ncluster its"};
8080
Configurable<int> min_ncluster_itsib{"min_ncluster_itsib", 0, "min ncluster itsib"};
81-
Configurable<float> min_tpc_cr_findable_ratio{"min_tpc_cr_findable_ratio", 0.8, "min. TPC Ncr/Nf ratio"};
81+
Configurable<float> min_tpc_cr_findable_ratio{"min_tpc_cr_findable_ratio", 0.0, "min. TPC Ncr/Nf ratio"};
8282
Configurable<float> max_frac_shared_clusters_tpc{"max_frac_shared_clusters_tpc", 999.f, "max fraction of shared clusters in TPC"};
83-
Configurable<float> maxchi2tpc{"maxchi2tpc", 5.0, "max. chi2/NclsTPC"};
84-
Configurable<float> maxchi2its{"maxchi2its", 36.0, "max. chi2/NclsITS"};
83+
Configurable<float> maxchi2tpc{"maxchi2tpc", 1e+10, "max. chi2/NclsTPC"};
84+
Configurable<float> minchi2tpc{"minchi2tpc", -1e+10, "min. chi2/NclsTPC"};
85+
Configurable<float> maxchi2its{"maxchi2its", 1e+10, "max. chi2/NclsITS"}; // actual maximum is 36 in the reconstruction.
8586
Configurable<float> minchi2its{"minchi2its", -1e+10, "min. chi2/NclsITS"};
8687
Configurable<float> minpt{"minpt", 0.05, "min pt for ITS-TPC track"};
8788
Configurable<float> maxeta{"maxeta", 0.9, "eta acceptance"};
@@ -94,9 +95,9 @@ struct skimmerPrimaryElectronQC {
9495

9596
struct : ConfigurableGroup {
9697
std::string prefix = "tighttrackcut";
97-
Configurable<int> min_ncluster_tpc_pid{"min_ncluster_tpc_pid", 60, "min ncluster tpc used for PID"};
98+
Configurable<int> min_ncluster_tpc_pid{"min_ncluster_tpc_pid", 0, "min ncluster tpc used for PID"};
9899
Configurable<int> min_ncluster_tpc{"min_ncluster_tpc", 0, "min ncluster tpc"};
99-
Configurable<int> mincrossedrows{"mincrossedrows", 100, "min. crossed rows"};
100+
Configurable<int> mincrossedrows{"mincrossedrows", 120, "min. crossed rows"};
100101
Configurable<int> min_ncluster_its{"min_ncluster_its", 5, "min ncluster its"};
101102
Configurable<int> min_ncluster_itsib{"min_ncluster_itsib", 3, "min ncluster itsib"};
102103
Configurable<float> min_tpc_cr_findable_ratio{"min_tpc_cr_findable_ratio", 0.8, "min. TPC Ncr/Nf ratio"};
@@ -309,7 +310,7 @@ struct skimmerPrimaryElectronQC {
309310
}
310311

311312
if (track.hasTPC()) {
312-
if (track.tpcChi2NCl() < 0.f || trackcut.maxchi2tpc < track.tpcChi2NCl()) {
313+
if (track.tpcChi2NCl() < trackcut.minchi2tpc || trackcut.maxchi2tpc < track.tpcChi2NCl()) {
313314
return false;
314315
}
315316

0 commit comments

Comments
 (0)