CMS 3D CMS Logo

DTnoiseDBValidation.h
Go to the documentation of this file.
1 #ifndef DTnoiseDBValidation_H
2 #define DTnoiseDBValidation_H
3 
19 
20 #include <map>
21 #include <string>
22 #include <vector>
23 
24 class DTGeometry;
25 class DTChamberId;
26 class DTStatusFlag;
27 class TFile;
28 
30 public:
33 
35  ~DTnoiseDBValidation() override;
36 
38  void beginRun(const edm::Run &run, const edm::EventSetup &setup) override;
39  void endRun(edm::Run const &, edm::EventSetup const &) override;
40  void endJob() override;
41  void analyze(const edm::Event &event, const edm::EventSetup &setup) override {}
42 
43 protected:
44 private:
45  void bookHisto(const DTChamberId &);
46 
48  // The DB label
52 
55 
56  // The DTGeometry
58 
59  // The noise map
62 
63  // the total number of noisy cell
66  // the histos
72  std::map<DTChamberId, MonitorElement *> noiseHistoMap_;
73 };
74 #endif
MonitorElement * wheelHisto_
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
void bookHisto(const DTChamberId &)
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Operations.
const DTStatusFlag * noiseRefMap_
const DTStatusFlag * noiseMap_
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_