Skip to content

Commit

Permalink
Merge pull request #44486 from iarspider/cpp20-no-enum-arithmetics-an…
Browse files Browse the repository at this point in the history
…alysis

[CPP20][Analysis] Remove deprecated enum arithmetic
  • Loading branch information
cmsbuild authored Mar 20, 2024
2 parents 5a810f4 + f8f10fc commit 97d3cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DPGAnalysis/SiStripTools/plugins/TrackCount.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ TrackCount::TrackCount(const edm::ParameterSet& iConfig)
m_hnlayerphieta->GetXaxis()->SetTitle("#eta");
m_hnlayerphieta->GetYaxis()->SetTitle("#phi");

m_halgo =
tfserv->make<TH1D>("algo", "Algorithm number", reco::TrackBase::algoSize, -0.5, reco::TrackBase::algoSize - 0.5);
m_halgo = tfserv->make<TH1D>(
"algo", "Algorithm number", reco::TrackBase::algoSize, -0.5, static_cast<int>(reco::TrackBase::algoSize) - 0.5);
m_halgo->GetXaxis()->SetTitle("algorithm");
m_halgo->GetYaxis()->SetTitle("Tracks");
m_hphieta = tfserv->make<TH2D>("phivseta", "#phi vs #eta", netabin2d, etamin, etamax, 40, -M_PI, M_PI);
Expand Down

0 comments on commit 97d3cae

Please sign in to comment.