CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTLocalTriggerSynchTest.h
Go to the documentation of this file.
1 #ifndef DTLocalTriggerSynchTest_H
2 #define DTLocalTriggerSynchTest_H
3 
18 
19 class DTTrigGeomUtils;
20 
22 public:
25 
27  ~DTLocalTriggerSynchTest() override;
28 
29 protected:
31 
32  void bookChambHistos(DQMStore::IBooker &, DTChamberId chambId, std::string htype, std::string subfolder = "");
33 
36 
38 
40 
42  void beginRun(const edm::Run &run, const edm::EventSetup &c) override;
43 
44  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
45 
47 
49 
52  edm::LuminosityBlock const &,
53  edm::EventSetup const &) override;
54 
55 private:
56  std::map<uint32_t, std::map<std::string, MonitorElement *> > chambME;
60  double bxTime;
61  bool rangeInBX;
62  int nBXLow;
63  int nBXHigh;
65  bool writeDB;
68 
70 };
71 
72 #endif
edm::ESGetToken< DTTPGParameters, DTTPGParametersRcd > wPhaseMapToken_
const edm::EventSetup & c
list numerator
Definition: cuy.py:484
const DTTPGParameters * wPhaseMap
tuple result
Definition: mps_fire.py:311
void runClientDiagnostic(DQMStore::IBooker &, DQMStore::IGetter &) override
DQM Client Diagnostic.
list denominator
Definition: cuy.py:485
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