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 
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
73  std::map<DTChamberId, MonitorElement *> noiseHistoMap_;
74 };
75 #endif
DTGeometry
Definition: DTGeometry.h:28
DTnoiseDBValidation::sectorTestName_
std::string sectorTestName_
Definition: DTnoiseDBValidation.h:52
DTnoiseDBValidation::DTnoiseDBValidation
DTnoiseDBValidation(const edm::ParameterSet &pset)
Constructor.
Definition: DTnoiseDBValidation.cc:39
DTnoiseDBValidation::noiseHistoMap_
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
Definition: DTnoiseDBValidation.h:73
ESHandle.h
DTnoiseDBValidation::bookHisto
void bookHisto(const DTChamberId &)
Definition: DTnoiseDBValidation.cc:275
edm::Run
Definition: Run.h:45
DTnoiseDBValidation::diffHisto_
MonitorElement * diffHisto_
Definition: DTnoiseDBValidation.h:68
DQMStore.h
DTnoiseDBValidation::endJob
void endJob() override
Definition: DTnoiseDBValidation.cc:269
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
DTnoiseDBValidation::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: DTnoiseDBValidation.cc:201
EDAnalyzer.h
DTnoiseDBValidation::layerHisto_
MonitorElement * layerHisto_
Definition: DTnoiseDBValidation.h:72
DTnoiseDBValidation::labelDBRef_
std::string labelDBRef_
Definition: DTnoiseDBValidation.h:50
DTnoiseDBValidation::diffTestName_
std::string diffTestName_
Definition: DTnoiseDBValidation.h:52
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
DTnoiseDBValidation::noiseRefMap_
const DTStatusFlag * noiseRefMap_
Definition: DTnoiseDBValidation.h:62
DTnoiseDBValidation::stationHisto_
MonitorElement * stationHisto_
Definition: DTnoiseDBValidation.h:70
MakerMacros.h
dqm::legacy::DQMStore
Definition: DQMStore.h:727
DTnoiseDBValidation::noiseMap_
const DTStatusFlag * noiseMap_
Definition: DTnoiseDBValidation.h:61
Service.h
DTnoiseDBValidation::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: DTnoiseDBValidation.h:31
edm::ESHandle< DTGeometry >
DTnoiseDBValidation::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: DTnoiseDBValidation.h:30
DTnoiseDBValidation::~DTnoiseDBValidation
~DTnoiseDBValidation() override
Destructor.
Definition: DTnoiseDBValidation.cc:77
DTnoiseDBValidation::outputFileName_
std::string outputFileName_
Definition: DTnoiseDBValidation.h:55
DTnoiseDBValidation::analyze
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
Definition: DTnoiseDBValidation.h:42
DTnoiseDBValidation::outputMEsInRootFile_
bool outputMEsInRootFile_
Definition: DTnoiseDBValidation.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
DTnoiseDBValidation::noisyCellsValid_
int noisyCellsValid_
Definition: DTnoiseDBValidation.h:66
DTnoiseDBValidation::layerTestName_
std::string layerTestName_
Definition: DTnoiseDBValidation.h:52
DTnoiseDBValidation
Definition: DTnoiseDBValidation.h:28
DTnoiseDBValidation::sectorHisto_
MonitorElement * sectorHisto_
Definition: DTnoiseDBValidation.h:71
edm::EventSetup
Definition: EventSetup.h:57
DTnoiseDBValidation::stationTestName_
std::string stationTestName_
Definition: DTnoiseDBValidation.h:52
DTnoiseDBValidation::wheelTestName_
std::string wheelTestName_
Definition: DTnoiseDBValidation.h:52
writedatasetfile.run
run
Definition: writedatasetfile.py:27
Frameworkfwd.h
DTnoiseDBValidation::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Operations.
Definition: DTnoiseDBValidation.cc:79
MuonServiceProxy.h
DTChamberId
Definition: DTChamberId.h:14
DTnoiseDBValidation::dtGeom_
edm::ESHandle< DTGeometry > dtGeom_
Definition: DTnoiseDBValidation.h:58
ParameterSet.h
DTnoiseDBValidation::labelDB_
std::string labelDB_
Definition: DTnoiseDBValidation.h:51
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DTnoiseDBValidation::dbe_
DQMStore * dbe_
Definition: DTnoiseDBValidation.h:48
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTnoiseDBValidation::wheelHisto_
MonitorElement * wheelHisto_
Definition: DTnoiseDBValidation.h:69
DTStatusFlag
Definition: DTStatusFlag.h:74
DTnoiseDBValidation::noisyCellsRef_
int noisyCellsRef_
Definition: DTnoiseDBValidation.h:65