CMS 3D CMS Logo

CMSDAS11DijetAnalyzer.h
Go to the documentation of this file.
1 // CMSDAS11DijetAnalyzer.cc
2 // Description: A basic dijet analyzer for the CMSDAS 2011
3 // Author: John Paul Chou
4 // Date: January 12, 2011
5 
6 #ifndef __CMSDAS11_DIJET_ANALYZER_H__
7 #define __CMSDAS11_DIJET_ANALYZER_H__
8 
12 
14 
15 #include <string>
16 
17 class TH1D;
18 class TH2D;
19 
21 public:
23  void analyze(const edm::Event&, const edm::EventSetup&) override;
24  ~CMSDAS11DijetAnalyzer() override {}
25  void beginJob() override {}
26  void endJob(void) override;
27 
28  static bool compare_JetPt(const reco::CaloJet& jet1, const reco::CaloJet& jet2) { return (jet1.pt() > jet2.pt()); }
29 
30 private:
31  // Parameters
35  double innerDeltaEta;
36  double outerDeltaEta;
37  double JESbias;
38 
39  // Histograms to be filled
40  TH1D* hVertexZ;
41  TH1D* hJetCorrPt;
42  TH1D* hJetRawPt;
43  TH1D* hJetEta;
44  TH1D* hJetPhi;
45  TH1D* hJetEMF;
46 
50  TH1D* hJet1Pt;
51  TH1D* hJet1Eta;
52  TH1D* hJet1Phi;
53  TH1D* hJet1EMF;
54  TH1D* hJet2Pt;
55  TH1D* hJet2Eta;
56  TH1D* hJet2Phi;
57  TH1D* hJet2EMF;
60 
63 };
64 
65 #endif
CMSDAS11DijetAnalyzer::hCorDijetMass
TH1D * hCorDijetMass
Definition: CMSDAS11DijetAnalyzer.h:48
CMSDAS11DijetAnalyzer::hJetPhi
TH1D * hJetPhi
Definition: CMSDAS11DijetAnalyzer.h:44
CaloJetCollection.h
reco::CaloJet
Jets made from CaloTowers.
Definition: CaloJet.h:27
CMSDAS11DijetAnalyzer::hDijetDeltaEta
TH1D * hDijetDeltaEta
Definition: CMSDAS11DijetAnalyzer.h:59
CMSDAS11DijetAnalyzer::hJetCorrPt
TH1D * hJetCorrPt
Definition: CMSDAS11DijetAnalyzer.h:41
CMSDAS11DijetAnalyzer::hJet2Pt
TH1D * hJet2Pt
Definition: CMSDAS11DijetAnalyzer.h:54
CMSDAS11DijetAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CMSDAS11DijetAnalyzer.cc:65
EDAnalyzer.h
CMSDAS11DijetAnalyzer::hJet1Phi
TH1D * hJet1Phi
Definition: CMSDAS11DijetAnalyzer.h:52
CMSDAS11DijetAnalyzer::hJet1Eta
TH1D * hJet1Eta
Definition: CMSDAS11DijetAnalyzer.h:51
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
CMSDAS11DijetAnalyzer::compare_JetPt
static bool compare_JetPt(const reco::CaloJet &jet1, const reco::CaloJet &jet2)
Definition: CMSDAS11DijetAnalyzer.h:28
CMSDAS11DijetAnalyzer::hJet2EMF
TH1D * hJet2EMF
Definition: CMSDAS11DijetAnalyzer.h:57
CMSDAS11DijetAnalyzer::innerDeltaEta
double innerDeltaEta
Definition: CMSDAS11DijetAnalyzer.h:35
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
CMSDAS11DijetAnalyzer::outerDeltaEta
double outerDeltaEta
Definition: CMSDAS11DijetAnalyzer.h:36
CMSDAS11DijetAnalyzer
Definition: CMSDAS11DijetAnalyzer.h:20
CMSDAS11DijetAnalyzer::beginJob
void beginJob() override
Definition: CMSDAS11DijetAnalyzer.h:25
CMSDAS11DijetAnalyzer::endJob
void endJob(void) override
Definition: CMSDAS11DijetAnalyzer.cc:63
CMSDAS11DijetAnalyzer::hJet1EMF
TH1D * hJet1EMF
Definition: CMSDAS11DijetAnalyzer.h:53
CMSDAS11DijetAnalyzer::vertexSrc
edm::InputTag vertexSrc
Definition: CMSDAS11DijetAnalyzer.h:33
CMSDAS11DijetAnalyzer::hJetRawPt
TH1D * hJetRawPt
Definition: CMSDAS11DijetAnalyzer.h:42
CMSDAS11DijetAnalyzer::jetCorrections
std::string jetCorrections
Definition: CMSDAS11DijetAnalyzer.h:34
CMSDAS11DijetAnalyzer::hJetEta
TH1D * hJetEta
Definition: CMSDAS11DijetAnalyzer.h:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CMSDAS11DijetAnalyzer::hVertexZ
TH1D * hVertexZ
Definition: CMSDAS11DijetAnalyzer.h:40
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
CMSDAS11DijetAnalyzer::hJet2Eta
TH1D * hJet2Eta
Definition: CMSDAS11DijetAnalyzer.h:55
CMSDAS11DijetAnalyzer::CMSDAS11DijetAnalyzer
CMSDAS11DijetAnalyzer(const edm::ParameterSet &)
Definition: CMSDAS11DijetAnalyzer.cc:20
edm::EventSetup
Definition: EventSetup.h:57
CMSDAS11DijetAnalyzer::hCorDijetXsec
TH1D * hCorDijetXsec
Definition: CMSDAS11DijetAnalyzer.h:49
CMSDAS11DijetAnalyzer::hRawDijetMass
TH1D * hRawDijetMass
Definition: CMSDAS11DijetAnalyzer.h:47
InputTag.h
CMSDAS11DijetAnalyzer::jetSrc
edm::InputTag jetSrc
Definition: CMSDAS11DijetAnalyzer.h:32
CMSDAS11DijetAnalyzer::JESbias
double JESbias
Definition: CMSDAS11DijetAnalyzer.h:37
CMSDAS11DijetAnalyzer::~CMSDAS11DijetAnalyzer
~CMSDAS11DijetAnalyzer() override
Definition: CMSDAS11DijetAnalyzer.h:24
CMSDAS11DijetAnalyzer::hJet2Phi
TH1D * hJet2Phi
Definition: CMSDAS11DijetAnalyzer.h:56
CMSDAS11DijetAnalyzer::hInnerDijetMass
TH1D * hInnerDijetMass
Definition: CMSDAS11DijetAnalyzer.h:61
CMSDAS11DijetAnalyzer::hDijetDeltaPhi
TH1D * hDijetDeltaPhi
Definition: CMSDAS11DijetAnalyzer.h:58
CMSDAS11DijetAnalyzer::hOuterDijetMass
TH1D * hOuterDijetMass
Definition: CMSDAS11DijetAnalyzer.h:62
CMSDAS11DijetAnalyzer::hJet1Pt
TH1D * hJet1Pt
Definition: CMSDAS11DijetAnalyzer.h:50
CMSDAS11DijetAnalyzer::hJetEMF
TH1D * hJetEMF
Definition: CMSDAS11DijetAnalyzer.h:45
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15