CMS 3D CMS Logo

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) {
133  }
134  } else {
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 
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 }
HLTEventAnalyzerRAW::pixtrackRefs_
trigger::VRpixtrack pixtrackRefs_
Definition: HLTEventAnalyzerRAW.h:69
ConfigurationDescriptions.h
HLTEventAnalyzerRAW::l1thpspftauRefs_
trigger::VRl1thpspftau l1thpspftauRefs_
Definition: HLTEventAnalyzerRAW.h:94
HLTEventAnalyzerRAW::l1jetRefs_
trigger::VRl1jet l1jetRefs_
Definition: HLTEventAnalyzerRAW.h:76
HLTEventAnalyzerRAW::l1muonRefs_
trigger::VRl1muon l1muonRefs_
Definition: HLTEventAnalyzerRAW.h:74
HLTEventAnalyzerRAW::muonIds_
trigger::Vids muonIds_
Definition: HLTEventAnalyzerRAW.h:58
CaloJet.h
mps_fire.i
i
Definition: mps_fire.py:428
MessageLogger.h
CompositeCandidate.h
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HLTConfigProvider::moduleType
const std::string moduleType(const std::string &module) const
C++ class name of module.
Definition: HLTConfigProvider.h:104
HLTEventAnalyzerRAW::electronRefs_
trigger::VRelectron electronRefs_
Definition: HLTEventAnalyzerRAW.h:57
custom_jme_cff.nMuons
nMuons
Definition: custom_jme_cff.py:148
PFTau.h
edm::Run
Definition: Run.h:45
custom_jme_cff.nElectrons
nElectrons
Definition: custom_jme_cff.py:149
HLTEventAnalyzerRAW::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTEventAnalyzerRAW.cc:68
edm
HLT enums.
Definition: AlignableModifier.h:19
HLTEventAnalyzerRAW::l1emIds_
trigger::Vids l1emIds_
Definition: HLTEventAnalyzerRAW.h:71
HLTEventAnalyzerRAW::l1ttkeleRefs_
trigger::VRl1ttkele l1ttkeleRefs_
Definition: HLTEventAnalyzerRAW.h:86
HLTEventAnalyzerRAW::l1hfringsIds_
trigger::Vids l1hfringsIds_
Definition: HLTEventAnalyzerRAW.h:79
HLTEventAnalyzerRAW::l1etmissRefs_
trigger::VRl1etmiss l1etmissRefs_
Definition: HLTEventAnalyzerRAW.h:78
HLTEventAnalyzerRAW::pixtrackIds_
trigger::Vids pixtrackIds_
Definition: HLTEventAnalyzerRAW.h:68
PFJet.h
HLTEventAnalyzerRAW::compositeIds_
trigger::Vids compositeIds_
Definition: HLTEventAnalyzerRAW.h:62
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::HLTGlobalStatus::wasrun
bool wasrun() const
Was at least one path run?
Definition: HLTGlobalStatus.h:47
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
HLTEventAnalyzerRAW::calometIds_
trigger::Vids calometIds_
Definition: HLTEventAnalyzerRAW.h:66
cms::cuda::assert
assert(be >=bs)
HLTEventAnalyzerRAW::l1tpfjetRefs_
trigger::VRl1tpfjet l1tpfjetRefs_
Definition: HLTEventAnalyzerRAW.h:90
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRphoton &photons) const
extract Ref<C>s for a specific filter and of specific physics type
Definition: TriggerEventWithRefs.h:399
HLTEventAnalyzerRAW::pfmetRefs_
trigger::VRpfmet pfmetRefs_
Definition: HLTEventAnalyzerRAW.h:103
edm::HLTGlobalStatus::error
bool error() const
Has any path encountered an error (exception)
Definition: HLTGlobalStatus.h:51
HLTEventAnalyzerRAW::jetIds_
trigger::Vids jetIds_
Definition: HLTEventAnalyzerRAW.h:60
HLTEventAnalyzerRAW::triggerResultsHandle_
edm::Handle< edm::TriggerResults > triggerResultsHandle_
additional class data memebers
Definition: HLTEventAnalyzerRAW.h:48
HLTEventAnalyzerRAW::HLTEventAnalyzerRAW
HLTEventAnalyzerRAW(const edm::ParameterSet &)
Definition: HLTEventAnalyzerRAW.cc:46
HLTEventAnalyzerRAW::triggerEventWithRefsHandle_
edm::Handle< trigger::TriggerEventWithRefs > triggerEventWithRefsHandle_
Definition: HLTEventAnalyzerRAW.h:49
L1HFRings.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
HLTConfigProvider::dump
void dump(const std::string &what) const
Dumping config info to cout.
Definition: HLTConfigProvider.h:44
IsolatedPixelTrackCandidate.h
HLTEventAnalyzerRAW::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: HLTEventAnalyzerRAW.cc:79
HLTEventAnalyzerRAW::analyzeTrigger
virtual void analyzeTrigger(const edm::Event &, const edm::EventSetup &, const std::string &triggerName)
Definition: HLTEventAnalyzerRAW.cc:141
edm::HLTGlobalStatus::index
unsigned int index(const unsigned int i) const
Get index (slot position) of module giving the decision of the ith path.
Definition: HLTGlobalStatus.h:70
TkMuon.h
HLTEventAnalyzerRAW::l1ttkmuIds_
trigger::Vids l1ttkmuIds_
Definition: HLTEventAnalyzerRAW.h:83
HLTEventAnalyzerRAW::l1emRefs_
trigger::VRl1em l1emRefs_
Definition: HLTEventAnalyzerRAW.h:72
HLTEventAnalyzerRAW::l1tpftauRefs_
trigger::VRl1tpftau l1tpftauRefs_
Definition: HLTEventAnalyzerRAW.h:92
HLTConfigProvider::moduleLabels
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
Definition: HLTConfigProvider.h:76
HLTEventAnalyzerRAW::hltConfig_
HLTConfigProvider hltConfig_
Definition: HLTEventAnalyzerRAW.h:50
HLTEventAnalyzerRAW::pfmetIds_
trigger::Vids pfmetIds_
Definition: HLTEventAnalyzerRAW.h:102
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HLTEventAnalyzerRAW::l1ttkeleIds_
trigger::Vids l1ttkeleIds_
Definition: HLTEventAnalyzerRAW.h:85
CaloMET.h
HLTEventAnalyzerRAW::l1tpftrackIds_
trigger::Vids l1tpftrackIds_
Definition: HLTEventAnalyzerRAW.h:95
edm::HLTGlobalStatus::size
unsigned int size() const
Get number of paths stored.
Definition: HLTGlobalStatus.h:35
HLTEventAnalyzerRAW::l1etmissIds_
trigger::Vids l1etmissIds_
Definition: HLTEventAnalyzerRAW.h:77
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
HLTEventAnalyzerRAW::pfjetRefs_
trigger::VRpfjet pfjetRefs_
Definition: HLTEventAnalyzerRAW.h:99
HLTEventAnalyzerRAW::basemetRefs_
trigger::VRbasemet basemetRefs_
Definition: HLTEventAnalyzerRAW.h:65
HLTEventAnalyzerRAW::~HLTEventAnalyzerRAW
~HLTEventAnalyzerRAW() override
HLTEventAnalyzerRAW::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: HLTEventAnalyzerRAW.cc:106
HLTEventAnalyzerRAW::triggerResultsTag_
const edm::InputTag triggerResultsTag_
Definition: HLTEventAnalyzerRAW.h:42
HLTEventAnalyzerRAW::pftauIds_
trigger::Vids pftauIds_
Definition: HLTEventAnalyzerRAW.h:100
trigger::TriggerEventWithRefs::filterIndex
size_type filterIndex(const edm::InputTag &filterTag) const
index from tag
Definition: TriggerEventWithRefs.h:223
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
HLTConfigProvider::size
unsigned int size() const
number of trigger paths in trigger table
Definition: HLTConfigProvider.h:63
l1extra::L1HFRings::kRing2PosEta
Definition: L1HFRings.h:33
HLTEventAnalyzerRAW::muonRefs_
trigger::VRmuon muonRefs_
Definition: HLTEventAnalyzerRAW.h:59
HLTEventAnalyzerRAW::l1ttkmuRefs_
trigger::VRl1ttkmuon l1ttkmuRefs_
Definition: HLTEventAnalyzerRAW.h:84
HLTEventAnalyzerRAW::triggerName_
const std::string triggerName_
Definition: HLTEventAnalyzerRAW.h:41
edm::ParameterSet
Definition: ParameterSet.h:47
HLTEventAnalyzerRAW::photonRefs_
trigger::VRphoton photonRefs_
Definition: HLTEventAnalyzerRAW.h:55
HLTEventAnalyzerRAW::jetRefs_
trigger::VRjet jetRefs_
Definition: HLTEventAnalyzerRAW.h:61
HLTEventAnalyzerRAW.h
HLTEventAnalyzerRAW::l1tpfjetIds_
trigger::Vids l1tpfjetIds_
Definition: HLTEventAnalyzerRAW.h:89
PFMET.h
HLTEventAnalyzerRAW::l1ttkemRefs_
trigger::VRl1ttkem l1ttkemRefs_
Definition: HLTEventAnalyzerRAW.h:88
TriggerNames.h
HLTEventAnalyzerRAW::l1muonIds_
trigger::Vids l1muonIds_
Definition: HLTEventAnalyzerRAW.h:73
iEvent
int iEvent
Definition: GenABIO.cc:224
PFTrack.h
HLTEventAnalyzerRAW::l1hfringsRefs_
trigger::VRl1hfrings l1hfringsRefs_
Definition: HLTEventAnalyzerRAW.h:80
TkEm.h
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
HLTEventAnalyzerRAW::photonIds_
trigger::Vids photonIds_
payload extracted from TriggerEventWithRefs
Definition: HLTEventAnalyzerRAW.h:54
edm::EventSetup
Definition: EventSetup.h:58
HLTEventAnalyzerRAW::triggerEventWithRefsTag_
const edm::InputTag triggerEventWithRefsTag_
Definition: HLTEventAnalyzerRAW.h:44
L1EmParticle.h
HLTEventAnalyzerRAW::electronIds_
trigger::Vids electronIds_
Definition: HLTEventAnalyzerRAW.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTConfigProvider::triggerIndex
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
Definition: HLTConfigProvider.h:73
HLTEventAnalyzerRAW::compositeRefs_
trigger::VRcomposite compositeRefs_
Definition: HLTEventAnalyzerRAW.h:63
HLTEventAnalyzerRAW::pftauRefs_
trigger::VRpftau pftauRefs_
Definition: HLTEventAnalyzerRAW.h:101
TkElectron.h
HLTEventAnalyzerRAW::triggerEventWithRefsToken_
const edm::EDGetTokenT< trigger::TriggerEventWithRefs > triggerEventWithRefsToken_
Definition: HLTEventAnalyzerRAW.h:45
HLTEventAnalyzerRAW::l1tpftauIds_
trigger::Vids l1tpftauIds_
Definition: HLTEventAnalyzerRAW.h:91
l1extra::L1HFRings::kRing2NegEta
Definition: L1HFRings.h:33
MET.h
HPSPFTau.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
Electron.h
std
Definition: JetResolutionObject.h:76
HLTEventAnalyzerRAW::basemetIds_
trigger::Vids basemetIds_
Definition: HLTEventAnalyzerRAW.h:64
RecoEcalCandidate.h
HLTConfigProvider::init
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
Definition: HLTConfigProvider.cc:36
L1MuonParticle.h
RecoChargedCandidate.h
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
HLTEventAnalyzerRAW::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: HLTEventAnalyzerRAW.cc:77
HLTEventAnalyzerRAW::triggerResultsToken_
const edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: HLTEventAnalyzerRAW.h:43
HLTEventAnalyzerRAW::l1thpspftauIds_
trigger::Vids l1thpspftauIds_
Definition: HLTEventAnalyzerRAW.h:93
l1extra::L1HFRings::kRing1NegEta
Definition: L1HFRings.h:33
HLTEventAnalyzerRAW::l1jetIds_
trigger::Vids l1jetIds_
Definition: HLTEventAnalyzerRAW.h:75
PFTau.h
edm::HLTGlobalStatus::accept
bool accept() const
Has at least one path accepted the event?
Definition: HLTGlobalStatus.h:49
trigger
Definition: HLTPrescaleTableCond.h:8
HLTConfigProvider::triggerName
const std::string & triggerName(unsigned int triggerIndex) const
Definition: HLTConfigProvider.h:70
l1extra::L1HFRings::kRing1PosEta
Definition: L1HFRings.h:33
L1EtMissParticle.h
HerwigMaxPtPartonFilter_cfi.moduleLabel
moduleLabel
Definition: HerwigMaxPtPartonFilter_cfi.py:4
HLTEventAnalyzerRAW::calometRefs_
trigger::VRcalomet calometRefs_
Definition: HLTEventAnalyzerRAW.h:67
HLTEventAnalyzerRAW::l1ttkemIds_
trigger::Vids l1ttkemIds_
Definition: HLTEventAnalyzerRAW.h:87
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
HLTEventAnalyzerRAW::processName_
const std::string processName_
module config parameters
Definition: HLTEventAnalyzerRAW.h:40
HLTObjectsMonitor_cfi.TriggerResults
TriggerResults
Definition: HLTObjectsMonitor_cfi.py:9
edm::Event
Definition: Event.h:73
HLTEventAnalyzerRAW::pfjetIds_
trigger::Vids pfjetIds_
Definition: HLTEventAnalyzerRAW.h:98
L1JetParticle.h
TriggerResultsByName.h
edm::InputTag
Definition: InputTag.h:15
HLTEventAnalyzerRAW::l1tpftrackRefs_
trigger::VRl1tpftrack l1tpftrackRefs_
Definition: HLTEventAnalyzerRAW.h:96
PFJet.h
PDWG_DiPhoton_SD_cff.triggerName
triggerName
Definition: PDWG_DiPhoton_SD_cff.py:37
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443