158 reco::PhotonCollection::const_iterator pho;
159 for (pho = (*photons).begin(); pho!= (*photons).end(); pho++){
160 if (!pho->isEB() && !
_selectEE)
continue;
162 double ecalisocut = 0;
163 double hcalisocut = 0;
164 double hadoverem = 0;
185 if (pho->ecalRecHitSumEtConeDR04() < ecalisocut
186 && pho->hcalTowerSumEtConeDR04() < hcalisocut
187 && pho->hadronicOverEm() < hadoverem
188 && pho->pt() > minphoet
189 && pho->trkSumPtHollowConeDR04()<trackiso
190 && pho->sigmaIetaIeta() <etawidth
194 if (PreselPhotons > 0 )
return true;
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
virtual bool filter(edm::Event &, const edm::EventSetup &)
MonoPhotonSkimmer(const edm::ParameterSet &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< Photon > PhotonCollection
collectin of Photon objects