CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DTEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTEfficiencyTest_H
2 #define DTEfficiencyTest_H
3 
22 
27 
28 #include <memory>
29 #include <iostream>
30 #include <fstream>
31 #include <string>
32 #include <vector>
33 #include <map>
34 
35 class DTGeometry;
36 class DTChamberId;
37 class DTSuperLayerId;
38 class DTLayerId;
39 
41 public:
44 
46  ~DTEfficiencyTest() override;
47 
48 protected:
50  void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
51 
52  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
53 
55 
56  void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire);
57 
59  void bookHistos(DQMStore::IBooker &, int wh);
60 
63 
65 
68  edm::LuminosityBlock const &,
69  edm::EventSetup const &) override;
70 
71 private:
72  int nevents;
73  unsigned int nLumiSegs;
75  int run;
77 
79 
82 
83  std::map<DTLayerId, MonitorElement *> EfficiencyHistos;
84  std::map<DTLayerId, MonitorElement *> UnassEfficiencyHistos;
85 
86  // wheel summary histograms
87  std::map<int, MonitorElement *> wheelHistos;
88  std::map<int, MonitorElement *> wheelUnassHistos;
89 };
90 
91 #endif
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
beginrun
edm::ParameterSet parameters
~DTEfficiencyTest() override
Destructor.
void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire)
book the new ME
DTEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
std::map< int, MonitorElement * > wheelHistos
std::map< DTLayerId, MonitorElement * > UnassEfficiencyHistos
std::map< int, MonitorElement * > wheelUnassHistos
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
unsigned int nLumiSegs
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
std::map< DTLayerId, MonitorElement * > EfficiencyHistos
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
const DTGeometry * muonGeom
Definition: Run.h:45
std::string getMEName(std::string histoTag, const DTLayerId &lID)
Get the ME name.