DPGAnalysis
Skims
interface
TriggerMatchProducer.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_TagAndProbe_TriggerMatchProducer_h
2
#define PhysicsTools_TagAndProbe_TriggerMatchProducer_h
3
4
// system include files
5
#include <memory>
6
7
// user include files
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
FWCore/Framework/interface/EDProducer.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
DataFormats/Candidate/interface/ShallowCloneCandidate.h
"
13
#include "
HLTrigger/HLTcore/interface/HLTPrescaleProvider.h
"
14
15
#include "
DataFormats/HLTReco/interface/TriggerObject.h
"
16
#include "
DataFormats/Common/interface/TriggerResults.h
"
17
#include "
DataFormats/HLTReco/interface/TriggerEvent.h
"
18
19
#include <string>
20
21
// forward declarations
22
template
<
class
object
>
23
class
TriggerMatchProducer
:
public
edm::EDProducer
{
24
public
:
25
explicit
TriggerMatchProducer
(
const
edm::ParameterSet
&);
26
~TriggerMatchProducer
()
override
;
27
28
private
:
29
void
beginRun
(
edm::Run
const
& iRun,
edm::EventSetup
const
& iSetup)
override
;
30
void
beginJob
()
override
;
31
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
32
void
endJob
()
override
;
33
34
// ----------member data --------------------------
35
36
edm::InputTag
_inputProducer
;
37
edm::EDGetTokenT<edm::View<object>
>
_inputProducerToken
;
38
edm::InputTag
triggerEventTag_
;
39
edm::EDGetTokenT<trigger::TriggerEvent>
triggerEventToken_
;
40
edm::InputTag
triggerResultsTag_
;
41
edm::EDGetTokenT<edm::TriggerResults>
triggerResultsToken_
;
42
std::string
hltTag_
;
43
double
delRMatchingCut_
;
44
std::string
filterName_
;
45
bool
storeRefCollection_
;
46
// bool isFilter_;
47
// bool printIndex_;
48
bool
changed_
;
49
HLTPrescaleProvider
hltPrescaleProvider_
;
50
};
51
#include "DPGAnalysis/Skims/src/TriggerMatchProducer.icc"
52
#endif
TriggerMatchProducer::triggerEventTag_
edm::InputTag triggerEventTag_
Definition:
TriggerMatchProducer.h:38
TriggerMatchProducer::TriggerMatchProducer
TriggerMatchProducer(const edm::ParameterSet &)
TriggerMatchProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
EDProducer.h
TriggerResults.h
edm::Run
Definition:
Run.h:45
TriggerEvent.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
TriggerMatchProducer::beginRun
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
TriggerMatchProducer::filterName_
std::string filterName_
Definition:
TriggerMatchProducer.h:44
TriggerMatchProducer::storeRefCollection_
bool storeRefCollection_
Definition:
TriggerMatchProducer.h:45
TriggerMatchProducer::hltPrescaleProvider_
HLTPrescaleProvider hltPrescaleProvider_
Definition:
TriggerMatchProducer.h:49
TriggerMatchProducer::changed_
bool changed_
Definition:
TriggerMatchProducer.h:48
TriggerMatchProducer::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition:
TriggerMatchProducer.h:41
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TriggerMatchProducer::triggerEventToken_
edm::EDGetTokenT< trigger::TriggerEvent > triggerEventToken_
Definition:
TriggerMatchProducer.h:39
TriggerMatchProducer::_inputProducer
edm::InputTag _inputProducer
Definition:
TriggerMatchProducer.h:36
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
TriggerMatchProducer::hltTag_
std::string hltTag_
Definition:
TriggerMatchProducer.h:42
TriggerMatchProducer::triggerResultsTag_
edm::InputTag triggerResultsTag_
Definition:
TriggerMatchProducer.h:40
TriggerMatchProducer::delRMatchingCut_
double delRMatchingCut_
Definition:
TriggerMatchProducer.h:43
HLTPrescaleProvider
Definition:
HLTPrescaleProvider.h:37
TriggerMatchProducer
Definition:
TriggerMatchProducer.h:23
edm::EventSetup
Definition:
EventSetup.h:57
TriggerObject.h
ShallowCloneCandidate.h
TriggerMatchProducer::endJob
void endJob() override
Frameworkfwd.h
TriggerMatchProducer::~TriggerMatchProducer
~TriggerMatchProducer() override
TriggerMatchProducer::_inputProducerToken
edm::EDGetTokenT< edm::View< object > > _inputProducerToken
Definition:
TriggerMatchProducer.h:37
HLTPrescaleProvider.h
edm::EDProducer
Definition:
EDProducer.h:36
ParameterSet.h
TriggerMatchProducer::beginJob
void beginJob() override
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16