41 namespace AlCaGammaJet {
54 return std::make_unique<AlCaGammaJet::Counters>();
116 desc.
add<
double>(
"MinPtJet", 10.0);
117 desc.
add<
double>(
"MinPtPhoton", 10.0);
118 descriptions.
add(
"alcaGammaJetSelector", desc);
127 if (!phoHandle.isValid()) {
134 if (!pfjetHandle.isValid()) {
141 if (!(
select(photons, pfjets)))
165 for (reco::PFJetCollection::const_iterator itr = jets.begin(); itr != jets.end(); ++itr) {
173 for (reco::PhotonCollection::const_iterator itr = photons.begin(); itr != photons.end(); ++itr) {
Log< level::Info, true > LogVerbatim
~AlCaGammaJetSelector() override=default
void endStream() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void globalEndJob(const AlCaGammaJet::Counters *counters)
#define DEFINE_FWK_MODULE(type)
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
std::atomic< unsigned int > nSelected_
AlCaGammaJetSelector(const edm::ParameterSet &, const AlCaGammaJet::Counters *count)
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
edm::InputTag labelPhoton_
bool filter(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::PFJetCollection > tok_PFJet_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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
T getParameter(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static std::unique_ptr< AlCaGammaJet::Counters > initializeGlobalCache(edm::ParameterSet const &)
void beginRun(edm::Run const &, edm::EventSetup const &) override
std::vector< PFJet > PFJetCollection
collection of PFJet objects
std::atomic< unsigned int > nProcessed_
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Log< level::Warning, false > LogWarning
edm::EDGetTokenT< reco::PhotonCollection > tok_Photon_
edm::InputTag labelPFJet_