Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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 "
DQMOffline/JetMET/interface/JetAnalyzerBase.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
FWCore/ServiceRegistry/interface/Service.h
"
21
#include "
DQMServices/Core/interface/DQMStore.h
"
22
#include "
DQMServices/Core/interface/MonitorElement.h
"
23
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
24
#include "
DataFormats/JetReco/interface/CaloJet.h
"
25
//
26
#include "
DataFormats/HLTReco/interface/TriggerObject.h
"
27
#include "
DataFormats/Common/interface/TriggerResults.h
"
28
#include "
DataFormats/HLTReco/interface/TriggerEvent.h
"
29
#include "
DataFormats/HLTReco/interface/TriggerTypeDefs.h
"
30
31
class
HTMHTAnalyzer
:
public
JetAnalyzerBase
{
32
public
:
33
35
HTMHTAnalyzer
(
const
edm::ParameterSet
&);
36
38
virtual
~HTMHTAnalyzer
();
39
41
void
beginJob
(
DQMStore
* dbe);
42
44
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&,
45
const
edm::TriggerResults
&);
46
47
int
evtCounter
;
48
49
private
:
50
// ----------member data ---------------------------
51
52
edm::ParameterSet
parameters
;
53
// Switch for verbosity
54
int
_verbose
;
55
56
std::string
metname
;
57
58
std::string
_source
;
59
60
edm::InputTag
theJetCollectionForHTMHTLabel
;
61
62
// list of Jet or MB HLT triggers
63
std::vector<std::string >
HLTPathsJetMBByName_
;
64
65
int
_trig_JetMB
;
66
67
// Pt threshold for Jets
68
double
_ptThreshold
;
69
70
//the histos
71
MonitorElement
*
jetME
;
72
73
MonitorElement
*
hNevents
;
74
75
MonitorElement
*
hNJets
;
76
77
MonitorElement
*
hMHx
;
78
MonitorElement
*
hMHy
;
79
MonitorElement
*
hMHT
;
80
MonitorElement
*
hMHTPhi
;
81
82
MonitorElement
*
hHT
;
83
84
};
85
#endif
HTMHTAnalyzer::hHT
MonitorElement * hHT
Definition:
HTMHTAnalyzer.h:82
TriggerEvent.h
HTMHTAnalyzer::hMHT
MonitorElement * hMHT
Definition:
HTMHTAnalyzer.h:79
HTMHTAnalyzer::_verbose
int _verbose
Definition:
HTMHTAnalyzer.h:54
HTMHTAnalyzer::metname
std::string metname
Definition:
HTMHTAnalyzer.h:56
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:72
HTMHTAnalyzer
Definition:
HTMHTAnalyzer.h:31
HTMHTAnalyzer::hMHTPhi
MonitorElement * hMHTPhi
Definition:
HTMHTAnalyzer.h:80
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HTMHTAnalyzer::parameters
edm::ParameterSet parameters
Definition:
HTMHTAnalyzer.h:52
ParameterSet.h
HTMHTAnalyzer::~HTMHTAnalyzer
virtual ~HTMHTAnalyzer()
Destructor.
Definition:
HTMHTAnalyzer.cc:37
DQMStore
Definition:
DQMStore.h:70
HTMHTAnalyzer::_source
std::string _source
Definition:
HTMHTAnalyzer.h:58
HTMHTAnalyzer::_ptThreshold
double _ptThreshold
Definition:
HTMHTAnalyzer.h:68
DQMStore.h
HTMHTAnalyzer::hNevents
MonitorElement * hNevents
Definition:
HTMHTAnalyzer.h:73
Service.h
HTMHTAnalyzer::_trig_JetMB
int _trig_JetMB
Definition:
HTMHTAnalyzer.h:65
edm::EventSetup
Definition:
EventSetup.h:44
HTMHTAnalyzer::HLTPathsJetMBByName_
std::vector< std::string > HLTPathsJetMBByName_
Definition:
HTMHTAnalyzer.h:63
MonitorElement
Definition:
MonitorElement.h:34
HTMHTAnalyzer::jetME
MonitorElement * jetME
Definition:
HTMHTAnalyzer.h:71
HTMHTAnalyzer::hMHy
MonitorElement * hMHy
Definition:
HTMHTAnalyzer.h:78
HTMHTAnalyzer::hNJets
MonitorElement * hNJets
Definition:
HTMHTAnalyzer.h:75
JetAnalyzerBase
Definition:
JetAnalyzerBase.h:24
HTMHTAnalyzer::beginJob
void beginJob(DQMStore *dbe)
Inizialize parameters for histo binning.
Definition:
HTMHTAnalyzer.cc:39
MonitorElement.h
JetAnalyzerBase.h
edm::InputTag
Definition:
InputTag.h:17
edm::ParameterSet
Definition:
ParameterSet.h:35
HTMHTAnalyzer::evtCounter
int evtCounter
Definition:
HTMHTAnalyzer.h:47
TriggerTypeDefs.h
CaloJet.h
edm::Event
Definition:
Event.h:62
HTMHTAnalyzer::hMHx
MonitorElement * hMHx
Definition:
HTMHTAnalyzer.h:77
edm::TriggerResults
Definition:
TriggerResults.h:37
HTMHTAnalyzer::theJetCollectionForHTMHTLabel
edm::InputTag theJetCollectionForHTMHTLabel
Definition:
HTMHTAnalyzer.h:60
TriggerObject.h
Generated for CMSSW Reference Manual by
1.8.5