CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/HcalMonitorClient/interface/SubTaskSummaryStatus.h

Go to the documentation of this file.
00001 #ifndef GUARD_SUBTASKSUMMARYSTATUS_H
00002 #define GUARD_SUBTASKSUMMARYSTATUS_H
00003 
00004 #include <string>
00005 #include "DQMServices/Core/interface/MonitorElement.h"
00006 #include "DQMServices/Core/interface/DQMStore.h"
00007 
00008 class SubTaskSummaryStatus
00009 {
00010  public:
00011   SubTaskSummaryStatus(bool onoffval=false);
00012   ~SubTaskSummaryStatus();
00013   //void SetOnOff(bool onoffval);
00014 
00015   void Setup(std::string problemDir, std::string problemName,
00016              std::string OverName,
00017              std::string id, double thresh);
00018   void WriteThreshold(DQMStore* dbe, std::string basedir);
00019   bool IsOn();
00020 
00021   double thresh; // value above which cell is considered bad
00022   // Number of bad cells
00023   double status[5]; // HB, HE, HO, HF, ZDC;  make private?
00024   double ALLstatus;
00025 
00026   std::string problemName; // name for the set of EtaPhi problem histograms
00027   std::string problemDir; // directory of problem histograms
00028   std::string summaryName; // name of summary Problem plot
00029   std::string id; // store id string ("HotCells", etc.)
00030   bool onoff;
00031 };
00032 
00033 #endif