CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorBaseMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORBASEMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORBASEMONITOR_H
3 
6 #include "TH1F.h"
7 #include "TH2F.h"
8 #include <map>
9 #include <iostream>
11 
12 #include "DataFormats/HcalDetId/interface/HcalCastorDetId.h" //-- HcalCastorDetId
13 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h" //-- CastorDigiCollection
14 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h" //-- CastorRecHitCollection
15 
22 
25 
27 
28 
30 public:
32  virtual ~CastorBaseMonitor();
33 
34  virtual void setup(const edm::ParameterSet& ps, DQMStore* dbe);
35  virtual void done();
36  virtual void clearME();
37 
38  void setVerbosity(int verb) { fVerbosity = verb; }
39  int getVerbosity() const { return fVerbosity; }
40 
41  void setDiagnostics(bool myval) { makeDiagnostics=myval;}
42  bool getDiagnostics() const { return makeDiagnostics;}
43 
44  bool vetoCell(HcalCastorDetId id);
45 
46 protected:
47 
49  bool showTiming; //-- controls whether to show timing diagnostic info
51 
52  bool makeDiagnostics; //-- controls whether to make diagnostic plots
53 
55  //vector<std::string> hotCells_;
58 
59 };
60 
61 #endif
virtual ~CastorBaseMonitor()
edm::CPUTimer cpu_timer
virtual void setup(const edm::ParameterSet &ps, DQMStore *dbe)
virtual void clearME()
void setVerbosity(int verb)
bool getDiagnostics() const
bool vetoCell(HcalCastorDetId id)
std::string baseFolder_
int getVerbosity() const
void setDiagnostics(bool myval)
std::string rootFolder_
virtual void done()