Skip to content

Commit 8b01763

Browse files
Ana Marin GarciaAna Marin Garcia
authored andcommitted
changed as suggested
1 parent 272ec9b commit 8b01763

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎PWGEM/PhotonMeson/Utils/NMHistograms.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "PWGEM/PhotonMeson/Utils/MCUtilities.h"
2020

2121
#include <CommonConstants/PhysicsConstants.h>
22+
#include <CommonConstants/MathConstants.h>
2223
#include <Framework/Concepts.h>
2324
#include <Framework/HistogramRegistry.h>
2425
#include <Framework/HistogramSpec.h>
@@ -32,10 +33,11 @@
3233

3334
namespace o2::aod::pwgem::photonmeson::utils::nmhistogram
3435
{
36+
using namespace o2::constants::math;
3537
inline void addNMHistograms(o2::framework::HistogramRegistry* fRegistry, bool isMC,
3638
bool sparseFullAxes = false,
3739
std::vector<double> const& occBins = {0, 500, 1000, 2000, 3000, 5000, 10000},
38-
std::vector<double> const& epBins = {-M_PI/2, -M_PI/4, 0, M_PI/4, M_PI/2},
40+
std::vector<double> const& epBins = {-PIHalf, -PIQuarter, 0, PIQuarter, PIHalf},
3941
std::vector<double> const& vtxBins = {-10, -8, -6, -4, -2, 0, 2, 4, 6, 8, 10},
4042
const char* pairname = "#gamma#gamma")
4143
{

0 commit comments

Comments
 (0)