Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQMOffline
JetMET
interface
JetMETAnalyzer.h
Go to the documentation of this file.
1
#ifndef JetMETAnalyzer_H
2
#define JetMETAnalyzer_H
3
4
14
#include <memory>
15
#include <fstream>
16
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
17
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/MakerMacros.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
FWCore/ServiceRegistry/interface/Service.h
"
22
#include "
DQMServices/Core/interface/DQMStore.h
"
23
#include "
DQMServices/Core/interface/MonitorElement.h
"
24
25
#include "
DataFormats/Common/interface/TriggerResults.h
"
26
#include "
DataFormats/HLTReco/interface/TriggerEvent.h
"
27
#include "
DataFormats/HLTReco/interface/TriggerObject.h
"
28
#include "
DataFormats/HLTReco/interface/TriggerTypeDefs.h
"
29
#include "
HLTrigger/HLTcore/interface/HLTConfigProvider.h
"
30
//
31
#include "
CommonTools/TriggerUtils/interface/GenericTriggerEventFlag.h
"
32
//
33
#include "
DQMOffline/JetMET/interface/JetAnalyzer.h
"
34
#include "
DQMOffline/JetMET/interface/JetPtAnalyzer.h
"
35
#include "
DQMOffline/JetMET/interface/PFJetAnalyzer.h
"
36
#include "
DQMOffline/JetMET/interface/JPTJetAnalyzer.h
"
37
#include "
DQMOffline/JetMET/interface/CaloMETAnalyzer.h
"
38
#include "
DQMOffline/JetMET/interface/METAnalyzer.h
"
39
#include "
DQMOffline/JetMET/interface/PFMETAnalyzer.h
"
40
#include "
DQMOffline/JetMET/interface/HTMHTAnalyzer.h
"
41
42
#include "
DQMOffline/JetMET/interface/JetMETDQMDCSFilter.h
"
43
44
#include "
DataFormats/VertexReco/interface/Vertex.h
"
45
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
46
47
#include "
DataFormats/Scalers/interface/DcsStatus.h
"
48
49
class
JetMETAnalyzer
:
public
edm::EDAnalyzer
{
50
public
:
51
53
JetMETAnalyzer
(
const
edm::ParameterSet
&);
54
56
virtual
~JetMETAnalyzer
();
57
59
void
beginJob
(
void
);
60
62
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
63
65
void
endJob
(
void
);
66
68
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&);
69
71
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&);
72
73
74
private
:
75
// ----------member data ---------------------------
76
77
DQMStore
*
dbe
;
78
edm::ParameterSet
parameters
;
79
std::string
metname
;
80
81
edm::InputTag
theCaloJetCollectionLabel
;
82
edm::InputTag
theAKJetCollectionLabel
;
83
edm::InputTag
theSCJetCollectionLabel
;
84
edm::InputTag
theICJetCollectionLabel
;
85
edm::InputTag
thePFJetCollectionLabel
;
86
edm::InputTag
theJPTJetCollectionLabel
;
87
edm::InputTag
theTriggerResultsLabel
;
88
89
90
//Cleaning parameters
91
edm::ParameterSet
theCleaningParameters
;
92
edm::InputTag
_theVertexLabel
;
93
edm::InputTag
_theGTLabel
;
94
std::string
_hlt_PhysDec
;
95
96
bool
_hlt_initialized
;
97
98
std::vector<unsigned >
_techTrigsAND
;
99
std::vector<unsigned >
_techTrigsOR
;
100
std::vector<unsigned >
_techTrigsNOT
;
101
102
bool
_doPVCheck
;
103
bool
_doHLTPhysicsOn
;
104
105
bool
_tightBHFiltering
;
106
107
int
_nvtx_min
;
108
int
_vtxndof_min
;
109
int
_nvtxtrks_min
;
110
double
_vtxchi2_max
;
111
double
_vtxz_max
;
112
//
113
114
int
_LSBegin
;
115
int
_LSEnd
;
116
117
HLTConfigProvider
hltConfig_
;
118
std::string
processname_
;
119
120
//MonitorElement* hltpathME;
121
MonitorElement
*
lumisecME
;
122
MonitorElement
*
cleanupME
;
123
MonitorElement
*
verticesME
;
124
125
GenericTriggerEventFlag
*
_HighPtJetEventFlag
;
126
GenericTriggerEventFlag
*
_LowPtJetEventFlag
;
127
128
std::vector<std::string>
highPtJetExpr_
;
129
std::vector<std::string>
lowPtJetExpr_
;
130
131
bool
theJetAnalyzerFlag
;
132
bool
theIConeJetAnalyzerFlag
;
133
bool
theSConeJetAnalyzerFlag
;
134
bool
theJetCleaningFlag
;
135
136
bool
theJetPtAnalyzerFlag
;
137
bool
theJetPtCleaningFlag
;
138
139
bool
thePFJetAnalyzerFlag
;
140
bool
thePFJetCleaningFlag
;
141
142
bool
theDiJetSelectionFlag
;
143
144
bool
theJPTJetAnalyzerFlag
;
145
bool
theJPTJetCleaningFlag
;
146
147
bool
theCaloMETAnalyzerFlag
;
148
149
bool
theTcMETAnalyzerFlag
;
150
151
bool
theMuCorrMETAnalyzerFlag
;
152
153
bool
thePfMETAnalyzerFlag
;
154
155
bool
theHTMHTAnalyzerFlag
;
156
157
// the jet analyzer
158
JetAnalyzer
*
theJetAnalyzer
;
159
JetAnalyzer
*
theAKJetAnalyzer
;
160
JetAnalyzer
*
theSCJetAnalyzer
;
161
JetAnalyzer
*
theICJetAnalyzer
;
162
JetAnalyzer
*
theCleanedAKJetAnalyzer
;
163
JetAnalyzer
*
theCleanedSCJetAnalyzer
;
164
JetAnalyzer
*
theCleanedICJetAnalyzer
;
165
JetAnalyzer
*
theDiJetAnalyzer
;
166
167
JPTJetAnalyzer
*
theJPTJetAnalyzer
;
168
JPTJetAnalyzer
*
theCleanedJPTJetAnalyzer
;
169
170
PFJetAnalyzer
*
thePFJetAnalyzer
;
171
PFJetAnalyzer
*
theCleanedPFJetAnalyzer
;
172
PFJetAnalyzer
*
thePFDiJetAnalyzer
;
173
174
JetPtAnalyzer
*
thePtAKJetAnalyzer
;
175
JetPtAnalyzer
*
thePtSCJetAnalyzer
;
176
JetPtAnalyzer
*
thePtICJetAnalyzer
;
177
JetPtAnalyzer
*
theCleanedPtAKJetAnalyzer
;
178
JetPtAnalyzer
*
theCleanedPtSCJetAnalyzer
;
179
JetPtAnalyzer
*
theCleanedPtICJetAnalyzer
;
180
181
CaloMETAnalyzer
*
theCaloMETAnalyzer
;
182
//CaloMETAnalyzer * theCaloMETNoHFAnalyzer;
183
//CaloMETAnalyzer * theCaloMETHOAnalyzer;
184
//CaloMETAnalyzer * theCaloMETNoHFHOAnalyzer;
185
CaloMETAnalyzer
*
theMuCorrMETAnalyzer
;
186
187
METAnalyzer
*
theTcMETAnalyzer
;
188
189
PFMETAnalyzer
*
thePfMETAnalyzer
;
190
191
HTMHTAnalyzer
*
theHTMHTAnalyzer
;
192
193
JetMETDQMDCSFilter
*
DCSFilterCalo
;
194
JetMETDQMDCSFilter
*
DCSFilterPF
;
195
JetMETDQMDCSFilter
*
DCSFilterJPT
;
196
JetMETDQMDCSFilter
*
DCSFilterAll
;
197
198
};
199
#endif
JetMETAnalyzer::_techTrigsAND
std::vector< unsigned > _techTrigsAND
Definition:
JetMETAnalyzer.h:98
JetMETAnalyzer::theHTMHTAnalyzerFlag
bool theHTMHTAnalyzerFlag
Definition:
JetMETAnalyzer.h:155
JetMETAnalyzer::theJetCleaningFlag
bool theJetCleaningFlag
Definition:
JetMETAnalyzer.h:134
JetMETAnalyzer::highPtJetExpr_
std::vector< std::string > highPtJetExpr_
Definition:
JetMETAnalyzer.h:128
JetMETAnalyzer::DCSFilterPF
JetMETDQMDCSFilter * DCSFilterPF
Definition:
JetMETAnalyzer.h:194
JetMETAnalyzer::thePfMETAnalyzerFlag
bool thePfMETAnalyzerFlag
Definition:
JetMETAnalyzer.h:153
JetMETAnalyzer::thePFJetCleaningFlag
bool thePFJetCleaningFlag
Definition:
JetMETAnalyzer.h:140
JetMETAnalyzer::theTcMETAnalyzer
METAnalyzer * theTcMETAnalyzer
Definition:
JetMETAnalyzer.h:187
JetMETAnalyzer::theSConeJetAnalyzerFlag
bool theSConeJetAnalyzerFlag
Definition:
JetMETAnalyzer.h:133
JetMETAnalyzer::verticesME
MonitorElement * verticesME
Definition:
JetMETAnalyzer.h:123
JetMETAnalyzer::_techTrigsOR
std::vector< unsigned > _techTrigsOR
Definition:
JetMETAnalyzer.h:99
TriggerEvent.h
JetMETAnalyzer::theJPTJetAnalyzerFlag
bool theJPTJetAnalyzerFlag
Definition:
JetMETAnalyzer.h:144
JetMETAnalyzer::endJob
void endJob(void)
Save the histos.
Definition:
JetMETAnalyzer.cc:814
JetMETAnalyzer::theAKJetAnalyzer
JetAnalyzer * theAKJetAnalyzer
Definition:
JetMETAnalyzer.h:159
JetMETAnalyzer::thePfMETAnalyzer
PFMETAnalyzer * thePfMETAnalyzer
Definition:
JetMETAnalyzer.h:189
JetMETAnalyzer::theCleaningParameters
edm::ParameterSet theCleaningParameters
Definition:
JetMETAnalyzer.h:91
JetMETAnalyzer::theCaloJetCollectionLabel
edm::InputTag theCaloJetCollectionLabel
Definition:
JetMETAnalyzer.h:81
JetMETAnalyzer::theAKJetCollectionLabel
edm::InputTag theAKJetCollectionLabel
Definition:
JetMETAnalyzer.h:82
JetMETAnalyzer::JetMETAnalyzer
JetMETAnalyzer(const edm::ParameterSet &)
Constructor.
Definition:
JetMETAnalyzer.cc:36
JetMETAnalyzer::theCleanedJPTJetAnalyzer
JPTJetAnalyzer * theCleanedJPTJetAnalyzer
Definition:
JetMETAnalyzer.h:168
JetMETAnalyzer::endRun
void endRun(const edm::Run &, const edm::EventSetup &)
Finish up a run.
Definition:
JetMETAnalyzer.cc:409
JetMETAnalyzer::_LowPtJetEventFlag
GenericTriggerEventFlag * _LowPtJetEventFlag
Definition:
JetMETAnalyzer.h:126
JetMETAnalyzer::dbe
DQMStore * dbe
Definition:
JetMETAnalyzer.h:77
CaloMETAnalyzer
Definition:
CaloMETAnalyzer.h:52
Event.h
TriggerResults.h
JetMETAnalyzer::lowPtJetExpr_
std::vector< std::string > lowPtJetExpr_
Definition:
JetMETAnalyzer.h:129
MakerMacros.h
JetMETAnalyzer::_LSBegin
int _LSBegin
Definition:
JetMETAnalyzer.h:114
JetMETAnalyzer::theJetAnalyzer
JetAnalyzer * theJetAnalyzer
Definition:
JetMETAnalyzer.h:158
PFMETAnalyzer
Definition:
PFMETAnalyzer.h:50
HTMHTAnalyzer
Definition:
HTMHTAnalyzer.h:31
JetMETAnalyzer::theCleanedSCJetAnalyzer
JetAnalyzer * theCleanedSCJetAnalyzer
Definition:
JetMETAnalyzer.h:163
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition:
GenericTriggerEventFlag.h:39
JetMETAnalyzer::_doHLTPhysicsOn
bool _doHLTPhysicsOn
Definition:
JetMETAnalyzer.h:103
VertexFwd.h
JetMETAnalyzer::theICJetAnalyzer
JetAnalyzer * theICJetAnalyzer
Definition:
JetMETAnalyzer.h:161
JetMETAnalyzer::theCleanedAKJetAnalyzer
JetAnalyzer * theCleanedAKJetAnalyzer
Definition:
JetMETAnalyzer.h:162
JetAnalyzer.h
JetMETAnalyzer::_vtxchi2_max
double _vtxchi2_max
Definition:
JetMETAnalyzer.h:110
JetMETAnalyzer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &)
Initialize run-based parameters.
Definition:
JetMETAnalyzer.cc:348
JetMETAnalyzer::lumisecME
MonitorElement * lumisecME
Definition:
JetMETAnalyzer.h:121
Frameworkfwd.h
JetMETAnalyzer::theMuCorrMETAnalyzerFlag
bool theMuCorrMETAnalyzerFlag
Definition:
JetMETAnalyzer.h:151
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
JetMETAnalyzer::_tightBHFiltering
bool _tightBHFiltering
Definition:
JetMETAnalyzer.h:105
JetMETAnalyzer::theCleanedPtAKJetAnalyzer
JetPtAnalyzer * theCleanedPtAKJetAnalyzer
Definition:
JetMETAnalyzer.h:177
JetMETAnalyzer::thePFJetAnalyzerFlag
bool thePFJetAnalyzerFlag
Definition:
JetMETAnalyzer.h:139
ParameterSet.h
JetMETAnalyzer::theJetPtAnalyzerFlag
bool theJetPtAnalyzerFlag
Definition:
JetMETAnalyzer.h:136
JetMETAnalyzer::theIConeJetAnalyzerFlag
bool theIConeJetAnalyzerFlag
Definition:
JetMETAnalyzer.h:132
JetMETAnalyzer::thePFJetCollectionLabel
edm::InputTag thePFJetCollectionLabel
Definition:
JetMETAnalyzer.h:85
JetMETAnalyzer::theJPTJetCollectionLabel
edm::InputTag theJPTJetCollectionLabel
Definition:
JetMETAnalyzer.h:86
JetMETAnalyzer::_vtxndof_min
int _vtxndof_min
Definition:
JetMETAnalyzer.h:108
DQMStore
Definition:
DQMStore.h:70
JetMETAnalyzer::theCaloMETAnalyzerFlag
bool theCaloMETAnalyzerFlag
Definition:
JetMETAnalyzer.h:147
JetMETAnalyzer::theSCJetCollectionLabel
edm::InputTag theSCJetCollectionLabel
Definition:
JetMETAnalyzer.h:83
JetMETAnalyzer::theJetAnalyzerFlag
bool theJetAnalyzerFlag
Definition:
JetMETAnalyzer.h:131
JetAnalyzer
Definition:
JetAnalyzer.h:39
JetMETAnalyzer::hltConfig_
HLTConfigProvider hltConfig_
Definition:
JetMETAnalyzer.h:117
HTMHTAnalyzer.h
JetMETAnalyzer::theJetPtCleaningFlag
bool theJetPtCleaningFlag
Definition:
JetMETAnalyzer.h:137
GenericTriggerEventFlag.h
JetPtAnalyzer
Definition:
JetPtAnalyzer.h:35
JetMETAnalyzer::_theVertexLabel
edm::InputTag _theVertexLabel
Definition:
JetMETAnalyzer.h:92
JetMETAnalyzer::theICJetCollectionLabel
edm::InputTag theICJetCollectionLabel
Definition:
JetMETAnalyzer.h:84
DQMStore.h
PFJetAnalyzer.h
JetMETAnalyzer::theJPTJetCleaningFlag
bool theJPTJetCleaningFlag
Definition:
JetMETAnalyzer.h:145
Service.h
JetMETAnalyzer::theMuCorrMETAnalyzer
CaloMETAnalyzer * theMuCorrMETAnalyzer
Definition:
JetMETAnalyzer.h:185
edm::EventSetup
Definition:
EventSetup.h:44
JetMETAnalyzer::beginJob
void beginJob(void)
Inizialize parameters for histo binning.
Definition:
JetMETAnalyzer.cc:280
JetMETAnalyzer::metname
std::string metname
Definition:
JetMETAnalyzer.h:79
JetMETAnalyzer::theDiJetSelectionFlag
bool theDiJetSelectionFlag
Definition:
JetMETAnalyzer.h:142
JetMETAnalyzer::theTriggerResultsLabel
edm::InputTag theTriggerResultsLabel
Definition:
JetMETAnalyzer.h:87
edm::EDAnalyzer
Definition:
EDAnalyzer.h:22
EDAnalyzer.h
Vertex.h
JetMETAnalyzer::theCleanedICJetAnalyzer
JetAnalyzer * theCleanedICJetAnalyzer
Definition:
JetMETAnalyzer.h:164
JetMETAnalyzer::_hlt_PhysDec
std::string _hlt_PhysDec
Definition:
JetMETAnalyzer.h:94
JetMETDQMDCSFilter
Definition:
JetMETDQMDCSFilter.h:11
JetMETAnalyzer::DCSFilterAll
JetMETDQMDCSFilter * DCSFilterAll
Definition:
JetMETAnalyzer.h:196
MonitorElement
Definition:
MonitorElement.h:34
METAnalyzer.h
JetMETAnalyzer::_hlt_initialized
bool _hlt_initialized
Definition:
JetMETAnalyzer.h:96
JetMETAnalyzer::theJPTJetAnalyzer
JPTJetAnalyzer * theJPTJetAnalyzer
Definition:
JetMETAnalyzer.h:167
JetMETAnalyzer::processname_
std::string processname_
Definition:
JetMETAnalyzer.h:118
JPTJetAnalyzer.h
JetMETAnalyzer::thePtAKJetAnalyzer
JetPtAnalyzer * thePtAKJetAnalyzer
Definition:
JetMETAnalyzer.h:174
JetMETAnalyzer::theCleanedPFJetAnalyzer
PFJetAnalyzer * theCleanedPFJetAnalyzer
Definition:
JetMETAnalyzer.h:171
JetMETDQMDCSFilter.h
JetMETAnalyzer::_techTrigsNOT
std::vector< unsigned > _techTrigsNOT
Definition:
JetMETAnalyzer.h:100
JetMETAnalyzer::theTcMETAnalyzerFlag
bool theTcMETAnalyzerFlag
Definition:
JetMETAnalyzer.h:149
JetMETAnalyzer
Definition:
JetMETAnalyzer.h:49
HLTConfigProvider.h
JetMETAnalyzer::thePtICJetAnalyzer
JetPtAnalyzer * thePtICJetAnalyzer
Definition:
JetMETAnalyzer.h:176
JetMETAnalyzer::_LSEnd
int _LSEnd
Definition:
JetMETAnalyzer.h:115
MonitorElement.h
JetMETAnalyzer::theCleanedPtICJetAnalyzer
JetPtAnalyzer * theCleanedPtICJetAnalyzer
Definition:
JetMETAnalyzer.h:179
JetMETAnalyzer::_doPVCheck
bool _doPVCheck
Definition:
JetMETAnalyzer.h:102
METAnalyzer
Definition:
METAnalyzer.h:53
edm::InputTag
Definition:
InputTag.h:17
JetMETAnalyzer::theCleanedPtSCJetAnalyzer
JetPtAnalyzer * theCleanedPtSCJetAnalyzer
Definition:
JetMETAnalyzer.h:178
JetMETAnalyzer::_theGTLabel
edm::InputTag _theGTLabel
Definition:
JetMETAnalyzer.h:93
JetMETAnalyzer::_HighPtJetEventFlag
GenericTriggerEventFlag * _HighPtJetEventFlag
Definition:
JetMETAnalyzer.h:125
JetMETAnalyzer::theDiJetAnalyzer
JetAnalyzer * theDiJetAnalyzer
Definition:
JetMETAnalyzer.h:165
JetMETAnalyzer::thePtSCJetAnalyzer
JetPtAnalyzer * thePtSCJetAnalyzer
Definition:
JetMETAnalyzer.h:175
JPTJetAnalyzer
JPT jet analyzer class definition.
Definition:
JPTJetAnalyzer.h:45
JetMETAnalyzer::_nvtx_min
int _nvtx_min
Definition:
JetMETAnalyzer.h:107
PFMETAnalyzer.h
JetMETAnalyzer::_vtxz_max
double _vtxz_max
Definition:
JetMETAnalyzer.h:111
edm::ParameterSet
Definition:
ParameterSet.h:35
JetMETAnalyzer::DCSFilterCalo
JetMETDQMDCSFilter * DCSFilterCalo
Definition:
JetMETAnalyzer.h:193
HLTConfigProvider
Definition:
HLTConfigProvider.h:32
CaloMETAnalyzer.h
JetMETAnalyzer::~JetMETAnalyzer
virtual ~JetMETAnalyzer()
Destructor.
Definition:
JetMETAnalyzer.cc:224
TriggerTypeDefs.h
JetMETAnalyzer::parameters
edm::ParameterSet parameters
Definition:
JetMETAnalyzer.h:78
edm::Event
Definition:
Event.h:62
JetMETAnalyzer::cleanupME
MonitorElement * cleanupME
Definition:
JetMETAnalyzer.h:122
JetMETAnalyzer::thePFDiJetAnalyzer
PFJetAnalyzer * thePFDiJetAnalyzer
Definition:
JetMETAnalyzer.h:172
JetMETAnalyzer::DCSFilterJPT
JetMETDQMDCSFilter * DCSFilterJPT
Definition:
JetMETAnalyzer.h:195
JetMETAnalyzer::theSCJetAnalyzer
JetAnalyzer * theSCJetAnalyzer
Definition:
JetMETAnalyzer.h:160
DcsStatus.h
edm::Run
Definition:
Run.h:41
JetMETAnalyzer::thePFJetAnalyzer
PFJetAnalyzer * thePFJetAnalyzer
Definition:
JetMETAnalyzer.h:170
PFJetAnalyzer
Definition:
PFJetAnalyzer.h:30
JetMETAnalyzer::theCaloMETAnalyzer
CaloMETAnalyzer * theCaloMETAnalyzer
Definition:
JetMETAnalyzer.h:181
JetMETAnalyzer::_nvtxtrks_min
int _nvtxtrks_min
Definition:
JetMETAnalyzer.h:109
JetPtAnalyzer.h
JetMETAnalyzer::theHTMHTAnalyzer
HTMHTAnalyzer * theHTMHTAnalyzer
Definition:
JetMETAnalyzer.h:191
TriggerObject.h
JetMETAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &)
Get the analysis.
Definition:
JetMETAnalyzer.cc:430
Generated for CMSSW Reference Manual by
1.8.5