29 produces < reco::RecoEcalCandidateIsolationMap >();
30 produces < reco::RecoEcalCandidateIsolationMap >(
"sigmaIEtaIEta5x5");
42 desc.
add<
bool >((
"isIeta"),
true);
43 descriptions.
add((
"hltEgammaHLTClusterShapeProducer"), desc);
59 for(
unsigned int iRecoEcalCand = 0; iRecoEcalCand<recoecalcandHandle->size(); iRecoEcalCand++) {
63 std::vector<float> vCov ;
66 vCov = lazyTools.localCovariances( *(recoecalcandref->superCluster()->seed()) );
67 sigmaee =
sqrt(vCov[0]);
69 vCov = lazyTools.covariances( *(recoecalcandref->superCluster()->seed()) );
70 sigmaee =
sqrt(vCov[0]);
71 double EtaSC = recoecalcandref->eta();
72 if (EtaSC > 1.479) sigmaee = sigmaee - 0.02*(EtaSC - 2.3);
75 double sigmaee5x5 =
sqrt(lazyTools5x5.
localCovariances(*(recoecalcandref->superCluster()->seed()) )[0]);
76 clshMap.
insert(recoecalcandref, sigmaee);
77 clsh5x5Map.
insert(recoecalcandref,sigmaee5x5);
87 iEvent.
put(clush5x5Map,
"sigmaIEtaIEta5x5");
T getParameter(std::string const &) const
~EgammaHLTClusterShapeProducer()
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
EgammaHLTClusterShapeProducer(const edm::ParameterSet &)
edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEEToken_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void insert(const key_type &k, const data_type &v)
insert an association
edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEBToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void produce(edm::Event &, const edm::EventSetup &)