Go to the documentation of this file.00001 #ifndef RecoExamples_DijetMass_h
00002 #define RecoExamples_DijetMass_h
00003 #include <TH1.h>
00004 #include <TProfile.h>
00005 #include <TH2.h>
00006
00007 #include <vector>
00008 #include <map>
00009
00010 class TFile;
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "FWCore/Framework/interface/EDAnalyzer.h"
00021
00022
00023 template<class Jet>
00024 class DijetMass : public edm::EDAnalyzer {
00025 public:
00026 DijetMass( const edm::ParameterSet & );
00027
00028 private:
00029 typedef std::vector<Jet> JetCollection;
00030
00031 void beginJob( );
00032 void analyze( const edm::Event& , const edm::EventSetup& );
00033 void endJob();
00034
00035
00036 double PtHistMax;
00037 double EtaMax;
00038 std::string histogramFile;
00039 std::string AKJets;
00040 std::string AKCorJets;
00041 std::string ICJets;
00042 std::string ICCorJets;
00043 std::string SCJets;
00044 std::string SCCorJets;
00045 std::string KTJets;
00046 std::string KTCorJets;
00047
00048
00049
00050 TH1F ptAKunc, etaAKunc, phiAKunc, m2jAKunc;
00051 TH1F ptAKcor, etaAKcor, phiAKcor, m2jAKcor;
00052 TH1F ptICunc, etaICunc, phiICunc, m2jICunc;
00053 TH1F ptICcor, etaICcor, phiICcor, m2jICcor;
00054 TH1F ptKTunc, etaKTunc, phiKTunc, m2jKTunc;
00055 TH1F ptKTcor, etaKTcor, phiKTcor, m2jKTcor;
00056 TH1F ptSCunc, etaSCunc, phiSCunc, m2jSCunc;
00057 TH1F ptSCcor, etaSCcor, phiSCcor, m2jSCcor;
00058
00059
00060 TFile* m_file;
00061
00062
00063 int evtCount;
00064 int numJets;
00065
00066 };
00067
00068 #endif