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  virtual ~DTnoiseDBValidation();
36 
38  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
39  void endRun(edm::Run const&, edm::EventSetup const&);
40  void endJob();
41  void analyze(const edm::Event& event, const edm::EventSetup& setup) {}
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_
void beginRun(const edm::Run &run, const edm::EventSetup &setup)
Operations.
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
void bookHisto(const DTChamberId &)
const DTStatusFlag * noiseRefMap_
const DTStatusFlag * noiseMap_
DTnoiseDBValidation(const edm::ParameterSet &pset)
Constructor.
MonitorElement * diffHisto_
edm::ESHandle< DTGeometry > dtGeom_
void endRun(edm::Run const &, edm::EventSetup const &)
MonitorElement * stationHisto_
virtual ~DTnoiseDBValidation()
Destructor.
void analyze(const edm::Event &event, const edm::EventSetup &setup)
MonitorElement * layerHisto_
Definition: event.py:1
Definition: Run.h:42
MonitorElement * sectorHisto_