00001 #ifndef HFPreLightCal_H 00002 #define HFPreLightCal_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 HFPreLightCal : public edm::EDAnalyzer { 00012 public: 00013 HFPreLightCal (const edm::ParameterSet& fConfiguration); 00014 virtual ~HFPreLightCal (); 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 TFile* mFile; 00029 FILE* tFile; 00030 TH1F* hts[26][36][2]; 00031 TH1F *htsmax,*htspinmax; 00032 TH1F* htspin[8][3]; 00033 00034 }; 00035 00036 #endif