00001 #ifndef HcalDeadCellClient_GUARD_H 00002 #define HcalDeadCellClient_GUARD_H 00003 00004 #include "DQM/HcalMonitorClient/interface/HcalBaseDQClient.h" 00005 #include "FWCore/Framework/interface/MakerMacros.h" 00006 #include "FWCore/ServiceRegistry/interface/Service.h" 00007 00008 class HcalDeadCellClient : public HcalBaseDQClient { 00009 00010 public: 00011 00013 HcalDeadCellClient(){name_="";}; 00014 HcalDeadCellClient(std::string myname);//{ name_=myname;}; 00015 HcalDeadCellClient(std::string myname, const edm::ParameterSet& ps); 00016 00017 void analyze(void); 00018 void calculateProblems(void); // calculates problem histogram contents 00019 void updateChannelStatus(std::map<HcalDetId, unsigned int>& myqual); 00020 void beginJob(void); 00021 void endJob(void); 00022 void beginRun(void); 00023 void endRun(void); 00024 void setup(void); 00025 void cleanup(void); 00026 00027 bool hasErrors_Temp(void); 00028 bool hasWarnings_Temp(void); 00029 bool hasOther_Temp(void); 00030 bool test_enabled(void); 00031 00033 ~HcalDeadCellClient(); 00034 00035 private: 00036 int nevts_; 00037 00038 int HBpresent_, HEpresent_, HOpresent_, HFpresent_; 00039 bool excludeHOring2_backup_; // this value is used for excludeHOring2 if it can't be read directly from the DQM file 00040 00041 }; 00042 00043 #endif