26 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: number of central jets = "
27 << l1CenJets->size() << std::endl;
29 gct_.CJetSize= l1CenJets->size();
30 for (L1GctJetCandCollection::const_iterator cj = l1CenJets->begin();
31 cj != l1CenJets->end(); cj++) {
32 gct_.CJetEta.push_back(cj->regionId().ieta());
33 gct_.CJetPhi.push_back(cj->regionId().iphi());
34 gct_.CJetRnk.push_back(cj->rank());
35 gct_.CJetBx .push_back(cj->bx());
37 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: Central jet "
38 << cj->regionId().iphi() <<
", " << cj->regionId().ieta()
39 <<
", " << cj->rank() << std::endl;
45 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: number of forward jets = "
46 << l1ForJets->size() << std::endl;
48 gct_.FJetSize= l1ForJets->size();
49 for (L1GctJetCandCollection::const_iterator fj = l1ForJets->begin();
50 fj != l1ForJets->end(); fj++) {
51 gct_.FJetEta.push_back(fj->regionId().ieta());
52 gct_.FJetPhi.push_back(fj->regionId().iphi());
53 gct_.FJetRnk.push_back(fj->rank());
54 gct_.FJetBx .push_back(fj->bx());
56 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: Forward jet "
57 << fj->regionId().iphi() <<
", " << fj->regionId().ieta()
58 <<
", " << fj->rank() << std::endl;
64 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: number of tau jets = "
65 << l1TauJets->size() << std::endl;
67 gct_.TJetSize= l1TauJets->size();
68 for (L1GctJetCandCollection::const_iterator tj = l1TauJets->begin();
69 tj != l1TauJets->end(); tj++) {
71 gct_.TJetEta.push_back(tj->regionId().ieta());
72 gct_.TJetPhi.push_back(tj->regionId().iphi());
73 gct_.TJetRnk.push_back(tj->rank());
74 gct_.TJetBx .push_back(tj->bx());
77 << tj->regionId().iphi() <<
", " << tj->regionId().ieta()
78 <<
", " << tj->rank() << std::endl;
86 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: number of isoTau jets = "
87 << l1IsoTauJets->size() << std::endl;
89 gct_.IsoTJetSize= l1IsoTauJets->size();
90 for (L1GctJetCandCollection::const_iterator tj = l1IsoTauJets->begin();
91 tj != l1IsoTauJets->end(); tj++) {
93 gct_.IsoTJetEta.push_back(tj->regionId().ieta());
94 gct_.IsoTJetPhi.push_back(tj->regionId().iphi());
95 gct_.IsoTJetRnk.push_back(tj->rank());
96 gct_.IsoTJetBx .push_back(tj->bx());
98 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: IsoTau jet "
99 << tj->regionId().iphi() <<
", " << tj->regionId().ieta()
100 <<
", " << tj->rank() << std::endl;
115 for (L1GctEtMissCollection::const_iterator etm = l1EtMiss->begin();
116 etm != l1EtMiss->end();
119 gct_.EtMiss.push_back( etm->et() );
120 gct_.EtMissPhi.push_back( etm->phi() );
121 gct_.EtMissBX.push_back( etm->bx() );
125 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: Et Miss "
126 << etm->et() <<
", " << etm->phi()
127 <<
", " << etm->bx() << std::endl;
131 for (L1GctHtMissCollection::const_iterator htm = l1HtMiss->begin();
132 htm != l1HtMiss->end();
135 gct_.HtMiss.push_back( htm->et() );
136 gct_.HtMissPhi.push_back( htm->phi() );
137 gct_.HtMissBX.push_back( htm->bx() );
141 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: Ht Miss "
142 << htm->et() <<
", " << htm->phi()
143 <<
", " << htm->bx() << std::endl;
147 for (L1GctEtHadCollection::const_iterator ht = l1EtHad->begin();
148 ht != l1EtHad->end();
151 gct_.EtHad.push_back( ht->et() );
152 gct_.EtHadBX.push_back( ht->bx() );
156 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: Ht Total "
158 <<
", " << ht->bx() << std::endl;
162 for (L1GctEtTotalCollection::const_iterator ett = l1EtTotal->begin();
163 ett != l1EtTotal->end();
166 gct_.EtTot.push_back( ett->et() );
167 gct_.EtTotBX.push_back( ett->bx() );
171 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: Et Total "
173 <<
", " << ett->bx() << std::endl;
184 gct_.HFRingEtSumSize=l1HFSums->size();
186 for (L1GctHFRingEtSumsCollection::const_iterator hfs=l1HFSums->begin(); hfs!=l1HFSums->end(); hfs++){
187 gct_.HFRingEtSumEta.push_back(hfs->etSum(ies));
189 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: HF Sums "
190 << l1HFSums->size() <<
", " << hfs->etSum(ies) << std::endl;
196 gct_.HFBitCountsSize=l1HFCounts->size();
197 for (L1GctHFBitCountsCollection::const_iterator hfc=l1HFCounts->begin(); hfc!=l1HFCounts->end(); hfc++){
198 gct_.HFBitCountsEta.push_back(hfc->bitCount(ibc));
200 edm::LogInfo(
"L1Prompt") <<
"L1NtupleProducer: HF Counts "
201 << l1HFCounts->size() <<
", " << hfc->bitCount(ibc) << std::endl;
214 edm::LogInfo(
"L1Prompt") <<
"L1TGCT: number of iso em cands: "
215 << l1IsoEm->size() << std::endl;
218 gct_.IsoEmSize = l1IsoEm->size();
219 for (L1GctEmCandCollection::const_iterator ie=l1IsoEm->begin(); ie!=l1IsoEm->end(); ie++) {
221 gct_.IsoEmEta.push_back(ie->regionId().ieta());
222 gct_.IsoEmPhi.push_back(ie->regionId().iphi());
223 gct_.IsoEmRnk.push_back(ie->rank());
224 gct_.IsoEmBx.push_back(ie->bx());
229 edm::LogInfo(
"L1Prompt") <<
"L1TGCT: number of non-iso em cands: "
230 << l1NonIsoEm->size() << std::endl;
232 gct_.NonIsoEmSize = l1NonIsoEm->size();
234 for (L1GctEmCandCollection::const_iterator
ne=l1NonIsoEm->begin();
ne!=l1NonIsoEm->end();
ne++) {
235 gct_.NonIsoEmEta.push_back(
ne->regionId().ieta());
236 gct_.NonIsoEmPhi.push_back(
ne->regionId().iphi());
237 gct_.NonIsoEmRnk.push_back(
ne->rank());
238 gct_.NonIsoEmBx.push_back(
ne->bx());
void SetHFminbias(const edm::Handle< L1GctHFRingEtSumsCollection > l1HFSums, const edm::Handle< L1GctHFBitCountsCollection > l1HFCounts)
void SetEm(const edm::Handle< L1GctEmCandCollection > l1IsoEm, const edm::Handle< L1GctEmCandCollection > l1NonIsoEm)
void SetES(const edm::Handle< L1GctEtMissCollection > l1EtMiss, const edm::Handle< L1GctHtMissCollection > l1HtMiss, const edm::Handle< L1GctEtHadCollection > l1EtHad, const edm::Handle< L1GctEtTotalCollection > l1EtTotal)
void SetJet(const edm::Handle< L1GctJetCandCollection > l1CenJets, const edm::Handle< L1GctJetCandCollection > l1ForJets, const edm::Handle< L1GctJetCandCollection > l1TauJets, const edm::Handle< L1GctJetCandCollection > l1IsoTauJets)
volatile std::atomic< bool > shutdown_flag false