CMS 3D CMS Logo

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  */
21 
22 template <class Jet>
23 class DijetMass : public edm::EDAnalyzer {
24 public:
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;
46 
47  //Simple Hists
56 
57  //Histo File
58  TFile* m_file;
59 
60  //Internal parameters
61  int evtCount;
62  int numJets;
63 };
64 
65 #endif
int numJets
Definition: DijetMass.h:62
TH1F phiSCcor
Definition: DijetMass.h:55
TH1F phiICunc
Definition: DijetMass.h:50
TH1F etaICcor
Definition: DijetMass.h:51
TH1F ptKTcor
Definition: DijetMass.h:53
TH1F m2jAKcor
Definition: DijetMass.h:49
TH1F ptKTunc
Definition: DijetMass.h:52
std::string AKCorJets
Definition: DijetMass.h:39
TH1F ptSCunc
Definition: DijetMass.h:54
TH1F phiICcor
Definition: DijetMass.h:51
std::string KTJets
Definition: DijetMass.h:44
TH1F ptICcor
Definition: DijetMass.h:51
TH1F phiSCunc
Definition: DijetMass.h:54
TH1F etaSCunc
Definition: DijetMass.h:54
std::string SCJets
Definition: DijetMass.h:42
TH1F m2jKTunc
Definition: DijetMass.h:52
TH1F etaICunc
Definition: DijetMass.h:50
TH1F ptAKunc
Definition: DijetMass.h:48
TH1F etaKTcor
Definition: DijetMass.h:53
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: DijetMass.cc:107
void endJob() override
Definition: DijetMass.cc:254
TH1F m2jKTcor
Definition: DijetMass.h:53
std::string KTCorJets
Definition: DijetMass.h:45
TH1F m2jSCunc
Definition: DijetMass.h:54
TH1F m2jSCcor
Definition: DijetMass.h:55
TH1F phiKTcor
Definition: DijetMass.h:53
TH1F etaAKunc
Definition: DijetMass.h:48
int evtCount
Definition: DijetMass.h:61
TFile * m_file
Definition: DijetMass.h:58
TH1F ptICunc
Definition: DijetMass.h:50
std::vector< Jet > JetCollection
Definition: DijetMass.h:28
std::string AKJets
Definition: DijetMass.h:38
double PtHistMax
Definition: DijetMass.h:35
DijetMass(const edm::ParameterSet &)
Definition: DijetMass.cc:29
TH1F phiAKunc
Definition: DijetMass.h:48
TH1F etaSCcor
Definition: DijetMass.h:55
double EtaMax
Definition: DijetMass.h:36
TH1F etaAKcor
Definition: DijetMass.h:49
void beginJob() override
Definition: DijetMass.cc:45
TH1F ptSCcor
Definition: DijetMass.h:55
TH1F phiKTunc
Definition: DijetMass.h:52
std::string ICJets
Definition: DijetMass.h:40
TH1F m2jICunc
Definition: DijetMass.h:50
TH1F phiAKcor
Definition: DijetMass.h:49
std::string histogramFile
Definition: DijetMass.h:37
TH1F etaKTunc
Definition: DijetMass.h:52
std::string SCCorJets
Definition: DijetMass.h:43
TH1F m2jICcor
Definition: DijetMass.h:51
std::string ICCorJets
Definition: DijetMass.h:41
TH1F m2jAKunc
Definition: DijetMass.h:48
TH1F ptAKcor
Definition: DijetMass.h:49