|
|
Go to the documentation of this file.
108 tok_HBHE_ = consumes<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(
labelHBHE_);
109 tok_HF_ = consumes<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(
labelHF_);
110 tok_HO_ = consumes<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(
labelHO_);
126 put_hf_ = produces<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(
labelHF_.
encode());
127 put_ho_ = produces<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(
labelHO_.
encode());
145 for (reco::PFJetCollection::const_iterator itr = jt.begin(); itr != jt.end(); ++itr) {
153 for (reco::PhotonCollection::const_iterator itr = ph.begin(); itr != ph.end(); ++itr) {
204 if (!
hbhe.isValid()) {
228 if (!
trig.isValid()) {
240 const double rho_val = *(rh.
product());
244 if (!
gsf.isValid()) {
271 std::vector<Bool_t> miniLoosePhoton{};
272 std::vector<Bool_t> miniTightPhoton{};
295 miniLoosePhoton.reserve(
photon.size());
296 miniTightPhoton.reserve(
photon.size());
297 for (
int iPho = 0; iPho <
int(
photon.size()); ++iPho) {
301 miniLoosePhoton.push_back(-1);
302 miniTightPhoton.push_back(-1);
304 miniLoosePhoton.push_back((*loosePhotonQual)[photonRef]);
305 miniTightPhoton.push_back((*tightPhotonQual)[photonRef]);
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
edm::EDPutTokenT< reco::PhotonCollection > put_photon_
T const * product() const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::InputTag labelLoosePhot_
static HepMC::IO_HEPEVT conv
edm::EDGetTokenT< reco::BeamSpot > tok_BS_
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::EDGetTokenT< reco::GsfElectronCollection > tok_GsfElec_
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
edm::InputTag labelPFCandidate_
edm::InputTag labelPFJet_
edm::EDPutTokenT< double > put_rho_
Log< level::Warning, false > LogWarning
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
edm::InputTag labelBeamSpot_
bool select(const reco::PhotonCollection &, const reco::PFJetCollection &) const
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
#define DEFINE_FWK_MODULE(type)
edm::InputTag labelGsfEle_
edm::EDGetTokenT< double > tok_Rho_
edm::InputTag labelPhoton_
edm::EDPutTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > put_ho_
edm::EDGetTokenT< reco::PFMETCollection > tok_PFMET_
edm::EDGetTokenT< reco::PhotonCollection > tok_Photon_
edm::InputTag labelPFMET_
AlCaGammaJetProducer(const edm::ParameterSet &)
edm::EDPutTokenT< reco::GsfElectronCollection > put_gsfEle_
edm::EDPutTokenT< reco::VertexCollection > put_vertex_
edm::EDPutTokenT< reco::PFCandidateCollection > put_pfCandidate_
edm::EDGetTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > tok_HBHE_
edm::EDGetTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > tok_HF_
edm::EDGetTokenT< edm::TriggerResults > tok_TrigRes_
edm::EDPutTokenT< std::vector< Bool_t > > put_loosePhot_
edm::EDGetTokenT< reco::PFJetCollection > tok_PFJet_
edm::EDPutTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > put_hbhe_
edm::EDPutTokenT< reco::ConversionCollection > put_conv_
edm::EDPutTokenT< reco::BeamSpot > put_beamSpot_
edm::EDPutTokenT< reco::PFMETCollection > put_pfMET_
edm::EDGetTokenT< reco::VertexCollection > tok_Vertex_
edm::EDPutTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > put_hf_
edm::InputTag labelVertex_
std::vector< PFJet > PFJetCollection
collection of PFJet objects
Log< level::Info, true > LogVerbatim
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
edm::InputTag labelTightPhot_
T getParameter(std::string const &) const
edm::EDPutTokenT< edm::TriggerResults > put_trigger_
edm::InputTag labelTrigger_
std::vector< Photon > PhotonCollection
collectin of Photon objects
edm::EDPutTokenT< reco::PFJetCollection > put_pfJet_
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_loosePhoton_
edm::EDGetTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > tok_HO_
edm::EDGetTokenT< reco::PFCandidateCollection > tok_PFCand_
edm::EDGetTokenT< edm::ValueMap< Bool_t > > tok_tightPhoton_
edm::EDPutTokenT< std::vector< Bool_t > > put_tightPhot_
edm::EDGetTokenT< reco::ConversionCollection > tok_Conv_