Skip to content

Commit c436e47

Browse files
authored
PWGEM/Dilepton: update a filter task (#7413)
1 parent 89d654e commit c436e47

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

PWGEM/Dilepton/TableProducer/filterDielectronEvent.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ struct filterDielectronEvent {
7272
Configurable<int> min_ncluster_tpc{"min_ncluster_tpc", 10, "min ncluster tpc"};
7373
Configurable<int> mincrossedrows{"mincrossedrows", 70, "min. crossed rows"};
7474
Configurable<float> min_tpc_cr_findable_ratio{"min_tpc_cr_findable_ratio", 0.8, "min. TPC Ncr/Nf ratio"};
75-
Configurable<float> max_mean_its_cluster_size{"max_mean_its_cluster_size", 16.f, "max. <ITS cluster size> x cos(lambda)"}; // this is to suppress random combination. default 4 + 1 for skimming.
75+
Configurable<float> max_mean_its_cluster_size{"max_mean_its_cluster_size", 16.f, "max. <ITS cluster size> x cos(lambda)"};
76+
Configurable<float> max_p_for_its_cluster_size{"max_p_for_its_cluster_size", 0.2, "its cluster size cut is applied below this track momentum"};
7677
Configurable<int> minitsncls{"minitsncls", 4, "min. number of ITS clusters"};
7778
Configurable<float> maxchi2tpc{"maxchi2tpc", 5.0, "max. chi2/NclsTPC"};
7879
Configurable<float> maxchi2its{"maxchi2its", 6.0, "max. chi2/NclsITS"};
@@ -229,7 +230,7 @@ struct filterDielectronEvent {
229230
}
230231
total_cluster_size += cluster_size_per_layer;
231232
}
232-
if (static_cast<float>(total_cluster_size) / static_cast<float>(nl) * std::cos(std::atan(track.tgl())) > max_mean_its_cluster_size) {
233+
if (static_cast<float>(total_cluster_size) / static_cast<float>(nl) * std::cos(std::atan(track.tgl())) > max_mean_its_cluster_size && track.p() < max_p_for_its_cluster_size) {
233234
return false;
234235
}
235236

0 commit comments

Comments
 (0)