Go to the documentation of this file.00001 #ifndef HFLightCalRand_H
00002 #define HFLightCalRand_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 HFLightCalRand : public edm::EDAnalyzer {
00013 public:
00014 HFLightCalRand (const edm::ParameterSet& fConfiguration);
00015 virtual ~HFLightCalRand ();
00016
00017
00018 virtual void analyze(const edm::Event& fEvent, const edm::EventSetup& fSetup);
00019
00020
00021 virtual void beginJob();
00022
00023
00024 virtual void endJob(void);
00025
00026 private:
00027 std::string histfile;
00028 std::string textfile;
00029 std::string prefile;
00030 TFile* mFile;
00031 FILE* tFile;
00032 FILE* preFile;
00033 TH1F* hts[26][36][2];
00034 TH1F* htsm[26][36][2];
00035 TH1F* hsp[26][36][2];
00036 TH1F* hspe[26][36][2];
00037 TH1F* hped[26][36][2];
00038 TH2F *hnpemapP,*hsignalmapP,*hsignalRMSmapP,*hnpemapM,*hsignalmapM,*hsignalRMSmapM;
00039 TH1F *hsignalmean,*hsignalrms,*hpedmean,*hpedrms,*htmax,*htmean,*hspes,*hnpevar;
00040 TH1F* htspin[8][3];
00041 TH1F* hsppin[8][3];
00042 TH1F* hspepin[8][3];
00043 TH1F* hpedpin[8][3];
00044 TH1F* htsmpin[8][3];
00045
00046 edm::InputTag hfDigiCollectionTag_;
00047 edm::InputTag hcalCalibDigiCollectionTag_;
00048 };
00049
00050 #endif