CMS 3D CMS Logo

DTnoiseDBValidation.h
Go to the documentation of this file.
1 #ifndef DTnoiseDBValidation_H
2 #define DTnoiseDBValidation_H
3 
20 
21 #include <map>
22 #include <string>
23 #include <vector>
24 
25 class DTGeometry;
26 class DTChamberId;
27 class DTStatusFlag;
28 class TFile;
29 
31 public:
36 
38  ~DTnoiseDBValidation() override;
39 
41  void beginRun(const edm::Run &run, const edm::EventSetup &setup) override;
42  void endRun(edm::Run const &, edm::EventSetup const &) override;
43  void endJob() override;
44  void analyze(const edm::Event &event, const edm::EventSetup &setup) override {}
45 
46 protected:
47 private:
48  void bookHisto(const DTChamberId &);
49 
51  // The DB label
57 
60 
61  // The DTGeometry
64 
65  // The noise map
68 
69  // the total number of noisy cell
72  // the histos
78  std::map<DTChamberId, MonitorElement *> noiseHistoMap_;
79 };
80 #endif
MonitorElement * wheelHisto_
const DTStatusFlag * noiseRefMap
const DTGeometry * dtGeom
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
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd > labelDBRef_
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd > labelDB_
DTnoiseDBValidation(const edm::ParameterSet &pset)
Constructor.
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
void endRun(edm::Run const &, edm::EventSetup const &) override
MonitorElement * diffHisto_
MonitorElement * stationHisto_
MonitorElement * layerHisto_
const DTStatusFlag * noiseMap
~DTnoiseDBValidation() override
Destructor.
Definition: event.py:1
Definition: Run.h:45
MonitorElement * sectorHisto_