CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSummaryClient.h
Go to the documentation of this file.
1 #ifndef HcalSummaryClient_GUARD_H
2 #define HcalSummaryClient_GUARD_H
3 
7 
8 class EtaPhiHists;
9 class MonitorElement;
10 class HcalBaseDQClient;
11 
13 
14  public:
15 
18  HcalSummaryClient(std::string myname);//{ name_=myname;};
20 
21  void analyze(DQMStore::IBooker &, DQMStore::IGetter &, int LS=-1);
22  void updateChannelStatus(std::map<HcalDetId, unsigned int>& myqual);
23  void endJob(void);
24  void beginRun(void);
25  //void endRun(void);
27  void cleanup(void);
28 
31 
32  bool hasErrors_Temp(void);
33  bool hasWarnings_Temp(void);
34  bool hasOther_Temp(void);
35  bool test_enabled(void);
36 
37  void getFriends(const std::vector<HcalBaseDQClient*>& clients){clients_=clients;};
38 
41 
42  private:
43  int nevts_;
44  EtaPhiHists* SummaryMapByDepth; // used to store & calculate problems
52 
53  // minEvents and TaskLists_ were added as private members during the
54  // MT migration.
55  // Originally this functionality was performed by the HcalLSbyLSMonitor
56  // under DQM/HcalMonitorTasks
58  std::vector<std::string> TaskList_;
59 
63  bool UseBadChannelStatusInSummary_; // if turned on, the channel status DB output is checked and any channels reporting 'NaN' are counted as bad in the summary.
64 
65  std::vector<HcalBaseDQClient*> clients_;
66  std::map<std::string, int> subdetCells_;
68 
69  bool doSetup_; // defaults to true in constructor
70 };
71 
72 #endif
std::vector< std::string > TaskList_
HcalSummaryClient()
Constructors.
std::map< std::string, int > subdetCells_
void updateChannelStatus(std::map< HcalDetId, unsigned int > &myqual)
MonitorElement * StatusVsLS_
virtual void setup(void)
MonitorElement * EnoughEvents_
void analyze(DQMStore::IBooker &, DQMStore::IGetter &, int LS=-1)
~HcalSummaryClient()
Destructor.
std::vector< HcalBaseDQClient * > clients_
void fillReportSummary(DQMStore::IBooker &, DQMStore::IGetter &, int LS)
EtaPhiHists * SummaryMapByDepth
MonitorElement * MinEvents_
MonitorElement * certificationMap_
MonitorElement * reportMap_
MonitorElement * reportMapShift_
void fillReportSummaryLSbyLS(DQMStore::IBooker &, DQMStore::IGetter &, int LS)
void getFriends(const std::vector< HcalBaseDQClient * > &clients)
MonitorElement * MinErrorRate_