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
pat::PATTriggerEventProducer::tagCondGtRunToken_
edm::EDGetTokenT< edm::ConditionsInRunBlock > tagCondGtRunToken_
Definition: PATTriggerEventProducer.h:78
pat::PATTriggerEventProducer::tagTriggerProducer_
edm::InputTag tagTriggerProducer_
Definition: PATTriggerEventProducer.h:59
pat::PATTriggerEventProducer::gtCondRunInit_
bool gtCondRunInit_
Definition: PATTriggerEventProducer.h:83
pat::PATTriggerEventProducer::triggerPathCollectionToken_
edm::EDGetTokenT< TriggerPathCollection > triggerPathCollectionToken_
Definition: PATTriggerEventProducer.h:62
edm::ConditionsInLumiBlock
Definition: ConditionsInEdm.h:7
pat::PATTriggerEventProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: PATTriggerEventProducer.cc:171
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< TriggerAlgorithmCollection >
pat::PATTriggerEventProducer::beginRun
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition: PATTriggerEventProducer.cc:87
pat::PATTriggerEventProducer::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override
Definition: PATTriggerEventProducer.cc:152
pat::PATTriggerEventProducer::condRun_
edm::ConditionsInRunBlock condRun_
Definition: PATTriggerEventProducer.h:81
GetterOfProducts.h
EDProducer.h
pat::PATTriggerEventProducer::gtCondLumiInit_
bool gtCondLumiInit_
Definition: PATTriggerEventProducer.h:84
pat::PATTriggerEventProducer::tagCondGtLumiToken_
edm::EDGetTokenT< edm::ConditionsInLumiBlock > tagCondGtLumiToken_
Definition: PATTriggerEventProducer.h:79
pat::PATTriggerEventProducer::triggerConditionCollectionToken_
edm::EDGetTokenT< TriggerConditionCollection > triggerConditionCollectionToken_
Definition: PATTriggerEventProducer.h:61
pat::PATTriggerEventProducer::triggerObjectCollectionToken_
edm::EDGetTokenT< TriggerObjectCollection > triggerObjectCollectionToken_
Definition: PATTriggerEventProducer.h:64
pat::PATTriggerEventProducer::triggerAlgorithmCollectionToken_
edm::EDGetTokenT< TriggerAlgorithmCollection > triggerAlgorithmCollectionToken_
Definition: PATTriggerEventProducer.h:60
pat::PATTriggerEventProducer::~PATTriggerEventProducer
~PATTriggerEventProducer() override
Definition: PATTriggerEventProducer.h:50
pat::PATTriggerEventProducer::tagsTriggerMatcher_
std::vector< edm::InputTag > tagsTriggerMatcher_
Definition: PATTriggerEventProducer.h:65
pat::PATTriggerEventProducer::condLumi_
edm::ConditionsInLumiBlock condLumi_
Definition: PATTriggerEventProducer.h:82
pat::PATTriggerEventProducer
Produces the central entry point to full PAT trigger information.
Definition: PATTriggerEventProducer.h:47
pat::PATTriggerEventProducer::tagL1Gt_
edm::InputTag tagL1Gt_
Definition: PATTriggerEventProducer.h:68
pat::PATTriggerEventProducer::nameProcess_
std::string nameProcess_
Definition: PATTriggerEventProducer.h:57
pat::PATTriggerEventProducer::tagCondGt_
edm::InputTag tagCondGt_
Definition: PATTriggerEventProducer.h:77
pat::PATTriggerEventProducer::tagTriggerEvent_
edm::InputTag tagTriggerEvent_
Definition: PATTriggerEventProducer.h:75
edm::ConditionsInRunBlock
Definition: ConditionsInEdm.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pat::PATTriggerEventProducer::l1GtToken_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GtToken_
Definition: PATTriggerEventProducer.h:69
pat::PATTriggerEventProducer::hltConfigInit_
bool hltConfigInit_
Definition: PATTriggerEventProducer.h:72
edm::ParameterSet
Definition: ParameterSet.h:47
pat::PATTriggerEventProducer::tagTriggerResults_
edm::InputTag tagTriggerResults_
Definition: PATTriggerEventProducer.h:73
pat::PATTriggerEventProducer::triggerMatcherTokens_
std::vector< edm::EDGetTokenT< TriggerObjectStandAloneMatch > > triggerMatcherTokens_
Definition: PATTriggerEventProducer.h:66
pat::PATTriggerEventProducer::triggerFilterCollectionToken_
edm::EDGetTokenT< TriggerFilterCollection > triggerFilterCollectionToken_
Definition: PATTriggerEventProducer.h:63
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::GetterOfProducts< edm::TriggerResults >
pat::PATTriggerEventProducer::autoProcessName_
bool autoProcessName_
Definition: PATTriggerEventProducer.h:58
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
pat
Definition: HeavyIon.h:7
HLTConfigProvider.h
InputTag.h
HLTConfigProvider
Definition: HLTConfigProvider.h:29
pat::PATTriggerEventProducer::hltConfig_
HLTConfigProvider hltConfig_
Definition: PATTriggerEventProducer.h:71
TriggerEvent.h
ConditionsInEdm.h
Frameworkfwd.h
pat::PATTriggerEventProducer::triggerResultsGetter_
edm::GetterOfProducts< edm::TriggerResults > triggerResultsGetter_
Definition: PATTriggerEventProducer.h:74
ParameterSet.h
edm::Event
Definition: Event.h:73
pat::PATTriggerEventProducer::tagCondGtEventToken_
edm::EDGetTokenT< edm::ConditionsInEventBlock > tagCondGtEventToken_
Definition: PATTriggerEventProducer.h:80
TriggerObjectStandAlone.h
edm::InputTag
Definition: InputTag.h:15
L1GlobalTriggerReadoutRecord.h
pat::PATTriggerEventProducer::PATTriggerEventProducer
PATTriggerEventProducer(const edm::ParameterSet &iConfig)
Definition: PATTriggerEventProducer.cc:26