Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ICTriggerPathProducer.hh
Go to the documentation of this file.
1 #ifndef UserCode_ICHiggsTauTau_ICTriggerPathProducer_h
2 #define UserCode_ICHiggsTauTau_ICTriggerPathProducer_h
3 
4 #include <memory>
5 #include "FWCore/Framework/interface/Frameworkfwd.h"
6 #include "FWCore/Framework/interface/EDProducer.h"
7 #include "FWCore/Framework/interface/Event.h"
8 #include "FWCore/Framework/interface/MakerMacros.h"
9 #include "FWCore/ParameterSet/interface/ParameterSet.h"
11 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
12 
16 class ICTriggerPathProducer : public edm::EDProducer {
17  public:
18  explicit ICTriggerPathProducer(const edm::ParameterSet &);
20 
21  private:
22  virtual void beginJob();
23  virtual void produce(edm::Event &, const edm::EventSetup &);
24  virtual void beginRun(edm::Run const& run, edm::EventSetup const& es);
25  virtual void endJob();
26 
27  void SetNameInfo(std::string name, ic::TriggerPath *path);
28 
29  std::vector<ic::TriggerPath> *paths_;
30  edm::InputTag input_;
31  std::string branch_;
32  bool include_if_fired_;
33  bool save_strings_;
34  bool split_version_;
35  bool input_is_standalone_;
36  edm::InputTag input_prescales_;
37  std::string hlt_process_;
38  bool prescale_fallback_;
39  std::map<std::string, std::size_t> observed_paths_;
40 
41  HLTConfigProvider hlt_config_;
42 };
43 
44 #endif
Information on a trigger path, including accept, prescale and version information.
Definition: TriggerPath.hh:13
ICTriggerPathProducer(const edm::ParameterSet &)
See documentation here.