CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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& );
25  virtual void beginJob() {}
26  virtual void endJob(void);
27 
28  static bool compare_JetPt(const reco::CaloJet& jet1, const reco::CaloJet& jet2) {
29  return (jet1.pt() > jet2.pt() );
30  }
31  private:
32 
33  // Parameters
36  std::string jetCorrections;
37  double innerDeltaEta;
38  double outerDeltaEta;
39  double JESbias;
40 
41  // Histograms to be filled
42  TH1D* hVertexZ;
43  TH1D* hJetCorrPt;
44  TH1D* hJetRawPt;
45  TH1D* hJetEta;
46  TH1D* hJetPhi;
47  TH1D* hJetEMF;
48 
52  TH1D* hJet1Pt;
53  TH1D* hJet1Eta;
54  TH1D* hJet1Phi;
55  TH1D* hJet1EMF;
56  TH1D* hJet2Pt;
57  TH1D* hJet2Eta;
58  TH1D* hJet2Phi;
59  TH1D* hJet2EMF;
64 
67 
68 };
69 
70 
71 #endif
CMSDAS11DijetTestAnalyzer(const edm::ParameterSet &)
Jets made from CaloTowers.
Definition: CaloJet.h:30
static bool compare_JetPt(const reco::CaloJet &jet1, const reco::CaloJet &jet2)
virtual double pt() const
transverse momentum
void analyze(const edm::Event &, const edm::EventSetup &)