9 for (l1extra::L1EmParticleCollection::const_iterator it = isoEm->begin();
10 it != isoEm->end() && l1extra_.nIsoEm < maxL1Extra;
12 l1extra_.isoEmEt.push_back(it->et());
13 l1extra_.isoEmEta.push_back(it->eta());
14 l1extra_.isoEmPhi.push_back(it->phi());
15 l1extra_.isoEmBx.push_back(it->bx());
21 unsigned maxL1Extra) {
22 for (l1extra::L1EmParticleCollection::const_iterator it = nonIsoEm->begin();
23 it != nonIsoEm->end() && l1extra_.nNonIsoEm < maxL1Extra;
25 l1extra_.nonIsoEmEt.push_back(it->et());
26 l1extra_.nonIsoEmEta.push_back(it->eta());
27 l1extra_.nonIsoEmPhi.push_back(it->phi());
28 l1extra_.nonIsoEmBx.push_back(it->bx());
34 unsigned maxL1Extra) {
37 for (l1extra::L1JetParticleCollection::const_iterator it = cenJet->begin();
38 it != cenJet->end() && l1extra_.nCenJets < maxL1Extra;
42 l1extra_.cenJetEt.push_back(it->et());
43 l1extra_.cenJetEta.push_back(it->eta());
44 l1extra_.cenJetPhi.push_back(it->phi());
45 l1extra_.cenJetBx.push_back(it->bx());
51 unsigned maxL1Extra) {
53 for (l1extra::L1JetParticleCollection::const_iterator it = fwdJet->begin();
54 it != fwdJet->end() && l1extra_.nFwdJets < maxL1Extra;
57 l1extra_.fwdJetEt.push_back(it->et());
58 l1extra_.fwdJetEta.push_back(it->eta());
59 l1extra_.fwdJetPhi.push_back(it->phi());
60 l1extra_.fwdJetBx.push_back(it->bx());
66 unsigned maxL1Extra) {
68 for (l1extra::L1JetParticleCollection::const_iterator it = tauJet->begin();
69 it != tauJet->end() && l1extra_.nTauJets < maxL1Extra;
72 l1extra_.tauJetEt.push_back(it->et());
73 l1extra_.tauJetEta.push_back(it->eta());
74 l1extra_.tauJetPhi.push_back(it->phi());
75 l1extra_.tauJetBx.push_back(it->bx());
81 unsigned maxL1Extra) {
83 for (l1extra::L1JetParticleCollection::const_iterator it = isoTauJet->begin();
84 it != isoTauJet->end() && l1extra_.nIsoTauJets < maxL1Extra;
87 l1extra_.isoTauJetEt.push_back(it->et());
88 l1extra_.isoTauJetEta.push_back(it->eta());
89 l1extra_.isoTauJetPhi.push_back(it->phi());
90 l1extra_.isoTauJetBx.push_back(it->bx());
91 l1extra_.nIsoTauJets++;
96 unsigned maxL1Extra) {
97 for (l1extra::L1MuonParticleCollection::const_iterator it = muon->begin();
98 it != muon->end() && l1extra_.nMuons < maxL1Extra;
100 l1extra_.muonEt.push_back(it->et());
101 l1extra_.muonEta.push_back(it->eta());
102 l1extra_.muonPhi.push_back(it->phi());
103 l1extra_.muonChg.push_back(it->charge());
104 l1extra_.muonIso.push_back(it->isIsolated());
105 l1extra_.muonMip.push_back(it->isMip());
106 l1extra_.muonFwd.push_back(it->isForward());
107 l1extra_.muonRPC.push_back(it->isRPC());
108 l1extra_.muonBx.push_back(it->bx());
109 l1extra_.muonQuality.push_back(it->gmtMuonCand().quality());
120 for (l1extra::L1EtMissParticleCollection::const_iterator it = mets->begin(); it != mets->end(); it++) {
121 l1extra_.et.push_back(it->etTotal());
122 l1extra_.met.push_back(it->et());
123 l1extra_.metPhi.push_back(it->phi());
124 l1extra_.metBx.push_back(it->bx());
130 for (l1extra::L1EtMissParticleCollection::const_iterator it = mhts->begin(); it != mhts->end(); it++) {
131 l1extra_.ht.push_back(it->etTotal());
132 l1extra_.mht.push_back(it->et());
133 l1extra_.mhtPhi.push_back(it->phi());
134 l1extra_.mhtBx.push_back(it->bx());
140 l1extra_.hfEtSum.resize(4);
141 l1extra_.hfBitCnt.resize(4);
142 l1extra_.hfBx.resize(4);
144 for (
unsigned int i = 0;
i < 4; ++
i) {
145 if (hfRings->empty())
150 l1extra_.hfBx[
i] = hfRings->begin()->bx();