Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/EDAnalyzer.h
"
21
22
23
template
<
class
Jet>
24
class
DijetMass
:
public
edm::EDAnalyzer
{
25
public
:
26
DijetMass
(
const
edm::ParameterSet
& );
27
28
private
:
29
typedef
std::vector<Jet>
JetCollection
;
30
//Framwework stuff
31
void
beginJob
( );
32
void
analyze
(
const
edm::Event
& ,
const
edm::EventSetup
& );
33
void
endJob
();
34
35
// Parameters passed via the config file
36
double
PtHistMax
;
// Maximum edge of Pt histograms
37
double
EtaMax
;
38
std::string
histogramFile
;
39
std::string
AKJets
;
40
std::string
AKCorJets
;
41
std::string
ICJets
;
42
std::string
ICCorJets
;
43
std::string
SCJets
;
44
std::string
SCCorJets
;
45
std::string
KTJets
;
46
std::string
KTCorJets
;
47
48
49
//Simple Hists
50
TH1F
ptAKunc
,
etaAKunc
,
phiAKunc
,
m2jAKunc
;
51
TH1F
ptAKcor
,
etaAKcor
,
phiAKcor
,
m2jAKcor
;
52
TH1F
ptICunc
,
etaICunc
,
phiICunc
,
m2jICunc
;
53
TH1F
ptICcor
,
etaICcor
,
phiICcor
,
m2jICcor
;
54
TH1F
ptKTunc
,
etaKTunc
,
phiKTunc
,
m2jKTunc
;
55
TH1F
ptKTcor
,
etaKTcor
,
phiKTcor
,
m2jKTcor
;
56
TH1F
ptSCunc
,
etaSCunc
,
phiSCunc
,
m2jSCunc
;
57
TH1F
ptSCcor
,
etaSCcor
,
phiSCcor
,
m2jSCcor
;
58
59
//Histo File
60
TFile*
m_file
;
61
62
//Internal parameters
63
int
evtCount
;
64
int
numJets
;
65
66
};
67
68
#endif
DijetMass::numJets
int numJets
Definition:
DijetMass.h:64
DijetMass::phiSCcor
TH1F phiSCcor
Definition:
DijetMass.h:57
DijetMass::phiICunc
TH1F phiICunc
Definition:
DijetMass.h:52
DijetMass::etaICcor
TH1F etaICcor
Definition:
DijetMass.h:53
DijetMass
Definition:
DijetMass.h:24
DijetMass::ptKTcor
TH1F ptKTcor
Definition:
DijetMass.h:55
DijetMass::m2jAKcor
TH1F m2jAKcor
Definition:
DijetMass.h:51
DijetMass::ptKTunc
TH1F ptKTunc
Definition:
DijetMass.h:54
DijetMass::AKCorJets
std::string AKCorJets
Definition:
DijetMass.h:40
DijetMass::ptSCunc
TH1F ptSCunc
Definition:
DijetMass.h:56
DijetMass::phiICcor
TH1F phiICcor
Definition:
DijetMass.h:53
DijetMass::KTJets
std::string KTJets
Definition:
DijetMass.h:45
DijetMass::ptICcor
TH1F ptICcor
Definition:
DijetMass.h:53
DijetMass::phiSCunc
TH1F phiSCunc
Definition:
DijetMass.h:56
DijetMass::etaSCunc
TH1F etaSCunc
Definition:
DijetMass.h:56
DijetMass::SCJets
std::string SCJets
Definition:
DijetMass.h:43
DijetMass::m2jKTunc
TH1F m2jKTunc
Definition:
DijetMass.h:54
DijetMass::etaICunc
TH1F etaICunc
Definition:
DijetMass.h:52
DijetMass::ptAKunc
TH1F ptAKunc
Definition:
DijetMass.h:50
DijetMass::etaKTcor
TH1F etaKTcor
Definition:
DijetMass.h:55
DijetMass::analyze
void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
DijetMass.cc:115
DijetMass::m2jKTcor
TH1F m2jKTcor
Definition:
DijetMass.h:55
DijetMass::KTCorJets
std::string KTCorJets
Definition:
DijetMass.h:46
DijetMass::m2jSCunc
TH1F m2jSCunc
Definition:
DijetMass.h:56
DijetMass::m2jSCcor
TH1F m2jSCcor
Definition:
DijetMass.h:57
DijetMass::phiKTcor
TH1F phiKTcor
Definition:
DijetMass.h:55
DijetMass::etaAKunc
TH1F etaAKunc
Definition:
DijetMass.h:50
DijetMass::evtCount
int evtCount
Definition:
DijetMass.h:63
DijetMass::m_file
TFile * m_file
Definition:
DijetMass.h:60
DijetMass::ptICunc
TH1F ptICunc
Definition:
DijetMass.h:52
DijetMass::JetCollection
std::vector< Jet > JetCollection
Definition:
DijetMass.h:29
edm::EventSetup
Definition:
EventSetup.h:44
DijetMass::AKJets
std::string AKJets
Definition:
DijetMass.h:39
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
DijetMass::PtHistMax
double PtHistMax
Definition:
DijetMass.h:36
DijetMass::DijetMass
DijetMass(const edm::ParameterSet &)
Definition:
DijetMass.cc:30
DijetMass::phiAKunc
TH1F phiAKunc
Definition:
DijetMass.h:50
DijetMass::etaSCcor
TH1F etaSCcor
Definition:
DijetMass.h:57
DijetMass::EtaMax
double EtaMax
Definition:
DijetMass.h:37
DijetMass::etaAKcor
TH1F etaAKcor
Definition:
DijetMass.h:51
DijetMass::ptSCcor
TH1F ptSCcor
Definition:
DijetMass.h:57
DijetMass::phiKTunc
TH1F phiKTunc
Definition:
DijetMass.h:54
DijetMass::ICJets
std::string ICJets
Definition:
DijetMass.h:41
DijetMass::m2jICunc
TH1F m2jICunc
Definition:
DijetMass.h:52
DijetMass::endJob
void endJob()
Definition:
DijetMass.cc:247
DijetMass::phiAKcor
TH1F phiAKcor
Definition:
DijetMass.h:51
DijetMass::histogramFile
std::string histogramFile
Definition:
DijetMass.h:38
DijetMass::etaKTunc
TH1F etaKTunc
Definition:
DijetMass.h:54
DijetMass::SCCorJets
std::string SCCorJets
Definition:
DijetMass.h:44
edm::ParameterSet
Definition:
ParameterSet.h:35
DijetMass::m2jICcor
TH1F m2jICcor
Definition:
DijetMass.h:53
DijetMass::ICCorJets
std::string ICCorJets
Definition:
DijetMass.h:42
DijetMass::m2jAKunc
TH1F m2jAKunc
Definition:
DijetMass.h:50
edm::Event
Definition:
Event.h:50
DijetMass::ptAKcor
TH1F ptAKcor
Definition:
DijetMass.h:51
DijetMass::beginJob
void beginJob()
Definition:
DijetMass.cc:47
Generated for CMSSW Reference Manual by
1.8.5