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 // -*- C++ -*-
5 //
6 // Package: PatAlgos
7 // Class: pat::PATTriggerEventProducer
8 //
9 //
32 
33 #include <string>
34 #include <vector>
35 
38 
44 
45 namespace pat {
46 
48  public:
49  explicit PATTriggerEventProducer(const edm::ParameterSet& iConfig);
51 
52  private:
53  void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
54  void beginLuminosityBlock(const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup) override;
55  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
56 
57  std::string nameProcess_; // configuration
59  edm::InputTag tagTriggerProducer_; // configuration (optional with default)
65  std::vector<edm::InputTag> tagsTriggerMatcher_; // configuration (optional)
66  std::vector<edm::EDGetTokenT<TriggerObjectStandAloneMatch> > triggerMatcherTokens_;
67  // L1
68  edm::InputTag tagL1Gt_; // configuration (optional with default)
70  // HLT
73  edm::InputTag tagTriggerResults_; // configuration (optional with default)
75  edm::InputTag tagTriggerEvent_; // configuration (optional with default)
76  // Conditions
77  edm::InputTag tagCondGt_; // configuration (optional with default)
85  };
86 
87 } // namespace pat
88 
89 #endif
edm::EDGetTokenT< TriggerObjectCollection > triggerObjectCollectionToken_
std::vector< edm::EDGetTokenT< TriggerObjectStandAloneMatch > > triggerMatcherTokens_
edm::EDGetTokenT< edm::ConditionsInLumiBlock > tagCondGtLumiToken_
edm::EDGetTokenT< TriggerConditionCollection > triggerConditionCollectionToken_
edm::GetterOfProducts< edm::TriggerResults > triggerResultsGetter_
edm::EDGetTokenT< TriggerPathCollection > triggerPathCollectionToken_
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
edm::EDGetTokenT< edm::ConditionsInEventBlock > tagCondGtEventToken_
PATTriggerEventProducer(const edm::ParameterSet &iConfig)
edm::EDGetTokenT< edm::ConditionsInRunBlock > tagCondGtRunToken_
void beginLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GtToken_
edm::EDGetTokenT< TriggerAlgorithmCollection > triggerAlgorithmCollectionToken_
edm::ConditionsInRunBlock condRun_
std::vector< edm::InputTag > tagsTriggerMatcher_
edm::EDGetTokenT< TriggerFilterCollection > triggerFilterCollectionToken_
edm::ConditionsInLumiBlock condLumi_
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition: Run.h:45