92 : isoEmSource_( iConfig.getParameter< edm::InputTag >(
93 "isolatedEmSource" ) ),
94 nonIsoEmSource_( iConfig.getParameter< edm::InputTag >(
95 "nonIsolatedEmSource" ) ),
96 cenJetSource_( iConfig.getParameter< edm::InputTag >(
97 "centralJetSource" ) ),
98 forJetSource_( iConfig.getParameter< edm::InputTag >(
99 "forwardJetSource" ) ),
100 tauJetSource_( iConfig.getParameter< edm::InputTag >(
102 muonSource_( iConfig.getParameter< edm::InputTag >(
104 etMissSource_( iConfig.getParameter< edm::InputTag >(
106 htMissSource_( iConfig.getParameter< edm::InputTag >(
108 hfRingsSource_( iConfig.getParameter< edm::InputTag >(
110 gtReadoutSource_( iConfig.getParameter< edm::InputTag >(
111 "gtReadoutSource" ) ),
112 particleMapSource_( iConfig.getParameter< edm::InputTag >(
113 "particleMapSource" ) ),
114 file_(
"l1extra.root",
"RECREATE" ),
115 hist_(
"triggers",
"Triggers",
144 using namespace edm ;
145 using namespace l1extra ;
148 cout <<
"EVENT " << ++iev << endl ;
150 cout <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl ;
155 cout <<
"Number of isolated EM " << isoEmColl->size() << endl ;
157 for( L1EmParticleCollection::const_iterator emItr = isoEmColl->begin() ;
158 emItr != isoEmColl->end() ;
161 cout <<
" p4 (" << emItr->px()
162 <<
", " << emItr->py()
163 <<
", " << emItr->pz()
164 <<
", " << emItr->energy()
165 <<
") et " << emItr->et()
166 <<
" eta " << emItr->eta()
167 <<
" phi " << emItr->phi()
174 cout <<
"Number of non-isolated EM " << nonIsoEmColl->size() << endl ;
176 for( L1EmParticleCollection::const_iterator emItr = nonIsoEmColl->begin() ;
177 emItr != nonIsoEmColl->end() ;
180 cout <<
" p4 (" << emItr->px()
181 <<
", " << emItr->py()
182 <<
", " << emItr->pz()
183 <<
", " << emItr->energy()
184 <<
") et " << emItr->et()
185 <<
" eta " << emItr->eta()
186 <<
" phi " << emItr->phi()
193 cout <<
"Number of central jets " << cenJetColl->size() << endl ;
195 for( L1JetParticleCollection::const_iterator jetItr = cenJetColl->begin() ;
196 jetItr != cenJetColl->end() ;
199 cout <<
" p4 (" << jetItr->px()
200 <<
", " << jetItr->py()
201 <<
", " << jetItr->pz()
202 <<
", " << jetItr->energy()
203 <<
") et " << jetItr->et()
204 <<
" eta " << jetItr->eta()
205 <<
" phi " << jetItr->phi()
211 cout <<
"Number of forward jets " << forJetColl->size() << endl ;
213 for( L1JetParticleCollection::const_iterator jetItr = forJetColl->begin() ;
214 jetItr != forJetColl->end() ;
217 cout <<
" p4 (" << jetItr->px()
218 <<
", " << jetItr->py()
219 <<
", " << jetItr->pz()
220 <<
", " << jetItr->energy()
221 <<
") et " << jetItr->et()
222 <<
" eta " << jetItr->eta()
223 <<
" phi " << jetItr->phi()
229 cout <<
"Number of tau jets " << tauColl->size() << endl ;
231 for( L1JetParticleCollection::const_iterator tauItr = tauColl->begin() ;
232 tauItr != tauColl->end() ;
235 cout <<
" p4 (" << tauItr->px()
236 <<
", " << tauItr->py()
237 <<
", " << tauItr->pz()
238 <<
", " << tauItr->energy()
239 <<
") et " << tauItr->et()
240 <<
" eta " << tauItr->eta()
241 <<
" phi " << tauItr->phi()
248 cout <<
"Number of muons " << muColl->size() << endl ;
250 for( L1MuonParticleCollection::const_iterator muItr = muColl->begin() ;
251 muItr != muColl->end() ;
254 cout <<
" q " << muItr->charge()
255 <<
" p4 (" << muItr->px()
256 <<
", " << muItr->py()
257 <<
", " << muItr->pz()
258 <<
", " << muItr->energy()
259 <<
") et " << muItr->et()
260 <<
" eta " << muItr->eta() << endl
261 <<
" phi " << muItr->phi()
262 <<
" iso " << muItr->isIsolated()
263 <<
" mip " << muItr->isMip()
264 <<
" fwd " << muItr->isForward()
265 <<
" rpc " << muItr->isRPC()
272 cout <<
"MET Coll (" << etMissColl->begin()->px()
273 <<
", " << etMissColl->begin()->py()
274 <<
", " << etMissColl->begin()->pz()
275 <<
", " << etMissColl->begin()->energy()
276 <<
") phi " << etMissColl->begin()->phi()
277 <<
" EtTot " << etMissColl->begin()->etTotal()
283 cout <<
"MHT Coll (" << htMissColl->begin()->px()
284 <<
", " << htMissColl->begin()->py()
285 <<
", " << htMissColl->begin()->pz()
286 <<
", " << htMissColl->begin()->energy()
287 <<
") phi " << htMissColl->begin()->phi()
288 <<
" HtTot " << htMissColl->begin()->etTotal()
294 cout <<
"HF Rings:" << endl ;
295 for(
int i = 0 ;
i < L1HFRings::kNumRings ; ++
i )
297 cout <<
" " <<
i <<
": et sum = "
298 << hfRingsColl->begin()->hfEtSum( (L1HFRings::HFRingLabels)
i )
300 << hfRingsColl->begin()->hfBitCount( (L1HFRings::HFRingLabels) i )
#define DEFINE_FWK_MODULE(type)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const