test
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(int LS=-1);
22  void updateChannelStatus(std::map<HcalDetId, unsigned int>& myqual);
23  void beginJob(void);
24  void endJob(void);
25  void beginRun(void);
26  void endRun(void);
27  void setup(void);
28  void cleanup(void);
29 
30  void fillReportSummary(int LS);
31  void fillReportSummaryLSbyLS(int LS);
32 
33  bool hasErrors_Temp(void);
34  bool hasWarnings_Temp(void);
35  bool hasOther_Temp(void);
36  bool test_enabled(void);
37 
38  void getFriends(const std::vector<HcalBaseDQClient*>& clients){clients_=clients;};
39 
42 
43  private:
44  int nevts_;
45  EtaPhiHists* SummaryMapByDepth; // used to store & calculate problems
53 
57  bool UseBadChannelStatusInSummary_; // if turned on, the channel status DB output is checked and any channels reporting 'NaN' are counted as bad in the summary.
58 
59  std::vector<HcalBaseDQClient*> clients_;
60  std::map<std::string, int> subdetCells_;
62 };
63 
64 #endif
HcalSummaryClient()
Constructors.
std::map< std::string, int > subdetCells_
void updateChannelStatus(std::map< HcalDetId, unsigned int > &myqual)
void fillReportSummaryLSbyLS(int LS)
MonitorElement * StatusVsLS_
MonitorElement * EnoughEvents_
~HcalSummaryClient()
Destructor.
std::vector< HcalBaseDQClient * > clients_
EtaPhiHists * SummaryMapByDepth
MonitorElement * MinEvents_
MonitorElement * certificationMap_
MonitorElement * reportMap_
MonitorElement * reportMapShift_
virtual void analyze(void)
void getFriends(const std::vector< HcalBaseDQClient * > &clients)
MonitorElement * MinErrorRate_
void fillReportSummary(int LS)