CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PATTriggerEventProducer.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PatAlgos_PATTriggerEventProducer_h
2 #define PhysicsTools_PatAlgos_PATTriggerEventProducer_h
3 
4 
5 // -*- C++ -*-
6 //
7 // Package: PatAlgos
8 // Class: pat::PATTriggerEventProducer
9 //
10 //
33 
34 #include <string>
35 #include <vector>
36 
39 
45 
46 
47 namespace pat {
48 
50 
51  public:
52 
53  explicit PATTriggerEventProducer( const edm::ParameterSet & iConfig );
55 
56  private:
57 
58  virtual void beginRun(const edm::Run & iRun, const edm::EventSetup& iSetup) override;
59  virtual void beginLuminosityBlock(const edm::LuminosityBlock & iLumi, const edm::EventSetup& iSetup) override;
60  virtual void produce( edm::Event & iEvent, const edm::EventSetup& iSetup) override;
61 
62  std::string nameProcess_; // configuration
64  edm::InputTag tagTriggerProducer_; // configuration (optional with default)
70  std::vector< edm::InputTag > tagsTriggerMatcher_; // configuration (optional)
71  std::vector< edm::EDGetTokenT< TriggerObjectStandAloneMatch > > triggerMatcherTokens_;
72  // L1
73  edm::InputTag tagL1Gt_; // configuration (optional with default)
75  // HLT
78  edm::InputTag tagTriggerResults_; // configuration (optional with default)
79 // edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_;
80  edm::InputTag tagTriggerEvent_; // configuration (optional with default)
81  // Conditions
82  edm::InputTag tagCondGt_; // configuration (optional with default)
90 
91  };
92 
93 }
94 
95 
96 #endif
edm::EDGetTokenT< TriggerConditionCollection > triggerConditionCollectionToken_
edm::EDGetTokenT< edm::ConditionsInLumiBlock > tagCondGtLumiToken_
Produces the central entry point to full PAT trigger information.
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
int iEvent
Definition: GenABIO.cc:243
PATTriggerEventProducer(const edm::ParameterSet &iConfig)
edm::EDGetTokenT< TriggerObjectCollection > triggerObjectCollectionToken_
std::vector< edm::EDGetTokenT< TriggerObjectStandAloneMatch > > triggerMatcherTokens_
std::vector< edm::InputTag > tagsTriggerMatcher_
virtual void beginLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GtToken_
edm::ConditionsInRunBlock condRun_
edm::EDGetTokenT< edm::ConditionsInRunBlock > tagCondGtRunToken_
edm::EDGetTokenT< edm::ConditionsInEventBlock > tagCondGtEventToken_
edm::ConditionsInLumiBlock condLumi_
virtual void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< TriggerFilterCollection > triggerFilterCollectionToken_
Definition: Run.h:41
edm::EDGetTokenT< TriggerPathCollection > triggerPathCollectionToken_
edm::EDGetTokenT< TriggerAlgorithmCollection > triggerAlgorithmCollectionToken_