91 : isoEmSource_( iConfig.getParameter<
edm::InputTag >(
92 "isolatedEmSource" ) ),
93 nonIsoEmSource_( iConfig.getParameter<
edm::InputTag >(
94 "nonIsolatedEmSource" ) ),
95 cenJetSource_( iConfig.getParameter<
edm::InputTag >(
96 "centralJetSource" ) ),
97 forJetSource_( iConfig.getParameter<
edm::InputTag >(
98 "forwardJetSource" ) ),
99 tauJetSource_( iConfig.getParameter<
edm::InputTag >(
101 muonSource_( iConfig.getParameter<
edm::InputTag >(
103 etMissSource_( iConfig.getParameter<
edm::InputTag >(
105 htMissSource_( iConfig.getParameter<
edm::InputTag >(
107 hfRingsSource_( iConfig.getParameter<
edm::InputTag >(
109 gtReadoutSource_( iConfig.getParameter<
edm::InputTag >(
110 "gtReadoutSource" ) ),
111 particleMapSource_( iConfig.getParameter<
edm::InputTag >(
112 "particleMapSource" ) ),
113 file_(
"l1extra.root",
"RECREATE" ),
114 hist_(
"triggers",
"Triggers",
143 using namespace edm ;
147 cout <<
"EVENT " << ++iev << endl ;
149 cout <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl ;
154 cout <<
"Number of isolated EM " << isoEmColl->size() << endl ;
156 for( L1EmParticleCollection::const_iterator emItr = isoEmColl->begin() ;
157 emItr != isoEmColl->end() ;
160 cout <<
" p4 (" << emItr->px()
161 <<
", " << emItr->py()
162 <<
", " << emItr->pz()
163 <<
", " << emItr->energy()
164 <<
") et " << emItr->et()
165 <<
" eta " << emItr->eta()
166 <<
" phi " << emItr->phi()
173 cout <<
"Number of non-isolated EM " << nonIsoEmColl->size() << endl ;
175 for( L1EmParticleCollection::const_iterator emItr = nonIsoEmColl->begin() ;
176 emItr != nonIsoEmColl->end() ;
179 cout <<
" p4 (" << emItr->px()
180 <<
", " << emItr->py()
181 <<
", " << emItr->pz()
182 <<
", " << emItr->energy()
183 <<
") et " << emItr->et()
184 <<
" eta " << emItr->eta()
185 <<
" phi " << emItr->phi()
192 cout <<
"Number of central jets " << cenJetColl->size() << endl ;
194 for( L1JetParticleCollection::const_iterator jetItr = cenJetColl->begin() ;
195 jetItr != cenJetColl->end() ;
198 cout <<
" p4 (" << jetItr->px()
199 <<
", " << jetItr->py()
200 <<
", " << jetItr->pz()
201 <<
", " << jetItr->energy()
202 <<
") et " << jetItr->et()
203 <<
" eta " << jetItr->eta()
204 <<
" phi " << jetItr->phi()
210 cout <<
"Number of forward jets " << forJetColl->size() << endl ;
212 for( L1JetParticleCollection::const_iterator jetItr = forJetColl->begin() ;
213 jetItr != forJetColl->end() ;
216 cout <<
" p4 (" << jetItr->px()
217 <<
", " << jetItr->py()
218 <<
", " << jetItr->pz()
219 <<
", " << jetItr->energy()
220 <<
") et " << jetItr->et()
221 <<
" eta " << jetItr->eta()
222 <<
" phi " << jetItr->phi()
228 cout <<
"Number of tau jets " << tauColl->size() << endl ;
230 for( L1JetParticleCollection::const_iterator tauItr = tauColl->begin() ;
231 tauItr != tauColl->end() ;
234 cout <<
" p4 (" << tauItr->px()
235 <<
", " << tauItr->py()
236 <<
", " << tauItr->pz()
237 <<
", " << tauItr->energy()
238 <<
") et " << tauItr->et()
239 <<
" eta " << tauItr->eta()
240 <<
" phi " << tauItr->phi()
247 cout <<
"Number of muons " << muColl->size() << endl ;
249 for( L1MuonParticleCollection::const_iterator muItr = muColl->begin() ;
250 muItr != muColl->end() ;
253 cout <<
" q " << muItr->charge()
254 <<
" p4 (" << muItr->px()
255 <<
", " << muItr->py()
256 <<
", " << muItr->pz()
257 <<
", " << muItr->energy()
258 <<
") et " << muItr->et()
259 <<
" eta " << muItr->eta() << endl
260 <<
" phi " << muItr->phi()
261 <<
" iso " << muItr->isIsolated()
262 <<
" mip " << muItr->isMip()
263 <<
" fwd " << muItr->isForward()
264 <<
" rpc " << muItr->isRPC()
271 cout <<
"MET Coll (" << etMissColl->begin()->px()
272 <<
", " << etMissColl->begin()->py()
273 <<
", " << etMissColl->begin()->pz()
274 <<
", " << etMissColl->begin()->energy()
275 <<
") phi " << etMissColl->begin()->phi()
276 <<
" EtTot " << etMissColl->begin()->etTotal()
282 cout <<
"MHT Coll (" << htMissColl->begin()->px()
283 <<
", " << htMissColl->begin()->py()
284 <<
", " << htMissColl->begin()->pz()
285 <<
", " << htMissColl->begin()->energy()
286 <<
") phi " << htMissColl->begin()->phi()
287 <<
" HtTot " << htMissColl->begin()->etTotal()
293 cout <<
"HF Rings:" << endl ;
294 for(
int i = 0 ;
i < L1HFRings::kNumRings ; ++
i )
296 cout <<
" " <<
i <<
": et sum = " 297 << hfRingsColl->begin()->hfEtSum( (L1HFRings::HFRingLabels)
i )
299 << hfRingsColl->begin()->hfBitCount( (L1HFRings::HFRingLabels) i )
def analyze(function, filename, filter=None)
#define DEFINE_FWK_MODULE(type)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const