test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalDetDiagLEDClient.h
Go to the documentation of this file.
1 #ifndef HcalDetDiagLEDClient_GUARD_H
2 #define HcalDetDiagLEDClient_GUARD_H
3 
7 class TH2F;
9 
10  public:
11 
14  HcalDetDiagLEDClient(std::string myname);//{ name_=myname;};
16 
18  void calculateProblems(DQMStore::IBooker &, DQMStore::IGetter &); // calculates problem histogram contents
19  void updateChannelStatus(std::map<HcalDetId, unsigned int>& myqual);
20  void endJob(void);
21  void beginRun(void);
22  //void endRun(void);
23  void setup(void);
24  void cleanup(void);
25  bool hasErrors_Temp(void);
26  bool hasWarnings_Temp(void);
27  bool hasOther_Temp(void);
28  bool test_enabled(void);
29 
32 
35 
36  private:
37  int nevts_;
38  int status;
48  double get_channel_status(std::string subdet,int eta,int phi,int depth,int type);
49  double get_energy(std::string subdet,int eta,int phi,int depth,int type);
50 
51  // -- setup for problem cells
52  bool doProblemCellSetup_; // default to true in the constructor
53 
54  // setup the problem cells
55  // this sets the doProblemCellSetup_ to false
57 };
58 
59 #endif
type
Definition: HCALResponse.h:21
TH2F * ChannelStatusUnstableChannels[4]
void analyze(DQMStore::IBooker &, DQMStore::IGetter &)
HcalDetDiagLEDClient()
Constructors.
void setupProblemCells(DQMStore::IBooker &, DQMStore::IGetter &)
bool validHtmlOutput(DQMStore::IBooker &, DQMStore::IGetter &)
void updateChannelStatus(std::map< HcalDetId, unsigned int > &myqual)
double get_energy(std::string subdet, int eta, int phi, int depth, int type)
TH2F * ChannelStatusMissingChannels[4]
double get_channel_status(std::string subdet, int eta, int phi, int depth, int type)
virtual void calculateProblems(void)
void htmlOutput(DQMStore::IBooker &, DQMStore::IGetter &, std::string)
~HcalDetDiagLEDClient()
Destructor.
TH2F * ChannelStatusUnstableLEDsignal[4]