54 return std::make_unique<alCaGammaJetSelector::Counters>();
117 desc.add<
double>(
"MinPtJet", 10.0);
118 desc.add<
double>(
"MinPtPhoton", 10.0);
119 descriptions.
add(
"alcaGammaJetSelector",
desc);
128 if (!phoHandle.isValid()) {
135 if (!pfjetHandle.isValid()) {
166 for (reco::PFJetCollection::const_iterator itr =
jets.begin(); itr !=
jets.end(); ++itr) {
174 for (reco::PhotonCollection::const_iterator itr =
photons.begin(); itr !=
photons.end(); ++itr) {
Log< level::Info, true > LogVerbatim
~AlCaGammaJetSelector() override=default
T getParameter(std::string const &) const
void endStream() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void globalEndJob(const alCaGammaJetSelector::Counters *counters)
std::atomic< unsigned int > nSelected_
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
AlCaGammaJetSelector(const edm::ParameterSet &, const alCaGammaJetSelector::Counters *count)
TupleMultiplicity< TrackerTraits > const HitToTuple< TrackerTraits > const cms::cuda::AtomicPairCounter GPUCACellT< TrackerTraits > const *__restrict__ uint32_t const *__restrict__ CellNeighborsVector< TrackerTraits > const CellTracksVector< TrackerTraits > const OuterHitOfCell< TrackerTraits > const int32_t uint32_t Counters * counters
edm::InputTag labelPhoton_
bool filter(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::PFJetCollection > tok_PFJet_
#define DEFINE_FWK_MODULE(type)
void endRun(edm::Run const &, edm::EventSetup const &) override
bool select(const reco::PhotonCollection &, const reco::PFJetCollection &)
std::vector< Photon > PhotonCollection
collectin of Photon objects
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void beginRun(edm::Run const &, edm::EventSetup const &) override
std::vector< PFJet > PFJetCollection
collection of PFJet objects
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Log< level::Warning, false > LogWarning
edm::EDGetTokenT< reco::PhotonCollection > tok_Photon_
static std::unique_ptr< alCaGammaJetSelector::Counters > initializeGlobalCache(edm::ParameterSet const &)
edm::InputTag labelPFJet_
std::atomic< unsigned int > nProcessed_