CMS 3D CMS Logo

DTTriggerEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTTriggerEfficiencyTest_H
2 #define DTTriggerEfficiencyTest_H
3 
16 
17 #include <string>
18 
19 class DTTrigGeomUtils;
20 
22 public:
25 
27  ~DTTriggerEfficiencyTest() override;
28 
29 protected:
31  void makeEfficiencyME(TH2F* numerator,
32  TH2F* denominator,
33  MonitorElement* result2DWh,
34  MonitorElement* result1DWh,
35  MonitorElement* result1D);
36 
38  void makeEfficiencyME(TH2F* numerator, TH2F* denominator, MonitorElement* result2DWh);
39 
42 
45 
47  void bookChambHistos(DQMStore::IBooker& ibooker, DTChamberId chambId, std::string htype, std::string folder = "");
48 
51 
53  void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
54 
58 
59 private:
60  std::map<std::string, MonitorElement*> globalEffDistr;
61  std::map<int, std::map<std::string, MonitorElement*> > EffDistrPerWh;
62  std::map<uint32_t, std::map<std::string, MonitorElement*> > chambME;
65 
67 };
68 
69 #endif
void makeEfficiencyME(TH2F *numerator, TH2F *denominator, MonitorElement *result2DWh, MonitorElement *result1DWh, MonitorElement *result1D)
Compute 1D/2D efficiency plots.
std::map< uint32_t, std::map< std::string, MonitorElement * > > chambME
DTTriggerEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
void bookWheelHistos(DQMStore::IBooker &ibooker, int wheel, std::string hTag, std::string folder)
Book the new MEs (for each wheel)
std::map< std::string, MonitorElement * > globalEffDistr
std::map< int, std::map< std::string, MonitorElement * > > EffDistrPerWh
void bookChambHistos(DQMStore::IBooker &ibooker, DTChamberId chambId, std::string htype, std::string folder="")
Book the new MEs (for each chamber)
std::string getMEName(std::string histoTag, std::string folder, int wh)
Get the ME name (by wheel)
void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &) override
DQM Client Diagnostic.
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
BeginRun.
~DTTriggerEfficiencyTest() override
Destructor.
void Bookings(DQMStore::IBooker &, DQMStore::IGetter &)
void bookHistos(DQMStore::IBooker &ibooker, std::string hTag, std::string folder)
Book the new MEs (global)
Definition: Run.h:45