CMS 3D CMS Logo

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 //
34 
35 #include <string>
36 #include <vector>
37 
40 
46 
47 
48 namespace pat {
49 
51 
52  public:
53 
54  explicit PATTriggerEventProducer( const edm::ParameterSet & iConfig );
55  ~PATTriggerEventProducer() override {};
56 
57  private:
58 
59  void beginRun(const edm::Run & iRun, const edm::EventSetup& iSetup) override;
60  void beginLuminosityBlock(const edm::LuminosityBlock & iLumi, const edm::EventSetup& iSetup) override;
61  void produce( edm::Event & iEvent, const edm::EventSetup& iSetup) override;
62 
63  std::string nameProcess_; // configuration
65  edm::InputTag tagTriggerProducer_; // configuration (optional with default)
71  std::vector< edm::InputTag > tagsTriggerMatcher_; // configuration (optional)
72  std::vector< edm::EDGetTokenT< TriggerObjectStandAloneMatch > > triggerMatcherTokens_;
73  // L1
74  edm::InputTag tagL1Gt_; // configuration (optional with default)
76  // HLT
79  edm::InputTag tagTriggerResults_; // configuration (optional with default)
81  edm::InputTag tagTriggerEvent_; // configuration (optional with default)
82  // Conditions
83  edm::InputTag tagCondGt_; // configuration (optional with default)
91 
92  };
93 
94 }
95 
96 
97 #endif
edm::EDGetTokenT< TriggerConditionCollection > triggerConditionCollectionToken_
edm::EDGetTokenT< edm::ConditionsInLumiBlock > tagCondGtLumiToken_
Produces the central entry point to full PAT trigger information.
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: HeavyIon.h:7
int iEvent
Definition: GenABIO.cc:224
PATTriggerEventProducer(const edm::ParameterSet &iConfig)
edm::GetterOfProducts< edm::TriggerResults > triggerResultsGetter_
edm::EDGetTokenT< TriggerObjectCollection > triggerObjectCollectionToken_
std::vector< edm::EDGetTokenT< TriggerObjectStandAloneMatch > > triggerMatcherTokens_
std::vector< edm::InputTag > tagsTriggerMatcher_
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_
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< TriggerFilterCollection > triggerFilterCollectionToken_
Definition: Run.h:45
edm::EDGetTokenT< TriggerPathCollection > triggerPathCollectionToken_
edm::EDGetTokenT< TriggerAlgorithmCollection > triggerAlgorithmCollectionToken_