RecoJets
JetAnalyzers
interface
DijetMass.h
Go to the documentation of this file.
1
#ifndef RecoExamples_DijetMass_h
2
#define RecoExamples_DijetMass_h
3
#include <TH1.h>
4
#include <TProfile.h>
5
#include <TH2.h>
6
7
#include <vector>
8
#include <map>
9
10
class
TFile;
11
12
/* \class DijetMass
13
*
14
* \author Robert Harris
15
*
16
* Kalanand Mishra (November 22, 2009):
17
Modified and cleaned up to work in 3.3.X
18
*
19
*/
20
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
21
22
template
<
class
Jet>
23
class
DijetMass
:
public
edm::one::EDAnalyzer
<> {
24
public
:
25
DijetMass
(
const
edm::ParameterSet
&);
26
27
private
:
28
typedef
std::vector<Jet>
JetCollection
;
29
//Framwework stuff
30
void
beginJob
()
override
;
31
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
32
void
endJob
()
override
;
33
34
// Parameters passed via the config file
35
double
PtHistMax
;
// Maximum edge of Pt histograms
36
double
EtaMax
;
37
std::string
histogramFile
;
38
std::string
AKJets
;
39
std::string
AKCorJets
;
40
std::string
ICJets
;
41
std::string
ICCorJets
;
42
std::string
SCJets
;
43
std::string
SCCorJets
;
44
std::string
KTJets
;
45
std::string
KTCorJets
;
46
47
//Simple Hists
48
TH1F
ptAKunc
,
etaAKunc
,
phiAKunc
,
m2jAKunc
;
49
TH1F
ptAKcor
,
etaAKcor
,
phiAKcor
,
m2jAKcor
;
50
TH1F
ptICunc
,
etaICunc
,
phiICunc
,
m2jICunc
;
51
TH1F
ptICcor
,
etaICcor
,
phiICcor
,
m2jICcor
;
52
TH1F
ptKTunc
,
etaKTunc
,
phiKTunc
,
m2jKTunc
;
53
TH1F
ptKTcor
,
etaKTcor
,
phiKTcor
,
m2jKTcor
;
54
TH1F
ptSCunc
,
etaSCunc
,
phiSCunc
,
m2jSCunc
;
55
TH1F
ptSCcor
,
etaSCcor
,
phiSCcor
,
m2jSCcor
;
56
57
//Histo File
58
TFile*
m_file
;
59
60
//Internal parameters
61
int
evtCount
;
62
int
numJets
;
63
};
64
65
#endif
DijetMass::numJets
int numJets
Definition:
DijetMass.h:62
DijetMass::phiSCcor
TH1F phiSCcor
Definition:
DijetMass.h:55
DijetMass::phiICunc
TH1F phiICunc
Definition:
DijetMass.h:50
DijetMass::etaICcor
TH1F etaICcor
Definition:
DijetMass.h:51
DijetMass
Definition:
DijetMass.h:23
DijetMass::ptKTcor
TH1F ptKTcor
Definition:
DijetMass.h:53
DijetMass::m2jAKcor
TH1F m2jAKcor
Definition:
DijetMass.h:49
DijetMass::ptKTunc
TH1F ptKTunc
Definition:
DijetMass.h:52
DijetMass::AKCorJets
std::string AKCorJets
Definition:
DijetMass.h:39
DijetMass::ptSCunc
TH1F ptSCunc
Definition:
DijetMass.h:54
DijetMass::phiICcor
TH1F phiICcor
Definition:
DijetMass.h:51
DijetMass::KTJets
std::string KTJets
Definition:
DijetMass.h:44
DijetMass::ptICcor
TH1F ptICcor
Definition:
DijetMass.h:51
DijetMass::phiSCunc
TH1F phiSCunc
Definition:
DijetMass.h:54
DijetMass::etaSCunc
TH1F etaSCunc
Definition:
DijetMass.h:54
DijetMass::SCJets
std::string SCJets
Definition:
DijetMass.h:42
DijetMass::m2jKTunc
TH1F m2jKTunc
Definition:
DijetMass.h:52
DijetMass::etaICunc
TH1F etaICunc
Definition:
DijetMass.h:50
DijetMass::ptAKunc
TH1F ptAKunc
Definition:
DijetMass.h:48
DijetMass::etaKTcor
TH1F etaKTcor
Definition:
DijetMass.h:53
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DijetMass::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
DijetMass.cc:107
DijetMass::endJob
void endJob() override
Definition:
DijetMass.cc:254
DijetMass::m2jKTcor
TH1F m2jKTcor
Definition:
DijetMass.h:53
DijetMass::KTCorJets
std::string KTCorJets
Definition:
DijetMass.h:45
DijetMass::m2jSCunc
TH1F m2jSCunc
Definition:
DijetMass.h:54
DijetMass::m2jSCcor
TH1F m2jSCcor
Definition:
DijetMass.h:55
DijetMass::phiKTcor
TH1F phiKTcor
Definition:
DijetMass.h:53
DijetMass::etaAKunc
TH1F etaAKunc
Definition:
DijetMass.h:48
DijetMass::evtCount
int evtCount
Definition:
DijetMass.h:61
DijetMass::m_file
TFile * m_file
Definition:
DijetMass.h:58
DijetMass::ptICunc
TH1F ptICunc
Definition:
DijetMass.h:50
DijetMass::JetCollection
std::vector< Jet > JetCollection
Definition:
DijetMass.h:28
edm::EventSetup
Definition:
EventSetup.h:56
DijetMass::AKJets
std::string AKJets
Definition:
DijetMass.h:38
DijetMass::PtHistMax
double PtHistMax
Definition:
DijetMass.h:35
DijetMass::DijetMass
DijetMass(const edm::ParameterSet &)
Definition:
DijetMass.cc:29
DijetMass::phiAKunc
TH1F phiAKunc
Definition:
DijetMass.h:48
DijetMass::etaSCcor
TH1F etaSCcor
Definition:
DijetMass.h:55
DijetMass::EtaMax
double EtaMax
Definition:
DijetMass.h:36
DijetMass::etaAKcor
TH1F etaAKcor
Definition:
DijetMass.h:49
DijetMass::beginJob
void beginJob() override
Definition:
DijetMass.cc:45
EDAnalyzer.h
DijetMass::ptSCcor
TH1F ptSCcor
Definition:
DijetMass.h:55
DijetMass::phiKTunc
TH1F phiKTunc
Definition:
DijetMass.h:52
DijetMass::ICJets
std::string ICJets
Definition:
DijetMass.h:40
DijetMass::m2jICunc
TH1F m2jICunc
Definition:
DijetMass.h:50
DijetMass::phiAKcor
TH1F phiAKcor
Definition:
DijetMass.h:49
DijetMass::histogramFile
std::string histogramFile
Definition:
DijetMass.h:37
DijetMass::etaKTunc
TH1F etaKTunc
Definition:
DijetMass.h:52
DijetMass::SCCorJets
std::string SCCorJets
Definition:
DijetMass.h:43
edm::ParameterSet
Definition:
ParameterSet.h:47
DijetMass::m2jICcor
TH1F m2jICcor
Definition:
DijetMass.h:51
DijetMass::ICCorJets
std::string ICCorJets
Definition:
DijetMass.h:41
DijetMass::m2jAKunc
TH1F m2jAKunc
Definition:
DijetMass.h:48
edm::Event
Definition:
Event.h:73
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
DijetMass::ptAKcor
TH1F ptAKcor
Definition:
DijetMass.h:49
Generated for CMSSW Reference Manual by
1.8.14