CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/CalibCalorimetry/HcalStandardModules/interface/HFLightCal.h

Go to the documentation of this file.
00001 #ifndef HFLightCal_H
00002 #define HFLightCal_H
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/EDAnalyzer.h"
00006 
00007 class TFile;
00008 class TH1F;
00009 class TH2F;
00010 
00011 class HFLightCal : public edm::EDAnalyzer {
00012  public:
00013   HFLightCal (const edm::ParameterSet& fConfiguration);
00014   virtual ~HFLightCal ();
00015 
00016   // analysis itself
00017   virtual void analyze(const edm::Event& fEvent, const edm::EventSetup& fSetup);
00018 
00019   // begin of the job
00020   virtual void beginJob();
00021 
00022   // very end of the job
00023   virtual void endJob(void);
00024 
00025  private:
00026   std::string histfile;
00027   std::string textfile;
00028   std::string prefile;
00029   TFile* mFile;
00030   FILE* tFile;
00031   FILE* preFile;
00032   TH1F* hts[26][36][2];
00033   TH1F* htsm[26][36][2];
00034   TH1F* hsp[26][36][2];
00035   TH1F* hspe[26][36][2];
00036   TH1F* hped[26][36][2];
00037   TH2F *hnpemapP,*hsignalmapP,*hsignalRMSmapP,*hnpemapM,*hsignalmapM,*hsignalRMSmapM;
00038   TH1F *hsignalmean,*hsignalrms,*hpedmean,*hpedrms,*htmax,*htmean,*hspes,*hnpevar;
00039   TH1F* htspin[8][3];
00040   TH1F* hsppin[8][3];
00041   TH1F* hspepin[8][3];
00042   TH1F* hpedpin[8][3];
00043   TH1F* htsmpin[8][3];
00044 
00045 };
00046 
00047 #endif