src
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::label
edm::EDConsumerBase::Labels label
Definition:
HLTVertexPerformanceAnalyzer.h:59
HLTVertexPerformanceAnalyzer::hlTriggerResults_Label
std::string hlTriggerResults_Label
Definition:
HLTVertexPerformanceAnalyzer.h:61
Vertex.h
HLTVertexPerformanceAnalyzer::~HLTVertexPerformanceAnalyzer
~HLTVertexPerformanceAnalyzer() override
Definition:
HLTVertexPerformanceAnalyzer.cc:24
edm::ProductLabels
Definition:
ProductLabels.h:4
HLTVertexPerformanceAnalyzer::simVertexCollection_
edm::EDGetTokenT< std::vector< SimVertex > > simVertexCollection_
Definition:
HLTVertexPerformanceAnalyzer.h:46
HLTVertexPerformanceAnalyzer::H1_
std::vector< std::map< std::string, MonitorElement * > > H1_
Definition:
HLTVertexPerformanceAnalyzer.h:57
Event.h
TriggerResults.h
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::hltConfigProvider_
HLTConfigProvider hltConfigProvider_
Definition:
HLTVertexPerformanceAnalyzer.h:48
VertexFwd.h
edm::EDGetTokenT< edm::TriggerResults >
Frameworkfwd.h
HLTVertexPerformanceAnalyzer::hlTriggerResults_
edm::EDGetTokenT< edm::TriggerResults > hlTriggerResults_
Definition:
HLTVertexPerformanceAnalyzer.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DQMEDAnalyzer.h
DQMStore.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
Service.h
SimVertex.h
HLTVertexPerformanceAnalyzer::triggerConfChanged_
bool triggerConfChanged_
Definition:
HLTVertexPerformanceAnalyzer.h:49
edm::EventSetup
Definition:
EventSetup.h:56
HLTVertexPerformanceAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
HLTVertexPerformanceAnalyzer.cc:56
transform.h
HLTVertexPerformanceAnalyzer::mainFolder_
std::string mainFolder_
Definition:
HLTVertexPerformanceAnalyzer.h:44
HLTVertexPerformanceAnalyzer::_isfoundHLTs
std::vector< bool > _isfoundHLTs
Definition:
HLTVertexPerformanceAnalyzer.h:55
HLTVertexPerformanceAnalyzer::VertexCollection_Label
std::vector< std::string > VertexCollection_Label
Definition:
HLTVertexPerformanceAnalyzer.h:60
HLTVertexPerformanceAnalyzer::hltPathNames_
std::vector< std::string > hltPathNames_
Definition:
HLTVertexPerformanceAnalyzer.h:47
HLTConfigProvider.h
HLTVertexPerformanceAnalyzer
Definition:
HLTVertexPerformanceAnalyzer.h:33
HLTVertexPerformanceAnalyzer::VertexCollection_
std::vector< edm::EDGetTokenT< reco::VertexCollection > > VertexCollection_
Definition:
HLTVertexPerformanceAnalyzer.h:51
edm::ParameterSet
Definition:
ParameterSet.h:48
HLTVertexPerformanceAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
HLTVertexPerformanceAnalyzer.cc:125
HLTConfigProvider
Definition:
HLTConfigProvider.h:30
edm::Event
Definition:
Event.h:73
HLTVertexPerformanceAnalyzer::hltPathIndexs_
std::vector< int > hltPathIndexs_
Definition:
HLTVertexPerformanceAnalyzer.h:52
MakerMacros.h
HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer
HLTVertexPerformanceAnalyzer(const edm::ParameterSet &)
Definition:
HLTVertexPerformanceAnalyzer.cc:6
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.14