|
40 | 40 | #include <TH1.h> |
41 | 41 | #include <TH3.h> |
42 | 42 | #include <TRandom3.h> |
43 | | -#include <TString.h> |
44 | 43 |
|
45 | 44 | #include <array> |
46 | 45 | #include <chrono> |
@@ -94,6 +93,10 @@ struct FlowCorrelationsUpc { |
94 | 93 | O2_DEFINE_CONFIGURABLE(cfgIRMaxCut, double, 50, "maximum interaction rate for UPC events") |
95 | 94 | O2_DEFINE_CONFIGURABLE(cfgZdcTime, bool, false, "choose zdc time cut") |
96 | 95 | O2_DEFINE_CONFIGURABLE(cfgZdcTimeCut, float, 2.0, "zdc time cut") |
| 96 | + O2_DEFINE_CONFIGURABLE(cfgSbp, bool, true, "choose sbp") |
| 97 | + O2_DEFINE_CONFIGURABLE(cfgvtxITSTPC, bool, true, "choose vtxITSTPC") |
| 98 | + O2_DEFINE_CONFIGURABLE(cfgItsROFb, bool, true, "choose itsROFb") |
| 99 | + O2_DEFINE_CONFIGURABLE(cfgTfb, bool, true, "choose tfb") |
97 | 100 |
|
98 | 101 | ConfigurableAxis axisVertex{"axisVertex", {10, -10, 10}, "vertex axis for histograms"}; |
99 | 102 | ConfigurableAxis axisEta{"axisEta", {40, -1., 1.}, "eta axis for histograms"}; |
@@ -290,19 +293,19 @@ struct FlowCorrelationsUpc { |
290 | 293 | if (cfgIfVertex && std::abs(collision.posZ()) > cfgZVtxCut) { |
291 | 294 | return false; |
292 | 295 | } |
293 | | - if (!collision.vtxITSTPC()) { |
| 296 | + if (cfgvtxITSTPC && !collision.vtxITSTPC()) { |
294 | 297 | return false; |
295 | 298 | } |
296 | 299 |
|
297 | | - if (!collision.sbp()) { |
| 300 | + if (cfgSbp && !collision.sbp()) { |
298 | 301 | return false; |
299 | 302 | } |
300 | 303 |
|
301 | | - if (!collision.itsROFb()) { |
| 304 | + if (cfgItsROFb && !collision.itsROFb()) { |
302 | 305 | return false; |
303 | 306 | } |
304 | 307 |
|
305 | | - if (!collision.tfb()) { |
| 308 | + if (cfgTfb && !collision.tfb()) { |
306 | 309 | return false; |
307 | 310 | } |
308 | 311 |
|
|
0 commit comments