|
13 | 13 | /// \file uecharged.cxx |
14 | 14 | /// \brief Underlying event analysis task |
15 | 15 | /// \since November 2021 |
16 | | -/// \last update: March 2026 |
| 16 | +/// \last update: April 2026 |
17 | 17 |
|
18 | 18 | #include "PWGLF/Utils/inelGt.h" |
19 | 19 |
|
@@ -61,6 +61,7 @@ struct ueCharged { |
61 | 61 | Configurable<bool> sel8{"event_sel8", true, "Apply the sel8 event selection"}; |
62 | 62 | Configurable<bool> removeITSROFBorder{"event_removeITSROFBorder", false, "Remove ITS Read-Out Frame border and only apply kIsTriggerTVX & kNoTimeFrameBorder (recommended for MC)"}; |
63 | 63 | Configurable<int> cfgINELCut{"event_cfgINELCut", 0, "INEL event selection: 0 no sel, 1 INEL>0, 2 INEL>1"}; |
| 64 | + Configurable<float> CollPosZ{"event_CollPosZ", 10.f, "Cut on the z component of the vertex position"}; |
64 | 65 | Configurable<bool> analyzeEvandTracksel{"analyzeEvandTracksel", true, "Analyze the event and track selection"}; |
65 | 66 |
|
66 | 67 | // Track selection configurables |
@@ -418,7 +419,7 @@ struct ueCharged { |
418 | 419 | ue.fill(HIST("hCounter"), 4); |
419 | 420 |
|
420 | 421 | ue.fill(HIST("hStat"), collision.size()); |
421 | | - if ((std::abs(collision.posZ()) > 10.f)) { |
| 422 | + if ((std::abs(collision.posZ()) > CollPosZ)) { |
422 | 423 | return false; |
423 | 424 | } |
424 | 425 |
|
@@ -464,7 +465,7 @@ struct ueCharged { |
464 | 465 | ue.fill(HIST("hCounter"), 4); |
465 | 466 |
|
466 | 467 | ue.fill(HIST("hStat"), collision.size()); |
467 | | - if ((std::abs(collision.posZ()) > 10.f)) { |
| 468 | + if ((std::abs(collision.posZ()) > CollPosZ)) { |
468 | 469 | return false; |
469 | 470 | } |
470 | 471 |
|
@@ -665,7 +666,7 @@ struct ueCharged { |
665 | 666 | if (cfgINELCut == 2 && !o2::pwglf::isINELgt1mc(GenParticles, pdg)) { |
666 | 667 | return; |
667 | 668 | } |
668 | | - if (std::abs(mcCollision.posZ()) > 10.f) { |
| 669 | + if (std::abs(mcCollision.posZ()) > CollPosZ) { |
669 | 670 | return; |
670 | 671 | } |
671 | 672 | ue.fill(HIST("hStat"), mcCollision.size()); |
@@ -1010,7 +1011,7 @@ struct ueCharged { |
1010 | 1011 | if (cfgINELCut == 2 && !o2::pwglf::isINELgt1mc(GenParticles, pdg)) { |
1011 | 1012 | return; |
1012 | 1013 | } |
1013 | | - if (std::abs(mcCollision.posZ()) > 10.f) { |
| 1014 | + if (std::abs(mcCollision.posZ()) > CollPosZ) { |
1014 | 1015 | return; |
1015 | 1016 | } |
1016 | 1017 |
|
@@ -1147,7 +1148,7 @@ struct ueCharged { |
1147 | 1148 | ue.fill(HIST("hVtxFT0VsVtxCol_afterGoodZvtx"), foundBC.ft0().posZ(), collision.posZ()); |
1148 | 1149 | } |
1149 | 1150 |
|
1150 | | - if (std::abs(collision.posZ()) > 10.f) { |
| 1151 | + if (std::abs(collision.posZ()) > CollPosZ) { |
1151 | 1152 | return; |
1152 | 1153 | } |
1153 | 1154 |
|
|
0 commit comments