46 produces < reco::RecoEcalCandidateIsolationMap >();
63 desc.
add<
bool>(
"doRhoCorrection",
false);
64 desc.
add<
double>(
"rhoMax", 9.9999999E7);
65 desc.
add<
double>(
"rhoScale", 1.0);
66 desc.
add<
double>(
"effectiveAreaBarrel", 0.101);
67 desc.
add<
double>(
"effectiveAreaEndcap", 0.046);
68 desc.
add<
double>(
"drMax", 0.3);
69 desc.
add<
double>(
"drVetoBarrel", 0.0);
70 desc.
add<
double>(
"drVetoEndcap", 0.0);
71 desc.
add<
double>(
"etaStripBarrel", 0.0);
72 desc.
add<
double>(
"etaStripEndcap", 0.0);
73 desc.
add<
double>(
"energyBarrel", 0.0);
74 desc.
add<
double>(
"energyEndcap", 0.0);
75 descriptions.
add((
"hltEgammaHLTHcalPFClusterIsolationProducer"), desc);
111 for (
unsigned int iReco = 0; iReco < recoecalcandHandle->size(); iReco++) {
114 if (fabs(candRef->eta()) < 1.479) {
126 for(
unsigned i=0;
i<forIsolationHcal->size();
i++) {
129 if (fabs(candRef->eta()) < 1.479) {
137 float dEta = fabs(candRef->eta() - pfclu.
eta());
138 if(dEta < etaStrip)
continue;
140 float dR =
deltaR(candRef->eta(), candRef->phi(), pfclu.
eta(), pfclu.
phi());
141 if(dR >
drMax_ || dR < dRVeto)
continue;
150 for(
unsigned i=0;
i<forIsolationHfem->size();
i++) {
153 if (fabs(candRef->eta()) < 1.479) {
161 float dEta = fabs(candRef->eta() - pfclu.
eta());
162 if(dEta < etaStrip)
continue;
164 float dR =
deltaR(candRef->eta(), candRef->phi(), pfclu.
eta(), pfclu.
phi());
165 if(dR >
drMax_ || dR < dRVeto)
continue;
170 for(
unsigned i=0;
i<forIsolationHfhad->size();
i++) {
173 if (fabs(candRef->eta()) < 1.479) {
181 float dEta = fabs(candRef->eta() - pfclu.
eta());
182 if(dEta < etaStrip)
continue;
184 float dR =
deltaR(candRef->eta(), candRef->phi(), pfclu.
eta(), pfclu.
phi());
185 if(dR >
drMax_ || dR < dRVeto)
continue;
192 if (fabs(candRef->eta()) < 1.479)
198 recoEcalCandMap.
insert(candRef, sum);
202 iEvent.
put(mapForEvent);
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
float effectiveAreaBarrel_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double pt() const
transverse momentum, massless approximation
edm::EDGetTokenT< double > rhoProducer_
double eta() const
pseudorapidity of cluster centroid
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
EgammaHLTHcalPFClusterIsolationProducer(const edm::ParameterSet &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterProducerHCAL_
double energy() const
cluster energy
double deltaR(double eta1, double eta2, double phi1, double phi2)
ParameterDescriptionNode * ifValue(ParameterDescription< T > const &switchParameter, std::auto_ptr< ParameterDescriptionCases< T > > cases)
void insert(const key_type &k, const data_type &v)
insert an association
void add(std::string const &label, ParameterSetDescription const &psetDescription)
T const * product() const
~EgammaHLTHcalPFClusterIsolationProducer()
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
double phi() const
azimuthal angle of cluster centroid
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterProducerHFEM_
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterProducerHFHAD_
float effectiveAreaEndcap_