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