CMS 3D CMS Logo

TriggerCandProducer.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_TagAndProbe_TriggerCandProducer_h
2 #define PhysicsTools_TagAndProbe_TriggerCandProducer_h
3 
4 // system include files
5 #include <memory>
6 
7 // user include files
15 
20 
21 
22 // forward declarations
23 template<class object>
25 {
26  public:
27  explicit TriggerCandProducer(const edm::ParameterSet&);
29 
30  private:
31  virtual void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup) override;
32  virtual void beginJob() override;
33  virtual void produce(edm::Event&, const edm::EventSetup&) override;
34  virtual void endJob() override;
35 
36  // ----------member data --------------------------
37 
44  std::vector<edm::InputTag> hltTags_;
47  double objEtMin_;
48  double objEtaMax_;
53  bool isFilter_;
56  bool changed_;
58  bool skipEvent_;
60 };
61 #include "PhysicsTools/TagAndProbe//src/TriggerCandProducer.icc"
62 #endif
edm::InputTag theRightHLTTag_
edm::InputTag _inputProducer
edm::InputTag triggerEventTag_
edm::InputTag triggerResultsTag_
virtual void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
edm::EDGetTokenT< trigger::TriggerEvent > triggerEventToken_
virtual void produce(edm::Event &, const edm::EventSetup &) override
TriggerCandProducer(const edm::ParameterSet &)
virtual void beginJob() override
HLTPrescaleProvider hltPrescaleProvider_
std::vector< edm::InputTag > hltTags_
edm::EDGetTokenT< edm::View< object > > _inputProducerToken
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: Run.h:43
virtual void endJob() override