CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTTriggerEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTTriggerEfficiencyTest_H
2 #define DTTriggerEfficiencyTest_H
3 
4 
18 
19 #include <string>
20 
21 class DTTrigGeomUtils;
22 
24 
25 public:
26 
29 
31  virtual ~DTTriggerEfficiencyTest();
32 
33 protected:
34 
36  void makeEfficiencyME(TH2F* numerator, TH2F* denominator, MonitorElement* result2DWh, MonitorElement* result1DWh, MonitorElement* result1D);
37 
39  void makeEfficiencyME(TH2F* numerator, TH2F* denominator, MonitorElement* result2DWh);
40 
42  void bookHistos(DQMStore::IBooker & ibooker,std::string hTag,std::string folder);
43 
45  void bookWheelHistos(DQMStore::IBooker & ibooker,int wheel,std::string hTag,std::string folder);
46 
48  void bookChambHistos(DQMStore::IBooker & ibooker,DTChamberId chambId, std::string htype , std::string folder = "");
49 
51  std::string getMEName(std::string histoTag, std::string folder, int wh);
52 
54  void beginRun(const edm::Run& r, const edm::EventSetup& c);
55 
57 
59 
62 
63  private:
64 
65  std::map<std::string, MonitorElement*> globalEffDistr;
66  std::map<int,std::map<std::string,MonitorElement*> > EffDistrPerWh;
67  std::map<uint32_t,std::map<std::string,MonitorElement*> > chambME;
70 
72 
73 };
74 
75 #endif
void makeEfficiencyME(TH2F *numerator, TH2F *denominator, MonitorElement *result2DWh, MonitorElement *result1DWh, MonitorElement *result1D)
Compute 1D/2D efficiency plots.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Perform client diagnostic in online.
list numerator
Definition: cuy.py:483
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
std::map< int, std::map< std::string, MonitorElement * > > EffDistrPerWh
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
void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &)
DQM Client Diagnostic.
std::map< uint32_t, std::map< std::string, MonitorElement * > > chambME
virtual ~DTTriggerEfficiencyTest()
Destructor.
list denominator
Definition: cuy.py:484
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 bookHistos(DQMStore::IBooker &ibooker, std::string hTag, std::string folder)
Book the new MEs (global)
Definition: Run.h:41