78 tok_HBHE_ = consumes<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(
labelHBHE_);
79 tok_HF_ = consumes<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(
labelHF_);
80 tok_HO_ = consumes<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(
labelHO_);
87 produces<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(labelHBHE_.
encode());
88 produces<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(labelHF_.
encode());
89 produces<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(labelHO_.
encode());
91 produces<reco::PFCandidateCollection>(labelPFCandidate_.
encode());
92 produces<reco::VertexCollection>(labelVertex_.
encode());
169 auto miniPFjetCollection = std::make_unique<reco::PFJetCollection>();
170 for (reco::PFJetCollection::const_iterator pfjetItr = pfjets.begin(); pfjetItr != pfjets.end(); pfjetItr++) {
171 miniPFjetCollection->push_back(*pfjetItr);
174 auto miniPFCandCollection = std::make_unique<reco::PFCandidateCollection>();
175 for (reco::PFCandidateCollection::const_iterator pfcItr = pfcand.begin(); pfcItr != pfcand.end(); pfcItr++) {
176 miniPFCandCollection->push_back(*pfcItr);
179 auto miniVtxCollection = std::make_unique<reco::VertexCollection>();
180 for (reco::VertexCollection::const_iterator vtxItr = vtx.begin(); vtxItr != vtx.end(); vtxItr++) {
181 miniVtxCollection->push_back(*vtxItr);
184 auto miniHBHECollection =
185 std::make_unique<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>();
188 hbheItr != Hithbhe.
end();
190 miniHBHECollection->push_back(*hbheItr);
193 auto miniHOCollection = std::make_unique<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>();
195 hoItr != Hitho.
end();
197 miniHOCollection->push_back(*hoItr);
200 auto miniHFCollection = std::make_unique<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>();
202 hfItr != Hithf.
end();
204 miniHFCollection->push_back(*hfItr);
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::SortedCollection< HBHERecHit, edm::StrictWeakOrdering< HBHERecHit > > > tok_HBHE_
bool select(reco::PFJetCollection)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::InputTag labelPFCandidate_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< edm::SortedCollection< HORecHit, edm::StrictWeakOrdering< HORecHit > > > tok_HO_
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::EDGetTokenT< reco::PFJetCollection > tok_PFJet_
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
edm::EDGetTokenT< edm::SortedCollection< HFRecHit, edm::StrictWeakOrdering< HFRecHit > > > tok_HF_
~AlCaDiJetsProducer() override
#define DEFINE_FWK_MODULE(type)
edm::InputTag labelPFJet_
edm::EDGetTokenT< reco::VertexCollection > tok_Vertex_
edm::EDGetTokenT< reco::PFCandidateCollection > tok_PFCand_
const_iterator end() const
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
T const * product() const
std::vector< PFJet > PFJetCollection
collection of PFJet objects
void produce(edm::Event &, const edm::EventSetup &) override
AlCaDiJetsProducer(const edm::ParameterSet &)
edm::InputTag labelVertex_
const_iterator begin() const