92 : isoEmSource_(iConfig.getParameter<edm::
InputTag>(
"isolatedEmSource")),
93 nonIsoEmSource_(iConfig.getParameter<edm::
InputTag>(
"nonIsolatedEmSource")),
94 cenJetSource_(iConfig.getParameter<edm::
InputTag>(
"centralJetSource")),
95 forJetSource_(iConfig.getParameter<edm::
InputTag>(
"forwardJetSource")),
96 tauJetSource_(iConfig.getParameter<edm::
InputTag>(
"tauJetSource")),
97 muonSource_(iConfig.getParameter<edm::
InputTag>(
"muonSource")),
98 etMissSource_(iConfig.getParameter<edm::
InputTag>(
"etMissSource")),
99 htMissSource_(iConfig.getParameter<edm::
InputTag>(
"htMissSource")),
100 hfRingsSource_(iConfig.getParameter<edm::
InputTag>(
"hfRingsSource")),
101 gtReadoutSource_(iConfig.getParameter<edm::
InputTag>(
"gtReadoutSource")),
102 particleMapSource_(iConfig.getParameter<edm::
InputTag>(
"particleMapSource")),
103 file_(
"l1extra.root",
"RECREATE"),
127 using namespace l1extra;
130 cout <<
"EVENT " << ++
iev << endl;
132 cout <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl;
137 cout <<
"Number of isolated EM " << isoEmColl->size() << endl;
139 for (L1EmParticleCollection::const_iterator emItr = isoEmColl->begin(); emItr != isoEmColl->end(); ++emItr) {
140 cout <<
" p4 (" << emItr->px() <<
", " << emItr->py() <<
", " << emItr->pz() <<
", " << emItr->energy() <<
") et "
141 << emItr->et() <<
" eta " << emItr->eta() <<
" phi " << emItr->phi() << endl;
147 cout <<
"Number of non-isolated EM " << nonIsoEmColl->size() << endl;
149 for (L1EmParticleCollection::const_iterator emItr = nonIsoEmColl->begin(); emItr != nonIsoEmColl->end(); ++emItr) {
150 cout <<
" p4 (" << emItr->px() <<
", " << emItr->py() <<
", " << emItr->pz() <<
", " << emItr->energy() <<
") et "
151 << emItr->et() <<
" eta " << emItr->eta() <<
" phi " << emItr->phi() << endl;
157 cout <<
"Number of central jets " << cenJetColl->size() << endl;
159 for (L1JetParticleCollection::const_iterator jetItr = cenJetColl->begin(); jetItr != cenJetColl->end(); ++jetItr) {
160 cout <<
" p4 (" << jetItr->px() <<
", " << jetItr->py() <<
", " << jetItr->pz() <<
", " << jetItr->energy()
161 <<
") et " << jetItr->et() <<
" eta " << jetItr->eta() <<
" phi " << jetItr->phi() << endl;
166 cout <<
"Number of forward jets " << forJetColl->size() << endl;
168 for (L1JetParticleCollection::const_iterator jetItr = forJetColl->begin(); jetItr != forJetColl->end(); ++jetItr) {
169 cout <<
" p4 (" << jetItr->px() <<
", " << jetItr->py() <<
", " << jetItr->pz() <<
", " << jetItr->energy()
170 <<
") et " << jetItr->et() <<
" eta " << jetItr->eta() <<
" phi " << jetItr->phi() << endl;
175 cout <<
"Number of tau jets " << tauColl->size() << endl;
177 for (L1JetParticleCollection::const_iterator tauItr = tauColl->begin(); tauItr != tauColl->end(); ++tauItr) {
178 cout <<
" p4 (" << tauItr->px() <<
", " << tauItr->py() <<
", " << tauItr->pz() <<
", " << tauItr->energy()
179 <<
") et " << tauItr->et() <<
" eta " << tauItr->eta() <<
" phi " << tauItr->phi() << endl;
185 cout <<
"Number of muons " << muColl->size() << endl;
187 for (L1MuonParticleCollection::const_iterator muItr = muColl->begin(); muItr != muColl->end(); ++muItr) {
188 cout <<
" q " << muItr->charge() <<
" p4 (" << muItr->px() <<
", " << muItr->py() <<
", " << muItr->pz() <<
", "
189 << muItr->energy() <<
") et " << muItr->et() <<
" eta " << muItr->eta() << endl
190 <<
" phi " << muItr->phi() <<
" iso " << muItr->isIsolated() <<
" mip " << muItr->isMip() <<
" fwd "
191 << muItr->isForward() <<
" rpc " << muItr->isRPC() << endl;
197 cout <<
"MET Coll (" << etMissColl->begin()->px() <<
", " << etMissColl->begin()->py() <<
", "
198 << etMissColl->begin()->pz() <<
", " << etMissColl->begin()->energy() <<
") phi " << etMissColl->begin()->phi()
199 <<
" EtTot " << etMissColl->begin()->etTotal() << endl;
204 cout <<
"MHT Coll (" << htMissColl->begin()->px() <<
", " << htMissColl->begin()->py() <<
", "
205 << htMissColl->begin()->pz() <<
", " << htMissColl->begin()->energy() <<
") phi " << htMissColl->begin()->phi()
206 <<
" HtTot " << htMissColl->begin()->etTotal() << endl;
211 cout <<
"HF Rings:" << endl;
212 for (
int i = 0;
i < L1HFRings::kNumRings; ++
i) {
213 cout <<
" " <<
i <<
": et sum = " << hfRingsColl->begin()->hfEtSum((L1HFRings::HFRingLabels)
i)
214 <<
", bit count = " << hfRingsColl->begin()->hfBitCount((L1HFRings::HFRingLabels)i) << endl;
#define DEFINE_FWK_MODULE(type)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
HitContainer const *__restrict__ TkSoA const *__restrict__ Quality const *__restrict__ CAHitNtupletGeneratorKernelsGPU::HitToTuple const *__restrict__ int32_t int iev