CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTLocalTriggerSynchTest.h
Go to the documentation of this file.
1 #ifndef DTLocalTriggerSynchTest_H
2 #define DTLocalTriggerSynchTest_H
3 
4 
18 
19 class DTTrigGeomUtils;
20 
22 
23 public:
24 
27 
29  virtual ~DTLocalTriggerSynchTest();
30 
31 protected:
32 
34  void bookChambHistos(DTChamberId chambId, std::string htype, std::string subfolder="");
35 
37  void makeRatioME(TH1F* numerator, TH1F* denominator, MonitorElement* result);
38 
40  float getFloatFromME(DTChamberId chId, std::string meType);
41 
43  void beginJob();
44 
46  void beginRun(const edm::Run& run, const edm::EventSetup& c);
47 
49  void endJob();
50 
52  void runClientDiagnostic();
53 
54  private:
55 
56  std::map<uint32_t,std::map<std::string,MonitorElement*> > chambME;
57  std::string numHistoTag;
58  std::string denHistoTag;
59  std::string ratioHistoTag;
60  double bxTime;
61  bool rangeInBX;
62  int nBXLow;
63  int nBXHigh;
65  bool writeDB;
67 
68 };
69 
70 #endif
void beginRun(const edm::Run &run, const edm::EventSetup &c)
begin Run
float getFloatFromME(DTChamberId chId, std::string meType)
Get float MEs.
virtual ~DTLocalTriggerSynchTest()
Destructor.
tuple result
Definition: query.py:137
void runClientDiagnostic()
DQM Client Diagnostic.
DTLocalTriggerSynchTest(const edm::ParameterSet &ps)
Constructor.
void makeRatioME(TH1F *numerator, TH1F *denominator, MonitorElement *result)
Compute efficiency plots.
std::map< uint32_t, std::map< std::string, MonitorElement * > > chambME
void bookChambHistos(DTChamberId chambId, std::string htype, std::string subfolder="")
Book the new MEs (for each chamber)
Definition: Run.h:33