CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/HcalMonitorClient/interface/HcalCoarsePedestalClient.h

Go to the documentation of this file.
00001 #ifndef HcalCoarsePedestalClient_GUARD_H
00002 #define HcalCoarsePedestalClient_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 HcalCoarsePedestalClient : public HcalBaseDQClient {
00009 
00010  public:
00011 
00013   HcalCoarsePedestalClient(){name_="";};
00014   HcalCoarsePedestalClient(std::string myname);//{ name_=myname;};
00015   HcalCoarsePedestalClient(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   ~HcalCoarsePedestalClient();
00034 
00035  private:
00036   int nevts_;
00037 
00038   double ADCDiffThresh_;
00039   TH2F* DatabasePedestalsADCByDepth[4];
00040   EtaPhiHists* CoarsePedestalsByDepth;
00041   MonitorElement* CoarsePedDiff;
00042 };
00043 
00044 #endif