CMS 3D CMS Logo

DTLocalTriggerSynchTest.h
Go to the documentation of this file.
1 #ifndef DTLocalTriggerSynchTest_H
2 #define DTLocalTriggerSynchTest_H
3 
17 
18 class DTTrigGeomUtils;
19 
21 public:
24 
26  ~DTLocalTriggerSynchTest() override;
27 
28 protected:
30 
31  void bookChambHistos(DQMStore::IBooker &, DTChamberId chambId, std::string htype, std::string subfolder = "");
32 
35 
37 
39 
41  void beginRun(const edm::Run &run, const edm::EventSetup &c) override;
42 
43  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
44 
46 
48 
51  edm::LuminosityBlock const &,
52  edm::EventSetup const &) override;
53 
54 private:
55  std::map<uint32_t, std::map<std::string, MonitorElement *> > chambME;
59  double bxTime;
60  bool rangeInBX;
61  int nBXLow;
62  int nBXHigh;
64  bool writeDB;
66 
68 };
69 
70 #endif
void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &) override
DQM Client Diagnostic.
float getFloatFromME(DQMStore::IGetter &, DTChamberId chId, std::string meType)
Get float MEs.
DTLocalTriggerSynchTest(const edm::ParameterSet &ps)
Constructor.
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
begin Run
void makeRatioME(TH1F *numerator, TH1F *denominator, MonitorElement *result)
Compute efficiency plots.
std::map< uint32_t, std::map< std::string, MonitorElement * > > chambME
void bookChambHistos(DQMStore::IBooker &, DTChamberId chambId, std::string htype, std::string subfolder="")
Book the new MEs (for each chamber)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Perform client diagnostic in online.
~DTLocalTriggerSynchTest() override
Destructor.
Definition: Run.h:45