CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HLTEventAnalyzerRAW.cc
Go to the documentation of this file.
1 
15 
16 // need access to class objects being referenced to get their content!
40 
41 #include <cassert>
42 
43 //
44 // constructors and destructor
45 //
47  : processName_(ps.getParameter<std::string>("processName")),
48  triggerName_(ps.getParameter<std::string>("triggerName")),
49  triggerResultsTag_(ps.getParameter<edm::InputTag>("triggerResults")),
50  triggerResultsToken_(consumes<edm::TriggerResults>(triggerResultsTag_)),
51  triggerEventWithRefsTag_(ps.getParameter<edm::InputTag>("triggerEventWithRefs")),
52  triggerEventWithRefsToken_(consumes<trigger::TriggerEventWithRefs>(triggerEventWithRefsTag_)) {
53  using namespace std;
54  using namespace edm;
55 
56  LogVerbatim("HLTEventAnalyzerRAW") << "HLTEventAnalyzerRAW configuration: " << endl
57  << " ProcessName = " << processName_ << endl
58  << " TriggerName = " << triggerName_ << endl
59  << " TriggerResultsTag = " << triggerResultsTag_.encode() << endl
60  << " TriggerEventWithRefsTag = " << triggerEventWithRefsTag_.encode() << endl;
61 }
62 
64 
65 //
66 // member functions
67 //
70  desc.add<std::string>("processName", "HLT");
71  desc.add<std::string>("triggerName", "@");
72  desc.add<edm::InputTag>("triggerResults", edm::InputTag("TriggerResults", "", "HLT"));
73  desc.add<edm::InputTag>("triggerEventWithRefs", edm::InputTag("hltTriggerSummaryRAW", "", "HLT"));
74  descriptions.add("hltEventAnalyzerRAW", desc);
75 }
76 
77 void HLTEventAnalyzerRAW::endRun(edm::Run const& iRun, edm::EventSetup const& iSetup) {}
78 
79 void HLTEventAnalyzerRAW::beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup) {
80  using namespace std;
81  using namespace edm;
82 
83  bool changed(true);
84  if (hltConfig_.init(iRun, iSetup, processName_, changed)) {
85  if (changed) {
86  // check if trigger name in (new) config
87  if (triggerName_ != "@") { // "@" means: analyze all triggers in config
88  const unsigned int n(hltConfig_.size());
89  const unsigned int triggerIndex(hltConfig_.triggerIndex(triggerName_));
90  if (triggerIndex >= n) {
91  LogVerbatim("HLTEventAnalyzerRAW")
92  << "HLTEventAnalyzerRAW::analyze:"
93  << " TriggerName " << triggerName_ << " not available in (new) config!" << endl;
94  LogVerbatim("HLTEventAnalyzerRAW") << "Available TriggerNames are: " << endl;
95  hltConfig_.dump("Triggers");
96  }
97  }
98  }
99  } else {
100  LogVerbatim("HLTEventAnalyzerRAW") << "HLTEventAnalyzerRAW::analyze:"
101  << " config extraction failure with process name " << processName_ << endl;
102  }
103 }
104 
105 // ------------ method called to produce the data ------------
107  using namespace std;
108  using namespace edm;
109 
110  LogVerbatim("HLTEventAnalyzerRAW") << endl;
111 
112  // get event products
115  LogVerbatim("HLTEventAnalyzerRAW")
116  << "HLTEventAnalyzerRAW::analyze: Error in getting TriggerResults product from Event!" << endl;
117  return;
118  }
121  LogVerbatim("HLTEventAnalyzerRAW")
122  << "HLTEventAnalyzerRAW::analyze: Error in getting TriggerEventWithRefs product from Event!" << endl;
123  return;
124  }
125  // sanity check
127 
128  // analyze this event for the triggers requested
129  if (triggerName_ == "@") {
130  const unsigned int n(hltConfig_.size());
131  for (unsigned int i = 0; i != n; ++i) {
132  analyzeTrigger(iEvent, iSetup, hltConfig_.triggerName(i));
133  }
134  } else {
135  analyzeTrigger(iEvent, iSetup, triggerName_);
136  }
137 
138  return;
139 }
140 
142  const edm::EventSetup& iSetup,
143  const std::string& triggerName) {
144  using namespace std;
145  using namespace edm;
146  using namespace reco;
147  using namespace trigger;
148 
149  LogVerbatim("HLTEventAnalyzerRAW") << endl;
150 
151  const unsigned int n(hltConfig_.size());
152  const unsigned int triggerIndex(hltConfig_.triggerIndex(triggerName));
153  assert(triggerIndex == iEvent.triggerNames(*triggerResultsHandle_).triggerIndex(triggerName));
154 
155  // abort on invalid trigger name
156  if (triggerIndex >= n) {
157  LogVerbatim("HLTEventAnalyzerRAW") << "HLTEventAnalyzerRAW::analyzeTrigger: path " << triggerName << " - not found!"
158  << endl;
159  return;
160  }
161 
162  LogVerbatim("HLTEventAnalyzerRAW") << "HLTEventAnalyzerRAW::analyzeTrigger: path " << triggerName << " ["
163  << triggerIndex << "]" << endl;
164  // modules on this trigger path
165  const unsigned int m(hltConfig_.size(triggerIndex));
166  const vector<string>& moduleLabels(hltConfig_.moduleLabels(triggerIndex));
167 
168  // Results from TriggerResults product
169  LogVerbatim("HLTEventAnalyzerRAW") << " Trigger path status:"
170  << " WasRun=" << triggerResultsHandle_->wasrun(triggerIndex)
171  << " Accept=" << triggerResultsHandle_->accept(triggerIndex)
172  << " Error =" << triggerResultsHandle_->error(triggerIndex) << endl;
173  const unsigned int moduleIndex(triggerResultsHandle_->index(triggerIndex));
174  LogVerbatim("HLTEventAnalyzerRAW") << " Last active module - label/type: " << moduleLabels[moduleIndex] << "/"
175  << hltConfig_.moduleType(moduleLabels[moduleIndex]) << " [" << moduleIndex
176  << " out of 0-" << (m - 1) << " on this path]" << endl;
177  assert(moduleIndex < m);
178 
179  // Results from TriggerEventWithRefs product
180  photonIds_.clear();
181  photonRefs_.clear();
182  electronIds_.clear();
183  electronRefs_.clear();
184  muonIds_.clear();
185  muonRefs_.clear();
186  jetIds_.clear();
187  jetRefs_.clear();
188  compositeIds_.clear();
189  compositeRefs_.clear();
190  basemetIds_.clear();
191  basemetRefs_.clear();
192  calometIds_.clear();
193  calometRefs_.clear();
194  pixtrackIds_.clear();
195  pixtrackRefs_.clear();
196  l1emIds_.clear();
197  l1emRefs_.clear();
198  l1muonIds_.clear();
199  l1muonRefs_.clear();
200  l1jetIds_.clear();
201  l1jetRefs_.clear();
202  l1etmissIds_.clear();
203  l1etmissRefs_.clear();
204  l1hfringsIds_.clear();
205  l1hfringsRefs_.clear();
206  l1ttkmuIds_.clear();
207  l1ttkmuRefs_.clear();
208  l1ttkeleIds_.clear();
209  l1ttkeleRefs_.clear();
210  l1ttkemIds_.clear();
211  l1ttkemRefs_.clear();
212  l1tpfjetIds_.clear();
213  l1tpfjetRefs_.clear();
214  l1tpftauIds_.clear();
215  l1tpftauRefs_.clear();
216  l1thpspftauIds_.clear();
217  l1thpspftauRefs_.clear();
218  l1tpftrackIds_.clear();
219  l1tpftrackRefs_.clear();
220  pfjetIds_.clear();
221  pfjetRefs_.clear();
222  pftauIds_.clear();
223  pftauRefs_.clear();
224  pfmetIds_.clear();
225  pfmetRefs_.clear();
226 
227  // Attention: must look only for modules actually run in this path
228  // for this event!
229  for (unsigned int j = 0; j <= moduleIndex; ++j) {
230  const string& moduleLabel(moduleLabels[j]);
231  const string moduleType(hltConfig_.moduleType(moduleLabel));
232  // check whether the module is packed up in TriggerEventWithRef product
233  const unsigned int filterIndex(triggerEventWithRefsHandle_->filterIndex(InputTag(moduleLabel, "", processName_)));
234  if (filterIndex < triggerEventWithRefsHandle_->size()) {
235  LogVerbatim("HLTEventAnalyzerRAW") << " Filter in slot " << j << " - label/type " << moduleLabel << "/"
236  << moduleType << endl;
237  LogVerbatim("HLTEventAnalyzerRAW") << " Filter packed up at: " << filterIndex << endl;
238  LogVerbatim("HLTEventAnalyzerRAW") << " Accepted objects:" << endl;
239 
240  triggerEventWithRefsHandle_->getObjects(filterIndex, photonIds_, photonRefs_);
241  const unsigned int nPhotons(photonIds_.size());
242  if (nPhotons > 0) {
243  LogVerbatim("HLTEventAnalyzerRAW") << " Photons: " << nPhotons << " - the objects: # id pt" << endl;
244  for (unsigned int i = 0; i != nPhotons; ++i) {
245  LogVerbatim("HLTEventAnalyzerRAW")
246  << " " << i << " " << photonIds_[i] << " " << photonRefs_[i]->pt() << endl;
247  }
248  }
249 
250  triggerEventWithRefsHandle_->getObjects(filterIndex, electronIds_, electronRefs_);
251  const unsigned int nElectrons(electronIds_.size());
252  if (nElectrons > 0) {
253  LogVerbatim("HLTEventAnalyzerRAW") << " Electrons: " << nElectrons << " - the objects: # id pt" << endl;
254  for (unsigned int i = 0; i != nElectrons; ++i) {
255  LogVerbatim("HLTEventAnalyzerRAW")
256  << " " << i << " " << electronIds_[i] << " " << electronRefs_[i]->pt() << endl;
257  }
258  }
259 
260  triggerEventWithRefsHandle_->getObjects(filterIndex, muonIds_, muonRefs_);
261  const unsigned int nMuons(muonIds_.size());
262  if (nMuons > 0) {
263  LogVerbatim("HLTEventAnalyzerRAW") << " Muons: " << nMuons << " - the objects: # id pt" << endl;
264  for (unsigned int i = 0; i != nMuons; ++i) {
265  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << muonIds_[i] << " " << muonRefs_[i]->pt() << endl;
266  }
267  }
268 
269  triggerEventWithRefsHandle_->getObjects(filterIndex, jetIds_, jetRefs_);
270  const unsigned int nJets(jetIds_.size());
271  if (nJets > 0) {
272  LogVerbatim("HLTEventAnalyzerRAW") << " Jets: " << nJets << " - the objects: # id pt" << endl;
273  for (unsigned int i = 0; i != nJets; ++i) {
274  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << jetIds_[i] << " " << jetRefs_[i]->pt() << endl;
275  }
276  }
277 
278  triggerEventWithRefsHandle_->getObjects(filterIndex, compositeIds_, compositeRefs_);
279  const unsigned int nComposites(compositeIds_.size());
280  if (nComposites > 0) {
281  LogVerbatim("HLTEventAnalyzerRAW") << " Composites: " << nComposites << " - the objects: # id pt" << endl;
282  for (unsigned int i = 0; i != nComposites; ++i) {
283  LogVerbatim("HLTEventAnalyzerRAW")
284  << " " << i << " " << compositeIds_[i] << " " << compositeRefs_[i]->pt() << endl;
285  }
286  }
287 
288  triggerEventWithRefsHandle_->getObjects(filterIndex, basemetIds_, basemetRefs_);
289  const unsigned int nBaseMETs(basemetIds_.size());
290  if (nBaseMETs > 0) {
291  LogVerbatim("HLTEventAnalyzerRAW") << " BaseMETs: " << nBaseMETs << " - the objects: # id pt" << endl;
292  for (unsigned int i = 0; i != nBaseMETs; ++i) {
293  LogVerbatim("HLTEventAnalyzerRAW")
294  << " " << i << " " << basemetIds_[i] << " " << basemetRefs_[i]->pt() << endl;
295  }
296  }
297 
298  triggerEventWithRefsHandle_->getObjects(filterIndex, calometIds_, calometRefs_);
299  const unsigned int nCaloMETs(calometIds_.size());
300  if (nCaloMETs > 0) {
301  LogVerbatim("HLTEventAnalyzerRAW") << " CaloMETs: " << nCaloMETs << " - the objects: # id pt" << endl;
302  for (unsigned int i = 0; i != nCaloMETs; ++i) {
303  LogVerbatim("HLTEventAnalyzerRAW")
304  << " " << i << " " << calometIds_[i] << " " << calometRefs_[i]->pt() << endl;
305  }
306  }
307 
308  triggerEventWithRefsHandle_->getObjects(filterIndex, pixtrackIds_, pixtrackRefs_);
309  const unsigned int nPixTracks(pixtrackIds_.size());
310  if (nPixTracks > 0) {
311  LogVerbatim("HLTEventAnalyzerRAW") << " PixTracks: " << nPixTracks << " - the objects: # id pt" << endl;
312  for (unsigned int i = 0; i != nPixTracks; ++i) {
313  LogVerbatim("HLTEventAnalyzerRAW")
314  << " " << i << " " << pixtrackIds_[i] << " " << pixtrackRefs_[i]->pt() << endl;
315  }
316  }
317 
318  triggerEventWithRefsHandle_->getObjects(filterIndex, l1emIds_, l1emRefs_);
319  const unsigned int nL1EM(l1emIds_.size());
320  if (nL1EM > 0) {
321  LogVerbatim("HLTEventAnalyzerRAW") << " L1EM: " << nL1EM << " - the objects: # id pt" << endl;
322  for (unsigned int i = 0; i != nL1EM; ++i) {
323  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << l1emIds_[i] << " " << l1emRefs_[i]->pt() << endl;
324  }
325  }
326 
327  triggerEventWithRefsHandle_->getObjects(filterIndex, l1muonIds_, l1muonRefs_);
328  const unsigned int nL1Muon(l1muonIds_.size());
329  if (nL1Muon > 0) {
330  LogVerbatim("HLTEventAnalyzerRAW") << " L1Muon: " << nL1Muon << " - the objects: # id pt" << endl;
331  for (unsigned int i = 0; i != nL1Muon; ++i) {
332  LogVerbatim("HLTEventAnalyzerRAW")
333  << " " << i << " " << l1muonIds_[i] << " " << l1muonRefs_[i]->pt() << endl;
334  }
335  }
336 
337  triggerEventWithRefsHandle_->getObjects(filterIndex, l1jetIds_, l1jetRefs_);
338  const unsigned int nL1Jet(l1jetIds_.size());
339  if (nL1Jet > 0) {
340  LogVerbatim("HLTEventAnalyzerRAW") << " L1Jet: " << nL1Jet << " - the objects: # id pt" << endl;
341  for (unsigned int i = 0; i != nL1Jet; ++i) {
342  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << l1jetIds_[i] << " " << l1jetRefs_[i]->pt() << endl;
343  }
344  }
345 
346  triggerEventWithRefsHandle_->getObjects(filterIndex, l1etmissIds_, l1etmissRefs_);
347  const unsigned int nL1EtMiss(l1etmissIds_.size());
348  if (nL1EtMiss > 0) {
349  LogVerbatim("HLTEventAnalyzerRAW") << " L1EtMiss: " << nL1EtMiss << " - the objects: # id pt" << endl;
350  for (unsigned int i = 0; i != nL1EtMiss; ++i) {
351  LogVerbatim("HLTEventAnalyzerRAW")
352  << " " << i << " " << l1etmissIds_[i] << " " << l1etmissRefs_[i]->pt() << endl;
353  }
354  }
355 
356  triggerEventWithRefsHandle_->getObjects(filterIndex, l1hfringsIds_, l1hfringsRefs_);
357  const unsigned int nL1HfRings(l1hfringsIds_.size());
358  if (nL1HfRings > 0) {
359  LogVerbatim("HLTEventAnalyzerRAW") << " L1HfRings: " << nL1HfRings << " - the objects: # id 4 4" << endl;
360  for (unsigned int i = 0; i != nL1HfRings; ++i) {
361  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << l1hfringsIds_[i] << " "
366  << l1hfringsRefs_[i]->hfBitCount(l1extra::L1HFRings::kRing1PosEta) << " "
367  << l1hfringsRefs_[i]->hfBitCount(l1extra::L1HFRings::kRing1NegEta) << " "
368  << l1hfringsRefs_[i]->hfBitCount(l1extra::L1HFRings::kRing2PosEta) << " "
369  << l1hfringsRefs_[i]->hfBitCount(l1extra::L1HFRings::kRing2NegEta) << endl;
370  }
371  }
372 
373  /* Phase-2 */
374 
375  triggerEventWithRefsHandle_->getObjects(filterIndex, l1ttkmuIds_, l1ttkmuRefs_);
376  const unsigned int nL1TTkMuons(l1ttkmuIds_.size());
377  if (nL1TTkMuons > 0) {
378  LogVerbatim("HLTEventAnalyzerRAW") << " L1TTkMuons: " << nL1TTkMuons << " - the objects: # id pt" << endl;
379  for (unsigned int i = 0; i != nL1TTkMuons; ++i) {
380  LogVerbatim("HLTEventAnalyzerRAW")
381  << " " << i << " " << l1ttkmuIds_[i] << " " << l1ttkmuRefs_[i]->pt() << endl;
382  }
383  }
384 
385  triggerEventWithRefsHandle_->getObjects(filterIndex, l1ttkeleIds_, l1ttkeleRefs_);
386  const unsigned int nL1TTkElectrons(l1ttkeleIds_.size());
387  if (nL1TTkElectrons > 0) {
388  LogVerbatim("HLTEventAnalyzerRAW")
389  << " L1TTkElectrons: " << nL1TTkElectrons << " - the objects: # id pt" << endl;
390  for (unsigned int i = 0; i != nL1TTkElectrons; ++i) {
391  LogVerbatim("HLTEventAnalyzerRAW")
392  << " " << i << " " << l1ttkeleIds_[i] << " " << l1ttkeleRefs_[i]->pt() << endl;
393  }
394  }
395 
396  triggerEventWithRefsHandle_->getObjects(filterIndex, l1ttkemIds_, l1ttkemRefs_);
397  const unsigned int nL1TTkEMs(l1ttkemIds_.size());
398  if (nL1TTkEMs > 0) {
399  LogVerbatim("HLTEventAnalyzerRAW") << " L1TTkEMs: " << nL1TTkEMs << " - the objects: # id pt" << endl;
400  for (unsigned int i = 0; i != nL1TTkEMs; ++i) {
401  LogVerbatim("HLTEventAnalyzerRAW")
402  << " " << i << " " << l1ttkemIds_[i] << " " << l1ttkemRefs_[i]->pt() << endl;
403  }
404  }
405 
406  triggerEventWithRefsHandle_->getObjects(filterIndex, l1tpfjetIds_, l1tpfjetRefs_);
407  const unsigned int nL1TPFJets(l1tpfjetIds_.size());
408  if (nL1TPFJets > 0) {
409  LogVerbatim("HLTEventAnalyzerRAW") << " L1TPFJets: " << nL1TPFJets << " - the objects: # id pt" << endl;
410  for (unsigned int i = 0; i != nL1TPFJets; ++i) {
411  LogVerbatim("HLTEventAnalyzerRAW")
412  << " " << i << " " << l1tpfjetIds_[i] << " " << l1tpfjetRefs_[i]->pt() << endl;
413  }
414  }
415 
416  triggerEventWithRefsHandle_->getObjects(filterIndex, l1tpftauIds_, l1tpftauRefs_);
417  const unsigned int nL1TPFTaus(l1tpftauIds_.size());
418  if (nL1TPFTaus > 0) {
419  LogVerbatim("HLTEventAnalyzerRAW") << " L1TPFTaus: " << nL1TPFTaus << " - the objects: # id pt" << endl;
420  for (unsigned int i = 0; i != nL1TPFTaus; ++i) {
421  LogVerbatim("HLTEventAnalyzerRAW")
422  << " " << i << " " << l1tpftauIds_[i] << " " << l1tpftauRefs_[i]->pt() << endl;
423  }
424  }
425 
427  const unsigned int nL1THPSPFTaus(l1thpspftauIds_.size());
428  if (nL1THPSPFTaus > 0) {
429  LogVerbatim("HLTEventAnalyzerRAW")
430  << " L1THPSPFTaus: " << nL1THPSPFTaus << " - the objects: # id pt" << endl;
431  for (unsigned int i = 0; i != nL1THPSPFTaus; ++i) {
432  LogVerbatim("HLTEventAnalyzerRAW")
433  << " " << i << " " << l1thpspftauIds_[i] << " " << l1thpspftauRefs_[i]->pt() << endl;
434  }
435  }
436 
438  const unsigned int nL1TPFTracks(l1tpftrackIds_.size());
439  if (nL1TPFTracks > 0) {
440  LogVerbatim("HLTEventAnalyzerRAW") << " L1TPFTracks: " << nL1TPFTracks << " - the objects: # id pt" << endl;
441  for (unsigned int i = 0; i != nL1TPFTracks; ++i) {
442  LogVerbatim("HLTEventAnalyzerRAW")
443  << " " << i << " " << l1tpftrackIds_[i] << " " << l1tpftrackRefs_[i]->pt() << endl;
444  }
445  }
446 
447  triggerEventWithRefsHandle_->getObjects(filterIndex, pfjetIds_, pfjetRefs_);
448  const unsigned int nPFJets(pfjetIds_.size());
449  if (nPFJets > 0) {
450  LogVerbatim("HLTEventAnalyzerRAW") << " PFJets: " << nPFJets << " - the objects: # id pt" << endl;
451  for (unsigned int i = 0; i != nPFJets; ++i) {
452  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << pfjetIds_[i] << " " << pfjetRefs_[i]->pt() << endl;
453  }
454  }
455 
456  triggerEventWithRefsHandle_->getObjects(filterIndex, pftauIds_, pftauRefs_);
457  const unsigned int nPFTaus(pftauIds_.size());
458  if (nPFTaus > 0) {
459  LogVerbatim("HLTEventAnalyzerRAW") << " PFTaus: " << nPFTaus << " - the objects: # id pt" << endl;
460  for (unsigned int i = 0; i != nPFTaus; ++i) {
461  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << pftauIds_[i] << " " << pftauRefs_[i]->pt() << endl;
462  }
463  }
464 
465  triggerEventWithRefsHandle_->getObjects(filterIndex, pfmetIds_, pfmetRefs_);
466  const unsigned int nPfMETs(pfmetIds_.size());
467  if (nPfMETs > 0) {
468  LogVerbatim("HLTEventAnalyzerRAW") << " PfMETs: " << nPfMETs << " - the objects: # id pt" << endl;
469  for (unsigned int i = 0; i != nPfMETs; ++i) {
470  LogVerbatim("HLTEventAnalyzerRAW") << " " << i << " " << pfmetIds_[i] << " " << pfmetRefs_[i]->pt() << endl;
471  }
472  }
473  }
474  }
475 
476  return;
477 }
unsigned int size() const
number of trigger paths in trigger table
Log< level::Info, true > LogVerbatim
void dump(const std::string &what) const
Dumping config info to cout.
trigger::VRl1ttkele l1ttkeleRefs_
trigger::Vids compositeIds_
const std::string moduleType(const std::string &module) const
C++ class name of module.
trigger::Vids l1thpspftauIds_
trigger::Vids l1etmissIds_
edm::Handle< edm::TriggerResults > triggerResultsHandle_
additional class data memebers
const std::string & triggerName(unsigned int triggerIndex) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
trigger::VRl1muon l1muonRefs_
trigger::Vids electronIds_
const edm::InputTag triggerEventWithRefsTag_
trigger::VRl1em l1emRefs_
unsigned int triggerIndex(std::string_view name) const
Definition: TriggerNames.cc:52
trigger::VRpftau pftauRefs_
trigger::VRl1tpftrack l1tpftrackRefs_
void endRun(edm::Run const &, edm::EventSetup const &) override
assert(be >=bs)
HLTEventAnalyzerRAW(const edm::ParameterSet &)
const edm::InputTag triggerResultsTag_
std::string encode() const
Definition: InputTag.cc:159
trigger::VRpfjet pfjetRefs_
trigger::Vids photonIds_
payload extracted from TriggerEventWithRefs
trigger::VRl1jet l1jetRefs_
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
Definition: Event.cc:275
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
void beginRun(edm::Run const &, edm::EventSetup const &) override
trigger::VRcomposite compositeRefs_
const std::string processName_
module config parameters
int iEvent
Definition: GenABIO.cc:224
const edm::EDGetTokenT< trigger::TriggerEventWithRefs > triggerEventWithRefsToken_
trigger::VRphoton photonRefs_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLTConfigProvider hltConfig_
trigger::VRpfmet pfmetRefs_
~HLTEventAnalyzerRAW() override
void analyze(const edm::Event &, const edm::EventSetup &) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
bool isValid() const
Definition: HandleBase.h:70
trigger::VRelectron electronRefs_
trigger::Vids l1tpftauIds_
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
trigger::VRl1tpftau l1tpftauRefs_
const edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
trigger::Vids pixtrackIds_
trigger::Vids l1hfringsIds_
trigger::VRl1etmiss l1etmissRefs_
trigger::Vids l1ttkeleIds_
trigger::VRl1tpfjet l1tpfjetRefs_
trigger::VRl1thpspftau l1thpspftauRefs_
edm::Handle< trigger::TriggerEventWithRefs > triggerEventWithRefsHandle_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
trigger::Vids l1tpftrackIds_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
trigger::VRl1hfrings l1hfringsRefs_
trigger::VRcalomet calometRefs_
virtual void analyzeTrigger(const edm::Event &, const edm::EventSetup &, const std::string &triggerName)
trigger::VRl1ttkmuon l1ttkmuRefs_
const std::string triggerName_
trigger::VRmuon muonRefs_
trigger::VRpixtrack pixtrackRefs_
trigger::Vids l1tpfjetIds_
trigger::VRbasemet basemetRefs_
trigger::VRl1ttkem l1ttkemRefs_
tuple size
Write out results.
Definition: Run.h:45