Skip to content

Commit

Permalink
Merge pull request cms-sw#32470 from Sam-Harper/EgHLTPhaseIIFixes_110…
Browse files Browse the repository at this point in the history
…0pre9

EgHLT Phase-II showershape fix : 11_2_X
  • Loading branch information
cmsbuild authored Dec 16, 2020
2 parents 51383fd + 58cf008 commit 7dcace5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
//
//

// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/global/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
Expand Down Expand Up @@ -83,6 +82,11 @@ void EgammaHLTClusterShapeProducer::produce(edm::StreamID sid,

for (unsigned int iRecoEcalCand = 0; iRecoEcalCand < recoecalcandHandle->size(); iRecoEcalCand++) {
reco::RecoEcalCandidateRef recoecalcandref(recoecalcandHandle, iRecoEcalCand);
if (recoecalcandref->superCluster()->seed()->seed().det() != DetId::Ecal) { //HGCAL, skip for now
clshMap.insert(recoecalcandref, 0);
clsh5x5Map.insert(recoecalcandref, 0);
continue;
}

std::vector<float> vCov;
double sigmaee;
Expand Down

0 comments on commit 7dcace5

Please sign in to comment.