|
18 | 18 | #ifndef PWGHF_UTILS_UTILSEVSELHF_H_ |
19 | 19 | #define PWGHF_UTILS_UTILSEVSELHF_H_ |
20 | 20 |
|
21 | | -#include <fairlogger/Logger.h> |
| 21 | +#include "PWGHF/Core/CentralityEstimation.h" |
| 22 | +#include "PWGUD/Core/SGSelector.h" |
22 | 23 |
|
23 | | -#include <Rtypes.h> |
24 | | -#include <TH1.h> |
25 | | -#include <TH2.h> |
| 24 | +#include "Common/CCDB/EventSelectionParams.h" |
| 25 | +#include "Common/CCDB/RCTSelectionFlags.h" |
| 26 | +#include "EventFiltering/Zorro.h" |
| 27 | +#include "EventFiltering/ZorroSummary.h" |
26 | 28 |
|
27 | 29 | #include <Framework/AnalysisHelpers.h> |
28 | 30 | #include <Framework/Configurable.h> |
29 | 31 | #include <Framework/DeviceSpec.h> |
30 | 32 | #include <Framework/HistogramRegistry.h> |
31 | 33 | #include <Framework/HistogramSpec.h> |
32 | 34 |
|
33 | | -#include <cstdint> |
| 35 | +#include <TH1.h> |
| 36 | +#include <TH2.h> |
| 37 | + |
| 38 | +#include <fairlogger/Logger.h> |
| 39 | + |
| 40 | +#include <Rtypes.h> |
| 41 | + |
34 | 42 | #include <cstddef> |
| 43 | +#include <cstdint> |
35 | 44 | #include <memory> // std::shared_ptr |
36 | 45 | #include <string> // std::string |
37 | 46 |
|
38 | | -#include "Common/CCDB/EventSelectionParams.h" |
39 | | -#include "Common/CCDB/RCTSelectionFlags.h" |
40 | | -#include "EventFiltering/Zorro.h" |
41 | | -#include "EventFiltering/ZorroSummary.h" |
42 | | - |
43 | | -#include "PWGHF/Core/CentralityEstimation.h" |
44 | | -#include "PWGUD/Core/SGSelector.h" |
45 | | - |
46 | 47 | namespace o2::hf_occupancy |
47 | 48 | { |
48 | 49 | // centrality selection estimators |
@@ -114,7 +115,7 @@ enum EventRejection { |
114 | 115 | }; |
115 | 116 |
|
116 | 117 | o2::framework::AxisSpec axisEvents = {EventRejection::NEventRejection, -0.5f, +EventRejection::NEventRejection - 0.5f, ""}; |
117 | | -o2::framework::AxisSpec axisUpcEvents = { o2::aod::sgselector::DoubleGap + 1, -0.5f, +o2::aod::sgselector::DoubleGap + 0.5f, ""}; |
| 118 | +o2::framework::AxisSpec axisUpcEvents = {o2::aod::sgselector::DoubleGap + 1, -0.5f, +o2::aod::sgselector::DoubleGap + 0.5f, ""}; |
118 | 119 |
|
119 | 120 | /// \brief Function to put labels on monitoring histogram |
120 | 121 | /// \param hRejection monitoring histogram |
@@ -228,7 +229,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { |
228 | 229 | hPosYAfterEvSel = registry.add<TH1>(NameHistPosYAfterEvSel, "selected events;#it{y}_{prim. vtx.} (cm);entries", {o2::framework::HistType::kTH1D, {{200, -0.5, 0.5}}}); |
229 | 230 | hNumPvContributorsAfterSel = registry.add<TH1>(NameHistNumPvContributorsAfterSel, "selected events;#it{y}_{prim. vtx.} (cm);entries", {o2::framework::HistType::kTH1D, {{500, -0.5, 499.5}}}); |
230 | 231 | setEventRejectionLabels(hCollisions, softwareTrigger); |
231 | | - hUpCollisions = registry.add<TH1>(NameHistUpCollisions, "HF upc counter;;# of upc events", {o2::framework::HistType::kTH1D, {axisUpcEvents}}); |
| 232 | + hUpCollisions = registry.add<TH1>(NameHistUpCollisions, "HF upc counter;;# of upc events", {o2::framework::HistType::kTH1D, {axisUpcEvents}}); |
232 | 233 | const o2::framework::AxisSpec th2AxisCent{th2ConfigAxisCent, "Centrality"}; |
233 | 234 | const o2::framework::AxisSpec th2AxisOccupancy{th2ConfigAxisOccupancy, "Occupancy"}; |
234 | 235 | hCollisionsCentOcc = registry.add<TH2>(NameHistCollisionsCentOcc, "selected events;Centrality; Occupancy", {o2::framework::HistType::kTH2D, {th2AxisCent, th2AxisOccupancy}}); |
@@ -378,7 +379,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { |
378 | 379 | if (upcEventType > o2::aod::sgselector::DoubleGap) { |
379 | 380 | SETBIT(rejectionMaskWithUpc, EventRejection::UpcEventCut); |
380 | 381 | } else { |
381 | | - hUpCollisions->Fill(upcEventType); |
| 382 | + hUpCollisions->Fill(upcEventType); |
382 | 383 | } |
383 | 384 | } |
384 | 385 |
|
|
0 commit comments