Main Page
Namespaces
Classes
Package Documentation
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/Frameworkfwd.h
"
6
#include "
FWCore/Framework/interface/Event.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 "
FWCore/ServiceRegistry/interface/Service.h
"
21
#include "
DQMServices/Core/interface/MonitorElement.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
();
37
void
dqmBeginRun
(
const
edm::Run
& iRun,
const
edm::EventSetup
& iSetup)
override
;
38
39
private
:
40
virtual
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
edm::EDGetTokenT<edm::TriggerResults>
hlTriggerResults_
;
45
edm::EDGetTokenT<std::vector<SimVertex>
>
simVertexCollection_
;
46
std::vector<std::string>
hltPathNames_
;
47
HLTConfigProvider
hltConfigProvider_
;
48
bool
triggerConfChanged_
;
49
50
std::vector<edm::EDGetTokenT<reco::VertexCollection> >
VertexCollection_
;
51
std::vector<int>
hltPathIndexs_
;
52
53
// other class variables
54
std::vector<bool>
_isfoundHLTs
;
55
std::vector<std::string>
folders
;
56
std::vector< std::map<std::string, MonitorElement *> >
H1_
;
57
58
edm::EDConsumerBase::Labels
label
;
59
std::vector<std::string>
VertexCollection_Label
;
60
std::string
hlTriggerResults_Label
;
61
};
62
63
#endif
HLTVertexPerformanceAnalyzer::label
edm::EDConsumerBase::Labels label
Definition:
HLTVertexPerformanceAnalyzer.h:58
HLTVertexPerformanceAnalyzer::hlTriggerResults_Label
std::string hlTriggerResults_Label
Definition:
HLTVertexPerformanceAnalyzer.h:60
edm::ProductLabels
Definition:
ProductLabels.h:4
HLTVertexPerformanceAnalyzer::~HLTVertexPerformanceAnalyzer
~HLTVertexPerformanceAnalyzer()
Definition:
HLTVertexPerformanceAnalyzer.cc:23
HLTVertexPerformanceAnalyzer::simVertexCollection_
edm::EDGetTokenT< std::vector< SimVertex > > simVertexCollection_
Definition:
HLTVertexPerformanceAnalyzer.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
TriggerResults.h
MakerMacros.h
HLTVertexPerformanceAnalyzer::dqmBeginRun
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition:
HLTVertexPerformanceAnalyzer.cc:28
HLTVertexPerformanceAnalyzer::folders
std::vector< std::string > folders
Definition:
HLTVertexPerformanceAnalyzer.h:55
HLTVertexPerformanceAnalyzer::hltConfigProvider_
HLTConfigProvider hltConfigProvider_
Definition:
HLTVertexPerformanceAnalyzer.h:47
VertexFwd.h
edm::EDGetTokenT< edm::TriggerResults >
Frameworkfwd.h
HLTVertexPerformanceAnalyzer::hlTriggerResults_
edm::EDGetTokenT< edm::TriggerResults > hlTriggerResults_
Definition:
HLTVertexPerformanceAnalyzer.h:44
ParameterSet.h
DQMEDAnalyzer.h
Service.h
SimVertex.h
HLTVertexPerformanceAnalyzer::triggerConfChanged_
bool triggerConfChanged_
Definition:
HLTVertexPerformanceAnalyzer.h:48
edm::EventSetup
Definition:
EventSetup.h:45
HLTVertexPerformanceAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
HLTVertexPerformanceAnalyzer.cc:62
transform.h
Vertex.h
HLTVertexPerformanceAnalyzer::_isfoundHLTs
std::vector< bool > _isfoundHLTs
Definition:
HLTVertexPerformanceAnalyzer.h:54
HLTVertexPerformanceAnalyzer::VertexCollection_Label
std::vector< std::string > VertexCollection_Label
Definition:
HLTVertexPerformanceAnalyzer.h:59
HLTVertexPerformanceAnalyzer::hltPathNames_
std::vector< std::string > hltPathNames_
Definition:
HLTVertexPerformanceAnalyzer.h:46
HLTConfigProvider.h
HLTVertexPerformanceAnalyzer
Definition:
HLTVertexPerformanceAnalyzer.h:33
MonitorElement.h
HLTVertexPerformanceAnalyzer::VertexCollection_
std::vector< edm::EDGetTokenT< reco::VertexCollection > > VertexCollection_
Definition:
HLTVertexPerformanceAnalyzer.h:50
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.h:20
HLTVertexPerformanceAnalyzer::H1_
std::vector< std::map< std::string, MonitorElement * > > H1_
Definition:
HLTVertexPerformanceAnalyzer.h:56
edm::ParameterSet
Definition:
ParameterSet.h:36
HLTVertexPerformanceAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
HLTVertexPerformanceAnalyzer.cc:119
HLTConfigProvider
Definition:
HLTConfigProvider.h:28
edm::Event
Definition:
Event.h:66
HLTVertexPerformanceAnalyzer::hltPathIndexs_
std::vector< int > hltPathIndexs_
Definition:
HLTVertexPerformanceAnalyzer.h:51
DQMStore::IBooker
Definition:
DQMStore.h:90
HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer
HLTVertexPerformanceAnalyzer(const edm::ParameterSet &)
Definition:
HLTVertexPerformanceAnalyzer.cc:6
edm::Run
Definition:
Run.h:42
Generated for CMSSW Reference Manual by
1.8.11