CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoJets/JetAnalyzers/interface/DijetMass.h

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 /* \class DijetMass
00013  *
00014  * \author Robert Harris
00015  *
00016  * Kalanand Mishra (November 22, 2009): 
00017      Modified and cleaned up to work in 3.3.X
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   //Framwework stuff
00031   void beginJob( );
00032   void analyze( const edm::Event& , const edm::EventSetup& );
00033   void endJob();
00034 
00035   // Parameters passed via the config file
00036   double PtHistMax;      // Maximum edge of Pt histograms
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   //Simple Hists
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   //Histo File 
00060   TFile* m_file;
00061 
00062   //Internal parameters
00063   int evtCount;
00064   int numJets;
00065 
00066 };
00067 
00068 #endif