77 tok_HBHE_ = consumes<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(
labelHBHE_);
78 tok_HF_ = consumes<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(
labelHF_);
79 tok_HO_ = consumes<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(
labelHO_);
86 produces<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>(
labelHBHE_.
encode());
87 produces<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>(
labelHF_.
encode());
88 produces<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>(
labelHO_.
encode());
140 if (!
hbhe.isValid()) {
168 auto miniPFjetCollection = std::make_unique<reco::PFJetCollection>();
169 for (reco::PFJetCollection::const_iterator pfjetItr = pfjets.begin(); pfjetItr != pfjets.end(); pfjetItr++) {
170 miniPFjetCollection->push_back(*pfjetItr);
173 auto miniPFCandCollection = std::make_unique<reco::PFCandidateCollection>();
174 for (reco::PFCandidateCollection::const_iterator pfcItr =
pfcand.begin(); pfcItr !=
pfcand.end(); pfcItr++) {
175 miniPFCandCollection->push_back(*pfcItr);
178 auto miniVtxCollection = std::make_unique<reco::VertexCollection>();
179 for (reco::VertexCollection::const_iterator vtxItr =
vtx.begin(); vtxItr !=
vtx.end(); vtxItr++) {
180 miniVtxCollection->push_back(*vtxItr);
183 auto miniHBHECollection =
184 std::make_unique<edm::SortedCollection<HBHERecHit, edm::StrictWeakOrdering<HBHERecHit>>>();
187 hbheItr != Hithbhe.
end();
189 miniHBHECollection->push_back(*hbheItr);
192 auto miniHOCollection = std::make_unique<edm::SortedCollection<HORecHit, edm::StrictWeakOrdering<HORecHit>>>();
194 hoItr != Hitho.
end();
196 miniHOCollection->push_back(*hoItr);
199 auto miniHFCollection = std::make_unique<edm::SortedCollection<HFRecHit, edm::StrictWeakOrdering<HFRecHit>>>();
201 hfItr != Hithf.
end();
203 miniHFCollection->push_back(*hfItr);