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 
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( ) override;
32  void analyze( const edm::Event& , const edm::EventSetup& ) override;
33  void endJob() override;
34 
35  // Parameters passed via the config file
36  double PtHistMax; // Maximum edge of Pt histograms
37  double EtaMax;
47 
48 
49  //Simple Hists
58 
59  //Histo File
60  TFile* m_file;
61 
62  //Internal parameters
63  int evtCount;
64  int numJets;
65 
66 };
67 
68 #endif
int numJets
Definition: DijetMass.h:64
TH1F phiSCcor
Definition: DijetMass.h:57
TH1F phiICunc
Definition: DijetMass.h:52
TH1F etaICcor
Definition: DijetMass.h:53
TH1F ptKTcor
Definition: DijetMass.h:55
TH1F m2jAKcor
Definition: DijetMass.h:51
TH1F ptKTunc
Definition: DijetMass.h:54
std::string AKCorJets
Definition: DijetMass.h:40
TH1F ptSCunc
Definition: DijetMass.h:56
TH1F phiICcor
Definition: DijetMass.h:53
std::string KTJets
Definition: DijetMass.h:45
TH1F ptICcor
Definition: DijetMass.h:53
TH1F phiSCunc
Definition: DijetMass.h:56
TH1F etaSCunc
Definition: DijetMass.h:56
std::string SCJets
Definition: DijetMass.h:43
TH1F m2jKTunc
Definition: DijetMass.h:54
TH1F etaICunc
Definition: DijetMass.h:52
TH1F ptAKunc
Definition: DijetMass.h:50
TH1F etaKTcor
Definition: DijetMass.h:55
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: DijetMass.cc:115
void endJob() override
Definition: DijetMass.cc:247
TH1F m2jKTcor
Definition: DijetMass.h:55
std::string KTCorJets
Definition: DijetMass.h:46
TH1F m2jSCunc
Definition: DijetMass.h:56
TH1F m2jSCcor
Definition: DijetMass.h:57
TH1F phiKTcor
Definition: DijetMass.h:55
TH1F etaAKunc
Definition: DijetMass.h:50
int evtCount
Definition: DijetMass.h:63
TFile * m_file
Definition: DijetMass.h:60
TH1F ptICunc
Definition: DijetMass.h:52
std::vector< Jet > JetCollection
Definition: DijetMass.h:29
std::string AKJets
Definition: DijetMass.h:39
double PtHistMax
Definition: DijetMass.h:36
DijetMass(const edm::ParameterSet &)
Definition: DijetMass.cc:30
TH1F phiAKunc
Definition: DijetMass.h:50
TH1F etaSCcor
Definition: DijetMass.h:57
double EtaMax
Definition: DijetMass.h:37
TH1F etaAKcor
Definition: DijetMass.h:51
void beginJob() override
Definition: DijetMass.cc:47
TH1F ptSCcor
Definition: DijetMass.h:57
TH1F phiKTunc
Definition: DijetMass.h:54
std::string ICJets
Definition: DijetMass.h:41
TH1F m2jICunc
Definition: DijetMass.h:52
TH1F phiAKcor
Definition: DijetMass.h:51
std::string histogramFile
Definition: DijetMass.h:38
TH1F etaKTunc
Definition: DijetMass.h:54
std::string SCCorJets
Definition: DijetMass.h:44
TH1F m2jICcor
Definition: DijetMass.h:53
std::string ICCorJets
Definition: DijetMass.h:42
TH1F m2jAKunc
Definition: DijetMass.h:50
TH1F ptAKcor
Definition: DijetMass.h:51