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