HLTriggerOffline
Btag
interface
HLTVertexPerformanceAnalyzer.h
Go to the documentation of this file.
1
#ifndef HLTVertexPerformanceAnalyzer_H
2
#define HLTVertexPerformanceAnalyzer_H
3
4
// user include files
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Framework/interface/MakerMacros.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
// Trigger
11
#include "
DataFormats/Common/interface/TriggerResults.h
"
12
#include "
HLTrigger/HLTcore/interface/HLTConfigProvider.h
"
13
14
// Vertex
15
#include "
DataFormats/VertexReco/interface/Vertex.h
"
16
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
17
#include <
SimDataFormats/Vertex/interface/SimVertex.h
>
18
19
// DQM services
20
#include "
DQMServices/Core/interface/DQMStore.h
"
21
#include "
FWCore/ServiceRegistry/interface/Service.h
"
22
#include <
DQMServices/Core/interface/DQMEDAnalyzer.h
>
23
24
#include "
FWCore/Utilities/interface/transform.h
"
25
33
class
HLTVertexPerformanceAnalyzer
:
public
DQMEDAnalyzer
{
34
public
:
35
explicit
HLTVertexPerformanceAnalyzer
(
const
edm::ParameterSet
&);
36
~HLTVertexPerformanceAnalyzer
()
override
;
37
void
dqmBeginRun
(
const
edm::Run
&iRun,
const
edm::EventSetup
&iSetup)
override
;
38
39
private
:
40
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
41
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
42
43
// variables from python configuration
44
std::string
mainFolder_
;
45
edm::EDGetTokenT<edm::TriggerResults>
hlTriggerResults_
;
46
edm::EDGetTokenT<std::vector<SimVertex>
>
simVertexCollection_
;
47
std::vector<std::string>
hltPathNames_
;
48
HLTConfigProvider
hltConfigProvider_
;
49
bool
triggerConfChanged_
;
50
51
std::vector<edm::EDGetTokenT<reco::VertexCollection>>
VertexCollection_
;
52
std::vector<int>
hltPathIndexs_
;
53
54
// other class variables
55
std::vector<bool>
_isfoundHLTs
;
56
std::vector<std::string>
folders
;
57
std::vector<std::map<std::string, MonitorElement *>>
H1_
;
58
59
edm::EDConsumerBase::Labels
label
;
60
std::vector<std::string>
VertexCollection_Label
;
61
std::string
hlTriggerResults_Label
;
62
};
63
64
#endif
HLTVertexPerformanceAnalyzer::simVertexCollection_
edm::EDGetTokenT< std::vector< SimVertex > > simVertexCollection_
Definition:
HLTVertexPerformanceAnalyzer.h:46
HLTVertexPerformanceAnalyzer::dqmBeginRun
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition:
HLTVertexPerformanceAnalyzer.cc:26
HLTVertexPerformanceAnalyzer::folders
std::vector< std::string > folders
Definition:
HLTVertexPerformanceAnalyzer.h:56
HLTVertexPerformanceAnalyzer::hltPathIndexs_
std::vector< int > hltPathIndexs_
Definition:
HLTVertexPerformanceAnalyzer.h:52
TriggerResults.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< edm::TriggerResults >
DQMStore.h
MakerMacros.h
HLTVertexPerformanceAnalyzer::hltConfigProvider_
HLTConfigProvider hltConfigProvider_
Definition:
HLTVertexPerformanceAnalyzer.h:48
Service.h
SimVertex.h
HLTVertexPerformanceAnalyzer::_isfoundHLTs
std::vector< bool > _isfoundHLTs
Definition:
HLTVertexPerformanceAnalyzer.h:55
HLTVertexPerformanceAnalyzer
Definition:
HLTVertexPerformanceAnalyzer.h:33
HLTVertexPerformanceAnalyzer::hlTriggerResults_
edm::EDGetTokenT< edm::TriggerResults > hlTriggerResults_
Definition:
HLTVertexPerformanceAnalyzer.h:45
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
HLTVertexPerformanceAnalyzer::VertexCollection_Label
std::vector< std::string > VertexCollection_Label
Definition:
HLTVertexPerformanceAnalyzer.h:60
HLTVertexPerformanceAnalyzer::mainFolder_
std::string mainFolder_
Definition:
HLTVertexPerformanceAnalyzer.h:44
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HLTVertexPerformanceAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
HLTVertexPerformanceAnalyzer.cc:56
edm::EventSetup
Definition:
EventSetup.h:57
HLTConfigProvider.h
HLTVertexPerformanceAnalyzer::triggerConfChanged_
bool triggerConfChanged_
Definition:
HLTVertexPerformanceAnalyzer.h:49
VertexFwd.h
HLTConfigProvider
Definition:
HLTConfigProvider.h:29
Frameworkfwd.h
transform.h
HLTVertexPerformanceAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
HLTVertexPerformanceAnalyzer.cc:125
HLTVertexPerformanceAnalyzer::VertexCollection_
std::vector< edm::EDGetTokenT< reco::VertexCollection > > VertexCollection_
Definition:
HLTVertexPerformanceAnalyzer.h:51
dqm::implementation::IBooker
Definition:
DQMStore.h:43
HLTVertexPerformanceAnalyzer::hlTriggerResults_Label
std::string hlTriggerResults_Label
Definition:
HLTVertexPerformanceAnalyzer.h:61
HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer
HLTVertexPerformanceAnalyzer(const edm::ParameterSet &)
Definition:
HLTVertexPerformanceAnalyzer.cc:6
HLTVertexPerformanceAnalyzer::~HLTVertexPerformanceAnalyzer
~HLTVertexPerformanceAnalyzer() override
Definition:
HLTVertexPerformanceAnalyzer.cc:24
ParameterSet.h
HLTVertexPerformanceAnalyzer::hltPathNames_
std::vector< std::string > hltPathNames_
Definition:
HLTVertexPerformanceAnalyzer.h:47
edm::Event
Definition:
Event.h:73
HLTVertexPerformanceAnalyzer::label
edm::EDConsumerBase::Labels label
Definition:
HLTVertexPerformanceAnalyzer.h:59
edm::ProductLabels
Definition:
ProductLabels.h:4
HLTVertexPerformanceAnalyzer::H1_
std::vector< std::map< std::string, MonitorElement * > > H1_
Definition:
HLTVertexPerformanceAnalyzer.h:57
Generated for CMSSW Reference Manual by
1.8.16