28 produces < reco::RecoEcalCandidateIsolationMap >();
40 desc.
add<
bool >((
"isIeta"),
true);
41 descriptions.
add((
"hltEgammaHLTClusterShapeProducer"), desc);
54 for(
unsigned int iRecoEcalCand = 0; iRecoEcalCand<recoecalcandHandle->size(); iRecoEcalCand++) {
58 std::vector<float> vCov ;
61 vCov = lazyTools.
localCovariances( *(recoecalcandref->superCluster()->seed()) );
62 sigmaee =
sqrt(vCov[0]);
64 vCov = lazyTools.
covariances( *(recoecalcandref->superCluster()->seed()) );
65 sigmaee =
sqrt(vCov[0]);
66 double EtaSC = recoecalcandref->eta();
67 if (EtaSC > 1.479) sigmaee = sigmaee - 0.02*(EtaSC - 2.3);
70 clshMap.
insert(recoecalcandref, sigmaee);
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 &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::InputTag ecalRechitEBTag_
void insert(const key_type &k, const data_type &v)
insert an association
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::InputTag ecalRechitEETag_