39 photon1MinPt = pset.
getParameter<
double>(
"photon1MinimumPt");
49 << nSelectedEvents <<
" Efficiency " 50 << ((double)nSelectedEvents) / ((double)
nEvents + 0.01) << std::endl;
59 bool keepEvent =
false;
67 event.getByToken(thePhotonToken, photonHandle);
72 reco::PhotonCollection::const_iterator
photons;
79 for (photons = phoCollection->begin(); photons != phoCollection->end(); ++
photons) {
80 float et_p = photons->et();
81 if (et_p > photon1MinPt)
87 if (nPhotons >= nPhotonMin)
T getParameter(std::string const &) const
~HiggsTo2GammaSkim() override
T const * product() const
std::vector< Photon > PhotonCollection
collectin of Photon objects
HiggsTo2GammaSkim(const edm::ParameterSet &)
bool filter(edm::Event &, const edm::EventSetup &) override
Get event properties to send to builder to fill seed collection.