|
13 | 13 | /// \brief Dipion-based half-momentum kaon proxies with kaon/phi and pion/K*0 bachelors, in data and MC. |
14 | 14 | /// \author Sushanta Tripathy |
15 | 15 |
|
| 16 | +#include "Common/CCDB/EventSelectionParams.h" |
16 | 17 | #include "Common/DataModel/Centrality.h" |
17 | 18 | #include "Common/DataModel/EventSelection.h" |
18 | 19 | #include "Common/DataModel/Multiplicity.h" |
@@ -320,7 +321,7 @@ struct F0phiproxy { |
320 | 321 | eventSelection = histos.add<TH1>(recoName("hEventSelection").c_str(), "Received; selected including activity validity", HistType::kTH1D, {{2, 0.5, 2.5}}); |
321 | 322 | eventSelection->GetXaxis()->SetBinLabel(1, "Received"); |
322 | 323 | eventSelection->GetXaxis()->SetBinLabel(2, "Selected"); |
323 | | - const AxisSpec stages{NEventStages, 0.5, NEventStages + 0.5, "Event selection stage"}; |
| 324 | + const AxisSpec stages{NEventStages, 0.5, static_cast<double>(NEventStages) + 0.5, "Event selection stage"}; |
324 | 325 | eventStages = histos.add<TH1>(recoName("hEventSelectionSteps").c_str(), "Reconstructed event cut flow", HistType::kTH1D, {stages}); |
325 | 326 | eventStagesByActivity = histos.add<TH2>(recoName("hEventSelectionVsMultiplicity").c_str(), "Valid-activity collisions;activity;selection stage", HistType::kTH2D, {compactMult, stages}); |
326 | 327 | const std::array<const char*, NEventStages> stageNames{"Received", "Vertex", "sel8 or disabled", "INEL>0 or disabled", "Quality flags or disabled", "Valid activity selected"}; |
|
0 commit comments