Main Page
Namespaces
Classes
Package Documentation
DQMOffline
JetMET
interface
HTMHTAnalyzer.h
Go to the documentation of this file.
1
#ifndef HTMHTAnalyzer_H
2
#define HTMHTAnalyzer_H
3
4
13
#include <memory>
14
#include <fstream>
15
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/Framework/interface/MakerMacros.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
FWCore/ServiceRegistry/interface/Service.h
"
20
#include "
DQMServices/Core/interface/DQMStore.h
"
21
#include "
DQMServices/Core/interface/MonitorElement.h
"
22
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
23
#include "
DataFormats/JetReco/interface/CaloJet.h
"
24
//
25
#include "
DataFormats/HLTReco/interface/TriggerObject.h
"
26
#include "
DataFormats/Common/interface/TriggerResults.h
"
27
#include "
DataFormats/HLTReco/interface/TriggerEvent.h
"
28
#include "
DataFormats/HLTReco/interface/TriggerTypeDefs.h
"
29
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
30
31
class
HTMHTAnalyzer
:
public
DQMEDAnalyzer
{
32
public
:
33
35
HTMHTAnalyzer
(
const
edm::ParameterSet
&);
36
38
virtual
~HTMHTAnalyzer
();
39
40
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
42
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&,
43
const
edm::TriggerResults
&);
44
45
int
evtCounter
;
46
47
private
:
48
// ----------member data ---------------------------
49
50
edm::ParameterSet
parameters
;
51
// Switch for verbosity
52
int
_verbose
;
53
54
std::string
metname
;
55
56
std::string
_source
;
57
58
edm::InputTag
theJetCollectionForHTMHTLabel
;
59
60
// list of Jet or MB HLT triggers
61
std::vector<std::string >
HLTPathsJetMBByName_
;
62
63
int
_trig_JetMB
;
64
65
// Pt threshold for Jets
66
double
_ptThreshold
;
67
68
//the histos
69
MonitorElement
*
jetME
;
70
71
MonitorElement
*
hNevents
;
72
73
MonitorElement
*
hNJets
;
74
75
MonitorElement
*
hMHx
;
76
MonitorElement
*
hMHy
;
77
MonitorElement
*
hMHT
;
78
MonitorElement
*
hMHTPhi
;
79
80
MonitorElement
*
hHT
;
81
82
};
83
#endif
HTMHTAnalyzer::hHT
MonitorElement * hHT
Definition:
HTMHTAnalyzer.h:80
TriggerEvent.h
HTMHTAnalyzer::hMHT
MonitorElement * hMHT
Definition:
HTMHTAnalyzer.h:77
HTMHTAnalyzer::_verbose
int _verbose
Definition:
HTMHTAnalyzer.h:52
HTMHTAnalyzer::metname
std::string metname
Definition:
HTMHTAnalyzer.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
TriggerResults.h
HTMHTAnalyzer::HTMHTAnalyzer
HTMHTAnalyzer(const edm::ParameterSet &)
Constructor.
Definition:
HTMHTAnalyzer.cc:29
CaloJetCollection.h
MakerMacros.h
HTMHTAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &, const edm::TriggerResults &)
Get the analysis.
Definition:
HTMHTAnalyzer.cc:75
HTMHTAnalyzer
Definition:
HTMHTAnalyzer.h:31
HTMHTAnalyzer::hMHTPhi
MonitorElement * hMHTPhi
Definition:
HTMHTAnalyzer.h:78
Frameworkfwd.h
HTMHTAnalyzer::parameters
edm::ParameterSet parameters
Definition:
HTMHTAnalyzer.h:50
ParameterSet.h
HTMHTAnalyzer::~HTMHTAnalyzer
virtual ~HTMHTAnalyzer()
Destructor.
Definition:
HTMHTAnalyzer.cc:37
HTMHTAnalyzer::_source
std::string _source
Definition:
HTMHTAnalyzer.h:56
HTMHTAnalyzer::_ptThreshold
double _ptThreshold
Definition:
HTMHTAnalyzer.h:66
DQMEDAnalyzer.h
DQMStore.h
HTMHTAnalyzer::hNevents
MonitorElement * hNevents
Definition:
HTMHTAnalyzer.h:71
Service.h
HTMHTAnalyzer::_trig_JetMB
int _trig_JetMB
Definition:
HTMHTAnalyzer.h:63
edm::EventSetup
Definition:
EventSetup.h:44
HTMHTAnalyzer::HLTPathsJetMBByName_
std::vector< std::string > HLTPathsJetMBByName_
Definition:
HTMHTAnalyzer.h:61
MonitorElement
Definition:
MonitorElement.h:37
HTMHTAnalyzer::jetME
MonitorElement * jetME
Definition:
HTMHTAnalyzer.h:69
HTMHTAnalyzer::hMHy
MonitorElement * hMHy
Definition:
HTMHTAnalyzer.h:76
HTMHTAnalyzer::hNJets
MonitorElement * hNJets
Definition:
HTMHTAnalyzer.h:73
MonitorElement.h
edm::InputTag
Definition:
InputTag.h:15
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.h:20
edm::ParameterSet
Definition:
ParameterSet.h:36
HTMHTAnalyzer::evtCounter
int evtCounter
Definition:
HTMHTAnalyzer.h:45
TriggerTypeDefs.h
CaloJet.h
edm::Event
Definition:
Event.h:66
HTMHTAnalyzer::hMHx
MonitorElement * hMHx
Definition:
HTMHTAnalyzer.h:75
edm::TriggerResults
Definition:
TriggerResults.h:37
HTMHTAnalyzer::theJetCollectionForHTMHTLabel
edm::InputTag theJetCollectionForHTMHTLabel
Definition:
HTMHTAnalyzer.h:58
DQMStore::IBooker
Definition:
DQMStore.h:90
edm::Run
Definition:
Run.h:42
HTMHTAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
HTMHTAnalyzer.cc:41
TriggerObject.h
Generated for CMSSW Reference Manual by
1.8.11