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());
141 if (!
hbhe.isValid()) {
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);