CMS 3D CMS Logo

DTnoiseDBValidation.h
Go to the documentation of this file.
1 #ifndef DTnoiseDBValidation_H
2 #define DTnoiseDBValidation_H
3 
18 
19 #include <map>
20 #include <string>
21 #include <vector>
22 
23 class DTGeometry;
24 class DTChamberId;
25 class DTStatusFlag;
26 class TFile;
27 
29 public:
34 
36  ~DTnoiseDBValidation() override;
37 
39  void beginRun(const edm::Run &run, const edm::EventSetup &setup) override;
40  void endRun(edm::Run const &, edm::EventSetup const &) override;
41  void endJob() override;
42  void analyze(const edm::Event &event, const edm::EventSetup &setup) override {}
43 
44 protected:
45 private:
46  void bookHisto(const DTChamberId &);
47 
48  DQMStore *dbe_;
49  // The DB label
53 
56 
57  // The DTGeometry
59 
60  // The noise map
63 
64  // the total number of noisy cell
67  // the histos
68  MonitorElement *diffHisto_;
69  MonitorElement *wheelHisto_;
70  MonitorElement *stationHisto_;
71  MonitorElement *sectorHisto_;
72  MonitorElement *layerHisto_;
73  std::map<DTChamberId, MonitorElement *> noiseHistoMap_;
74 };
75 #endif
MonitorElement * wheelHisto_
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
void bookHisto(const DTChamberId &)
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Operations.
const DTStatusFlag * noiseRefMap_
const DTStatusFlag * noiseMap_
dqm::legacy::MonitorElement MonitorElement
dqm::legacy::DQMStore DQMStore
DTnoiseDBValidation(const edm::ParameterSet &pset)
Constructor.
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
void endRun(edm::Run const &, edm::EventSetup const &) override
MonitorElement * diffHisto_
edm::ESHandle< DTGeometry > dtGeom_
MonitorElement * stationHisto_
MonitorElement * layerHisto_
~DTnoiseDBValidation() override
Destructor.
Definition: event.py:1
Definition: Run.h:45
MonitorElement * sectorHisto_