Skip to content

Commit ce7ae49

Browse files
committed
Fix bug with etaInfo
1 parent dc1c73b commit ce7ae49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Validation/RecoJets/plugins/JetTester.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#include <cmath>
1212
#include <string>
13+
#include <string_view>
1314

1415
#include "DQMServices/Core/interface/DQMStore.h"
1516
#include "DataFormats/Common/interface/Handle.h"
@@ -82,7 +83,7 @@ class JetTester : public DQMEDAnalyzer {
8283
{20., 30., 40., 100., 200., 300., 600., 2000., 5000., 6500., 1e6}};
8384
double minJetPt;
8485

85-
static constexpr std::array<std::tuple<std::string, std::string, double, double>, 3> etaInfo = {{
86+
static constexpr std::array<std::tuple<std::string_view, std::string_view, double, double>, 3> etaInfo = {{
8687
std::make_tuple("B", "0<|#eta|<1.5", 0.0, 1.5), // barrel
8788
std::make_tuple("E", "1.5#leq|#eta|<3", 1.5, 3.0), // endcap
8889
std::make_tuple("F", "3#leq|#eta|<6", 3.0, 6.0), // forward

0 commit comments

Comments
 (0)