00001 #include "DQM/HcalMonitorClient/interface/SubTaskSummaryStatus.h" 00002 00003 SubTaskSummaryStatus::SubTaskSummaryStatus(bool onoffval) 00004 { 00005 onoff=onoffval; 00006 for (unsigned int i=0;i<5;++i) 00007 { 00008 status[i]=-1; //initial status is unknown 00009 ALLstatus=-1; 00010 problemName=""; 00011 problemDir=""; 00012 } 00013 } // constructor 00014 00015 SubTaskSummaryStatus::~SubTaskSummaryStatus(){} 00016 00017 /* 00018 void SubTaskSummaryStatus::SetOnOff(bool onoffval) 00019 { 00020 onoff=onoffval; 00021 return; 00022 } // SetOnOff(bool onoffval) 00023 */ 00024 00025 bool SubTaskSummaryStatus::IsOn() 00026 { 00027 return onoff; 00028 } // IsOn() 00029