![]() |
![]() |
00001 #ifndef HFPreLightCal_H 00002 #define HFPreLightCal_H 00003 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/Framework/interface/EDAnalyzer.h" 00006 #include "FWCore/Utilities/interface/InputTag.h" 00007 00008 class TFile; 00009 class TH1F; 00010 class TH2F; 00011 00012 class HFPreLightCal : public edm::EDAnalyzer { 00013 public: 00014 HFPreLightCal (const edm::ParameterSet& fConfiguration); 00015 virtual ~HFPreLightCal (); 00016 00017 // analysis itself 00018 virtual void analyze(const edm::Event& fEvent, const edm::EventSetup& fSetup); 00019 00020 // begin of the job 00021 virtual void beginJob(); 00022 00023 // very end of the job 00024 virtual void endJob(void); 00025 00026 private: 00027 std::string histfile; 00028 std::string textfile; 00029 TFile* mFile; 00030 FILE* tFile; 00031 TH1F* hts[26][36][2]; 00032 TH1F *htsmax,*htspinmax; 00033 TH1F* htspin[8][3]; 00034 00035 edm::InputTag hfDigiCollectionTag_; 00036 edm::InputTag hcalCalibDigiCollectionTag_; 00037 }; 00038 00039 #endif