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 <string>
21 #include <vector>
22 #include <map>
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 
45 private:
46  void bookHisto(const DTChamberId&);
47 
49  // The DB label
54 
57 
58  // The DTGeometry
60 
61  // The noise map
64 
65  //the total number of noisy cell
68  // the histos
74  std::map<DTChamberId, MonitorElement*> noiseHistoMap_;
75 
76 };
77 #endif
78 
MonitorElement * wheelHisto_
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
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.
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:44
MonitorElement * sectorHisto_