Skip to content

Commit

Permalink
Fix clang warnings in Calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Mar 8, 2019
1 parent dc76f4a commit ed140d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ AlCaECALRecHitReducer::produce (edm::Event& iEvent,
using namespace edm;
//using namespace std;

EcalRecHitCollection::const_iterator recHit_itr;

edm::ESHandle<CaloTopology> theCaloTopology;
iSetup.get<CaloTopologyRecord>().get(theCaloTopology);
const CaloTopology *caloTopology = theCaloTopology.product();
Expand Down
3 changes: 1 addition & 2 deletions Calibration/HcalCalibAlgos/test/HcalCorrPFCalculation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,7 @@ void HcalCorrPFCalculation::analyze(edm::Event const& ev, edm::EventSetup const&
/* Finding the closest cell at Hcal */
Int_t iphitrue = -10;
Int_t ietatrue = 100;
HcalDetId tempId, tempId1, tempId2;

HcalDetId tempId;

if (abs(etaParticle)<1.392)
{
Expand Down

0 comments on commit ed140d8

Please sign in to comment.