|
19 | 19 | /// |
20 | 20 |
|
21 | 21 | // C++/ROOT includes. |
| 22 | +#include <TComplex.h> |
| 23 | +#include <TH3F.h> |
| 24 | + |
22 | 25 | #include <chrono> |
23 | 26 | #include <string> |
| 27 | +#include <unordered_map> |
24 | 28 | #include <vector> |
25 | | -#include <TComplex.h> |
26 | | -#include <TH3F.h> |
27 | 29 |
|
28 | 30 | // o2Physics includes. |
29 | 31 | #include "Framework/AnalysisDataModel.h" |
@@ -78,6 +80,9 @@ struct qVectorsTable { |
78 | 80 |
|
79 | 81 | Configurable<float> cfgMinPtOnTPC{"cfgMinPtOnTPC", 0.15, "minimum transverse momentum selection for TPC tracks participating in Q-vector reconstruction"}; |
80 | 82 | Configurable<float> cfgMaxPtOnTPC{"cfgMaxPtOnTPC", 5., "maximum transverse momentum selection for TPC tracks participating in Q-vector reconstruction"}; |
| 83 | + Configurable<float> cfgEtaMax{"cfgEtaMax", 0.8, "Maximum pseudorapidiy for charged track"}; |
| 84 | + Configurable<float> cfgEtaMin{"cfgEtaMin", -0.8, "Minimum pseudorapidiy for charged track"}; |
| 85 | + |
81 | 86 | Configurable<int> cfgCorrLevel{"cfgCorrLevel", 4, "calibration step: 0 = no corr, 1 = gain corr, 2 = rectr, 3 = twist, 4 = full"}; |
82 | 87 | Configurable<std::vector<int>> cfgnMods{"cfgnMods", {2, 3}, "Modulation of interest"}; |
83 | 88 | Configurable<float> cfgMaxCentrality{"cfgMaxCentrality", 100.f, "max. centrality for Q vector calibration"}; |
@@ -437,7 +442,10 @@ struct qVectorsTable { |
437 | 442 | continue; |
438 | 443 | } |
439 | 444 | histosQA.fill(HIST("ChTracks"), trk.pt(), trk.eta(), trk.phi(), cent); |
440 | | - if (std::abs(trk.eta()) > 0.8) { |
| 445 | + if (trk.eta() > cfgEtaMax) { |
| 446 | + continue; |
| 447 | + } |
| 448 | + if (trk.eta() < cfgEtaMin) { |
441 | 449 | continue; |
442 | 450 | } |
443 | 451 | qVectTPCall[0] += trk.pt() * std::cos(trk.phi() * nmode); |
|
0 commit comments