16 for (reco::CaloJetCollection::const_iterator it = caloJets->begin(); it != caloJets->end() && recoJet_.nJets < maxJet;
18 recoJet_.et.push_back(it->et());
21 recoJet_.eta.push_back(it->eta());
22 recoJet_.phi.push_back(it->phi());
23 recoJet_.e.push_back(it->energy());
24 recoJet_.eEMF.push_back(it->emEnergyFraction());
25 recoJet_.eEmEB.push_back(it->emEnergyInEB());
26 recoJet_.eEmEE.push_back(it->emEnergyInEE());
27 recoJet_.eEmHF.push_back(it->emEnergyInHF());
28 recoJet_.eHadHB.push_back(it->hadEnergyInHB());
29 recoJet_.eHadHE.push_back(it->hadEnergyInHE());
30 recoJet_.eHadHO.push_back(it->hadEnergyInHO());
31 recoJet_.eHadHF.push_back(it->hadEnergyInHF());
32 recoJet_.eMaxEcalTow.push_back(it->maxEInEmTowers());
33 recoJet_.eMaxHcalTow.push_back(it->maxEInHadTowers());
34 recoJet_.towerArea.push_back(it->towersArea());
void SetCaloJet(const edm::Event &event, const edm::EventSetup &setup, const edm::Handle< reco::CaloJetCollection > caloJets, unsigned maxJet)