14 for (
int ibx = em->getFirstBX(); ibx <= em->getLastBX(); ++ibx) {
17 l1upgrade_.egEt .push_back(it->pt());
18 l1upgrade_.egEta.push_back(it->eta());
19 l1upgrade_.egPhi.push_back(it->phi());
20 l1upgrade_.egIEt .push_back(it->hwPt());
21 l1upgrade_.egIEta.push_back(it->hwEta());
22 l1upgrade_.egIPhi.push_back(it->hwPhi());
23 l1upgrade_.egIso.push_back(it->hwIso());
24 l1upgrade_.egBx .push_back(ibx);
25 l1upgrade_.egTowerIPhi.push_back(it->towerIPhi());
26 l1upgrade_.egTowerIEta.push_back(it->towerIEta());
27 l1upgrade_.egRawEt.push_back(it->rawEt());
28 l1upgrade_.egIsoEt.push_back(it->isoEt());
29 l1upgrade_.egFootprintEt.push_back(it->footprintEt());
30 l1upgrade_.egNTT.push_back(it->nTT());
31 l1upgrade_.egShape.push_back(it->shape());
32 l1upgrade_.egTowerHoE.push_back(it->towerHoE());
42 for (
int ibx = tau->getFirstBX(); ibx <= tau->getLastBX(); ++ibx) {
45 l1upgrade_.tauEt .push_back(it->et());
46 l1upgrade_.tauEta.push_back(it->eta());
47 l1upgrade_.tauPhi.push_back(it->phi());
48 l1upgrade_.tauIEt .push_back(it->hwPt());
49 l1upgrade_.tauIEta.push_back(it->hwEta());
50 l1upgrade_.tauIPhi.push_back(it->hwPhi());
51 l1upgrade_.tauIso.push_back(it->hwIso());
52 l1upgrade_.tauBx .push_back(ibx);
53 l1upgrade_.tauTowerIPhi.push_back(it->towerIPhi());
54 l1upgrade_.tauTowerIEta.push_back(it->towerIEta());
55 l1upgrade_.tauRawEt.push_back(it->rawEt());
56 l1upgrade_.tauIsoEt.push_back(it->isoEt());
57 l1upgrade_.tauNTT.push_back(it->nTT());
58 l1upgrade_.tauHasEM.push_back(it->hasEM());
59 l1upgrade_.tauIsMerged.push_back(it->isMerged());
60 l1upgrade_.tauHwQual.push_back(it->hwQual());
70 for (
int ibx = jet->getFirstBX(); ibx <= jet->getLastBX(); ++ibx) {
73 l1upgrade_.jetEt .push_back(it->et());
74 l1upgrade_.jetEta.push_back(it->eta());
75 l1upgrade_.jetPhi.push_back(it->phi());
76 l1upgrade_.jetIEt .push_back(it->hwPt());
77 l1upgrade_.jetIEta.push_back(it->hwEta());
78 l1upgrade_.jetIPhi.push_back(it->hwPhi());
79 l1upgrade_.jetBx .push_back(ibx);
80 l1upgrade_.jetRawEt.push_back(it->rawEt());
81 l1upgrade_.jetSeedEt.push_back(it->seedEt());
82 l1upgrade_.jetTowerIEta.push_back(it->towerIEta());
83 l1upgrade_.jetTowerIPhi.push_back(it->towerIPhi());
84 l1upgrade_.jetPUEt.push_back(it->puEt());
85 l1upgrade_.jetPUDonutEt0.push_back(it->puDonutEt(0));
86 l1upgrade_.jetPUDonutEt1.push_back(it->puDonutEt(1));
87 l1upgrade_.jetPUDonutEt2.push_back(it->puDonutEt(2));
88 l1upgrade_.jetPUDonutEt3.push_back(it->puDonutEt(3));
98 for (
int ibx = muon->getFirstBX(); ibx <= muon->getLastBX(); ++ibx) {
101 l1upgrade_.muonEt .push_back(it->et());
102 l1upgrade_.muonEta.push_back(it->eta());
103 l1upgrade_.muonPhi.push_back(it->phi());
106 l1upgrade_.muonIEt .push_back(it->hwPt());
107 l1upgrade_.muonIEta.push_back(it->hwEta());
108 l1upgrade_.muonIPhi.push_back(it->hwPhi());
109 l1upgrade_.muonIDEta.push_back(it->hwDEtaExtra());
110 l1upgrade_.muonIDPhi.push_back(it->hwDPhiExtra());
111 l1upgrade_.muonChg.push_back(it->charge());
112 l1upgrade_.muonIso.push_back(it->hwIso());
113 l1upgrade_.muonQual.push_back(it->hwQual());
114 l1upgrade_.muonTfMuonIdx.push_back(it->tfMuonIndex());
115 l1upgrade_.muonBx .push_back(ibx);
124 for (
int ibx = sums->getFirstBX(); ibx <= sums->getLastBX(); ++ibx) {
126 int type =
static_cast<int>( it->getType() );
127 l1upgrade_.sumType. push_back( type );
128 l1upgrade_.sumEt. push_back( it->et() );
129 l1upgrade_.sumPhi.push_back( it->phi() );
130 l1upgrade_.sumIEt. push_back( it->hwPt() );
131 l1upgrade_.sumIPhi.push_back( it->hwPhi() );
132 l1upgrade_.sumBx. push_back( ibx );
void SetMuon(const edm::Handle< l1t::MuonBxCollection > muon, unsigned maxL1Upgrade)
void SetJet(const edm::Handle< l1t::JetBxCollection > jet, unsigned maxL1Upgrade)
void SetEm(const edm::Handle< l1t::EGammaBxCollection > em, unsigned maxL1Upgrade)
static double calcMuonPhiExtra(const l1t::Muon &mu)
void SetTau(const edm::Handle< l1t::TauBxCollection > tau, unsigned maxL1Upgrade)
static double calcMuonEtaExtra(const l1t::Muon &mu)
void SetSum(const edm::Handle< l1t::EtSumBxCollection > sums, unsigned maxL1Upgrade)
std::vector< EGamma >::const_iterator const_iterator