157 reco::PhotonCollection::const_iterator pho;
158 for (pho = (*photons).begin(); pho!= (*photons).end(); pho++){
159 if (!pho->isEB() && !
_selectEE)
continue;
161 double ecalisocut = 0;
162 double hcalisocut = 0;
163 double hadoverem = 0;
184 if (pho->ecalRecHitSumEtConeDR04() < ecalisocut
185 && pho->hcalTowerSumEtConeDR04() < hcalisocut
186 && pho->hadronicOverEm() < hadoverem
187 && pho->pt() > minphoet
188 && pho->trkSumPtHollowConeDR04()<trackiso
189 && pho->sigmaIetaIeta() <etawidth
193 if (PreselPhotons > 0 )
return true;
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~MonoPhotonSkimmer() override
MonoPhotonSkimmer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::PhotonCollection > _phoToken
T const * product() const
std::vector< Photon > PhotonCollection
collectin of Photon objects
bool filter(edm::Event &, const edm::EventSetup &) override