00001 #ifndef PresampleClient_H 00002 #define PresampleClient_H 00003 00004 #include "DQM/EcalCommon/interface/DQWorkerClient.h" 00005 00006 namespace ecaldqm { 00007 00008 class PresampleClient : public DQWorkerClient { 00009 public: 00010 PresampleClient(const edm::ParameterSet &, const edm::ParameterSet &); 00011 ~PresampleClient() {} 00012 00013 void bookMEs(); 00014 00015 void producePlots(); 00016 00017 enum MESets { 00018 kQuality, 00019 kMean, 00020 kMeanDCC, 00021 kRMS, 00022 kRMSMap, 00023 kRMSMapSummary, 00024 kQualitySummary, 00025 nMESets 00026 }; 00027 00028 static void setMEData(std::vector<MEData>&); 00029 00030 enum Sources { 00031 sPedestal, 00032 nSources 00033 }; 00034 00035 protected: 00036 int minChannelEntries_; 00037 int minTowerEntries_; 00038 float expectedMean_; 00039 float meanThreshold_; 00040 float rmsThreshold_; 00041 float rmsThresholdHighEta_; 00042 float noisyFracThreshold_; 00043 }; 00044 00045 } 00046 00047 #endif 00048