00001 #ifndef Validation_EcalClusters_EgammaBasicClusters_h 00002 #define Validation_EcalClusters_EgammaBasicClusters_h 00003 00011 // 00012 // $Id: EgammaBasicClusters.h,v 1.5 2008/06/17 12:27:24 ferriff Exp $ 00013 // 00014 #include <string> 00015 00016 #include "FWCore/Framework/interface/Event.h" 00017 #include "FWCore/Framework/interface/EDAnalyzer.h" 00018 #include "FWCore/Framework/interface/Frameworkfwd.h" 00019 #include "FWCore/Framework/interface/MakerMacros.h" 00020 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00021 00022 #include "DQMServices/Core/interface/DQMStore.h" 00023 #include "DQMServices/Core/interface/MonitorElement.h" 00024 00025 class EgammaBasicClusters : public edm::EDAnalyzer 00026 { 00027 public: 00028 explicit EgammaBasicClusters( const edm::ParameterSet& ); 00029 ~EgammaBasicClusters(); 00030 00031 virtual void analyze( const edm::Event&, const edm::EventSetup& ); 00032 virtual void beginJob(edm::EventSetup const&); 00033 virtual void endJob(); 00034 00035 private: 00036 std::string outputFile_; 00037 std::string CMSSW_Version_; 00038 00039 bool verboseDBE_; 00040 DQMStore* dbe_; 00041 00042 edm::InputTag barrelBasicClusterCollection_; 00043 edm::InputTag endcapBasicClusterCollection_; 00044 00045 MonitorElement* hist_EB_BC_Size_; 00046 MonitorElement* hist_EE_BC_Size_; 00047 00048 double hist_min_Size_; 00049 double hist_max_Size_; 00050 int hist_bins_Size_; 00051 00052 MonitorElement* hist_EB_BC_NumRecHits_; 00053 MonitorElement* hist_EE_BC_NumRecHits_; 00054 00055 double hist_min_NumRecHits_; 00056 double hist_max_NumRecHits_; 00057 int hist_bins_NumRecHits_; 00058 00059 MonitorElement* hist_EB_BC_ET_; 00060 MonitorElement* hist_EE_BC_ET_; 00061 00062 double hist_min_ET_; 00063 double hist_max_ET_; 00064 int hist_bins_ET_; 00065 00066 MonitorElement* hist_EB_BC_Eta_; 00067 MonitorElement* hist_EE_BC_Eta_; 00068 00069 double hist_min_Eta_; 00070 double hist_max_Eta_; 00071 int hist_bins_Eta_; 00072 00073 MonitorElement* hist_EB_BC_Phi_; 00074 MonitorElement* hist_EE_BC_Phi_; 00075 00076 double hist_min_Phi_; 00077 double hist_max_Phi_; 00078 int hist_bins_Phi_; 00079 }; 00080 #endif