CMS 3D CMS Logo

CMSDAS11DijetTestAnalyzer.h
Go to the documentation of this file.
1 // CMSDAS11DijetTestAnalyzer.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;
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;
62 
65 };
66 
67 #endif
CMSDAS11DijetTestAnalyzer::hCorDijetMass
TH1D * hCorDijetMass
Definition: CMSDAS11DijetTestAnalyzer.h:48
CaloJetCollection.h
reco::CaloJet
Jets made from CaloTowers.
Definition: CaloJet.h:27
CMSDAS11DijetTestAnalyzer::hJet2Phi
TH1D * hJet2Phi
Definition: CMSDAS11DijetTestAnalyzer.h:56
CMSDAS11DijetTestAnalyzer::hCorDijetXsec
TH1D * hCorDijetXsec
Definition: CMSDAS11DijetTestAnalyzer.h:49
CMSDAS11DijetTestAnalyzer::hJet2Eta
TH1D * hJet2Eta
Definition: CMSDAS11DijetTestAnalyzer.h:55
CMSDAS11DijetTestAnalyzer::JESbias
double JESbias
Definition: CMSDAS11DijetTestAnalyzer.h:37
EDAnalyzer.h
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
CMSDAS11DijetTestAnalyzer::hDijetDeltaEta
TH1D * hDijetDeltaEta
Definition: CMSDAS11DijetTestAnalyzer.h:59
CMSDAS11DijetTestAnalyzer::hJet2EMF
TH1D * hJet2EMF
Definition: CMSDAS11DijetTestAnalyzer.h:57
CMSDAS11DijetTestAnalyzer
Definition: CMSDAS11DijetTestAnalyzer.h:20
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
CMSDAS11DijetTestAnalyzer::outerDeltaEta
double outerDeltaEta
Definition: CMSDAS11DijetTestAnalyzer.h:36
CMSDAS11DijetTestAnalyzer::hInnerDijetMass
TH1D * hInnerDijetMass
Definition: CMSDAS11DijetTestAnalyzer.h:63
CMSDAS11DijetTestAnalyzer::endJob
void endJob(void) override
Definition: CMSDAS11DijetTestAnalyzer.cc:68
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CMSDAS11DijetTestAnalyzer::innerDeltaEta
double innerDeltaEta
Definition: CMSDAS11DijetTestAnalyzer.h:35
CMSDAS11DijetTestAnalyzer::compare_JetPt
static bool compare_JetPt(const reco::CaloJet &jet1, const reco::CaloJet &jet2)
Definition: CMSDAS11DijetTestAnalyzer.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
CMSDAS11DijetTestAnalyzer::hJet1EMF
TH1D * hJet1EMF
Definition: CMSDAS11DijetTestAnalyzer.h:53
Event.h
CMSDAS11DijetTestAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CMSDAS11DijetTestAnalyzer.cc:70
CMSDAS11DijetTestAnalyzer::hJetCorrPt
TH1D * hJetCorrPt
Definition: CMSDAS11DijetTestAnalyzer.h:41
CMSDAS11DijetTestAnalyzer::hJetEta
TH1D * hJetEta
Definition: CMSDAS11DijetTestAnalyzer.h:43
edm::EventSetup
Definition: EventSetup.h:58
CMSDAS11DijetTestAnalyzer::hJetEMF
TH1D * hJetEMF
Definition: CMSDAS11DijetTestAnalyzer.h:45
InputTag.h
CMSDAS11DijetTestAnalyzer::hRawDijetMass
TH1D * hRawDijetMass
Definition: CMSDAS11DijetTestAnalyzer.h:47
CMSDAS11DijetTestAnalyzer::CMSDAS11DijetTestAnalyzer
CMSDAS11DijetTestAnalyzer(const edm::ParameterSet &)
Definition: CMSDAS11DijetTestAnalyzer.cc:22
CMSDAS11DijetTestAnalyzer::jetSrc
edm::InputTag jetSrc
Definition: CMSDAS11DijetTestAnalyzer.h:32
CMSDAS11DijetTestAnalyzer::hVertexZ
TH1D * hVertexZ
Definition: CMSDAS11DijetTestAnalyzer.h:40
CMSDAS11DijetTestAnalyzer::hJet1Phi
TH1D * hJet1Phi
Definition: CMSDAS11DijetTestAnalyzer.h:52
CMSDAS11DijetTestAnalyzer::jetCorrections
std::string jetCorrections
Definition: CMSDAS11DijetTestAnalyzer.h:34
CMSDAS11DijetTestAnalyzer::hOuterDijetMass
TH1D * hOuterDijetMass
Definition: CMSDAS11DijetTestAnalyzer.h:64
CMSDAS11DijetTestAnalyzer::~CMSDAS11DijetTestAnalyzer
~CMSDAS11DijetTestAnalyzer() override
Definition: CMSDAS11DijetTestAnalyzer.h:24
CMSDAS11DijetTestAnalyzer::hDijetDeltaPhi
TH1D * hDijetDeltaPhi
Definition: CMSDAS11DijetTestAnalyzer.h:58
CMSDAS11DijetTestAnalyzer::hDijetDeltaPhiNJets
TH2D * hDijetDeltaPhiNJets
Definition: CMSDAS11DijetTestAnalyzer.h:60
CMSDAS11DijetTestAnalyzer::hJet1Eta
TH1D * hJet1Eta
Definition: CMSDAS11DijetTestAnalyzer.h:51
CMSDAS11DijetTestAnalyzer::hJet2Pt
TH1D * hJet2Pt
Definition: CMSDAS11DijetTestAnalyzer.h:54
edm::Event
Definition: Event.h:73
CMSDAS11DijetTestAnalyzer::hJetRawPt
TH1D * hJetRawPt
Definition: CMSDAS11DijetTestAnalyzer.h:42
CMSDAS11DijetTestAnalyzer::hJet1Pt
TH1D * hJet1Pt
Definition: CMSDAS11DijetTestAnalyzer.h:50
edm::InputTag
Definition: InputTag.h:15
CMSDAS11DijetTestAnalyzer::hDijetEta1Eta2
TH2D * hDijetEta1Eta2
Definition: CMSDAS11DijetTestAnalyzer.h:61
CMSDAS11DijetTestAnalyzer::vertexSrc
edm::InputTag vertexSrc
Definition: CMSDAS11DijetTestAnalyzer.h:33
CMSDAS11DijetTestAnalyzer::hJetPhi
TH1D * hJetPhi
Definition: CMSDAS11DijetTestAnalyzer.h:44
CMSDAS11DijetTestAnalyzer::beginJob
void beginJob() override
Definition: CMSDAS11DijetTestAnalyzer.h:25