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
DijetMass::etaAKcor
TH1F etaAKcor
Definition: DijetMass.h:49
DijetMass::phiAKcor
TH1F phiAKcor
Definition: DijetMass.h:49
DijetMass::ptSCcor
TH1F ptSCcor
Definition: DijetMass.h:55
DijetMass::phiSCcor
TH1F phiSCcor
Definition: DijetMass.h:55
DijetMass::m2jICunc
TH1F m2jICunc
Definition: DijetMass.h:50
DijetMass::m2jAKunc
TH1F m2jAKunc
Definition: DijetMass.h:48
EDAnalyzer.h
DijetMass::phiICunc
TH1F phiICunc
Definition: DijetMass.h:50
DijetMass::ICJets
std::string ICJets
Definition: DijetMass.h:40
DijetMass::endJob
void endJob() override
Definition: DijetMass.cc:254
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
DijetMass::DijetMass
DijetMass(const edm::ParameterSet &)
Definition: DijetMass.cc:29
DijetMass::AKJets
std::string AKJets
Definition: DijetMass.h:38
DijetMass::m2jKTunc
TH1F m2jKTunc
Definition: DijetMass.h:52
DijetMass::m2jSCcor
TH1F m2jSCcor
Definition: DijetMass.h:55
DijetMass::etaKTcor
TH1F etaKTcor
Definition: DijetMass.h:53
DijetMass::ICCorJets
std::string ICCorJets
Definition: DijetMass.h:41
DijetMass::m2jAKcor
TH1F m2jAKcor
Definition: DijetMass.h:49
DijetMass::etaSCcor
TH1F etaSCcor
Definition: DijetMass.h:55
DijetMass::m2jSCunc
TH1F m2jSCunc
Definition: DijetMass.h:54
DijetMass::SCJets
std::string SCJets
Definition: DijetMass.h:42
DijetMass::PtHistMax
double PtHistMax
Definition: DijetMass.h:35
DijetMass::phiAKunc
TH1F phiAKunc
Definition: DijetMass.h:48
DijetMass::etaICcor
TH1F etaICcor
Definition: DijetMass.h:51
DijetMass::numJets
int numJets
Definition: DijetMass.h:62
DijetMass::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: DijetMass.cc:107
edm::ParameterSet
Definition: ParameterSet.h:47
DijetMass::phiKTunc
TH1F phiKTunc
Definition: DijetMass.h:52
DijetMass::m2jICcor
TH1F m2jICcor
Definition: DijetMass.h:51
DijetMass::JetCollection
std::vector< Jet > JetCollection
Definition: DijetMass.h:28
DijetMass::ptAKunc
TH1F ptAKunc
Definition: DijetMass.h:48
DijetMass::ptICunc
TH1F ptICunc
Definition: DijetMass.h:50
DijetMass::etaICunc
TH1F etaICunc
Definition: DijetMass.h:50
DijetMass::ptKTunc
TH1F ptKTunc
Definition: DijetMass.h:52
DijetMass::m_file
TFile * m_file
Definition: DijetMass.h:58
DijetMass::etaSCunc
TH1F etaSCunc
Definition: DijetMass.h:54
DijetMass::evtCount
int evtCount
Definition: DijetMass.h:61
edm::EventSetup
Definition: EventSetup.h:58
DijetMass::KTJets
std::string KTJets
Definition: DijetMass.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DijetMass::SCCorJets
std::string SCCorJets
Definition: DijetMass.h:43
DijetMass::AKCorJets
std::string AKCorJets
Definition: DijetMass.h:39
DijetMass::ptKTcor
TH1F ptKTcor
Definition: DijetMass.h:53
DijetMass::etaKTunc
TH1F etaKTunc
Definition: DijetMass.h:52
DijetMass::ptAKcor
TH1F ptAKcor
Definition: DijetMass.h:49
DijetMass::phiICcor
TH1F phiICcor
Definition: DijetMass.h:51
DijetMass::phiKTcor
TH1F phiKTcor
Definition: DijetMass.h:53
DijetMass::EtaMax
double EtaMax
Definition: DijetMass.h:36
DijetMass::ptSCunc
TH1F ptSCunc
Definition: DijetMass.h:54
DijetMass::etaAKunc
TH1F etaAKunc
Definition: DijetMass.h:48
DijetMass::m2jKTcor
TH1F m2jKTcor
Definition: DijetMass.h:53
DijetMass::ptICcor
TH1F ptICcor
Definition: DijetMass.h:51
DijetMass::histogramFile
std::string histogramFile
Definition: DijetMass.h:37
DijetMass::beginJob
void beginJob() override
Definition: DijetMass.cc:45
DijetMass::phiSCunc
TH1F phiSCunc
Definition: DijetMass.h:54
DijetMass
Definition: DijetMass.h:23
edm::Event
Definition: Event.h:73
DijetMass::KTCorJets
std::string KTCorJets
Definition: DijetMass.h:45