CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1TTestsSummary.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMONITORCLIENT_L1TOCCUPANCYCLIENT_H
2 #define DQM_L1TMONITORCLIENT_L1TOCCUPANCYCLIENT_H
3 
9 
13 
14 #include <memory>
15 #include <iostream>
16 #include <fstream>
17 #include <string>
18 #include <vector>
19 #include <map>
20 #include <TH1F.h>
21 #include <TH1D.h>
22 #include <TH2F.h>
23 #include <TF1.h>
24 #include <TProfile2D.h>
25 
27 public:
28  // Constructor
30 
31  // Destructor
32  ~L1TTestsSummary() override;
33 
34 protected:
36  DQMStore::IGetter &igetter,
37  const edm::LuminosityBlock &lumiSeg,
38  const edm::EventSetup &c) override; // DQM Client Diagnostic
39 
40  void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
41  virtual void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
42 
43 private:
44  edm::ParameterSet mParameters; //parameter set from python
45 
46  // bool
47  bool mVerbose; // verbose mode
48  bool mMonitorL1TRate; // If we are going to monitor the L1TRate Module
49  bool mMonitorL1TSync; // If we are going to monitor the L1TSync Module
50  bool mMonitorL1TOccupancy; // If we are going to monitor the L1TOccupancy Module
51 
52  // int
53  int binYRate, binYSync, binYOccpancy; // What bin in Y corresponds to which test in L1TSummary
54 
55  // string
56  std::string mL1TRatePath; // Path to histograms produced by L1TRate Module
57  std::string mL1TSyncPath; // Path to histograms produced by L1TSync Module
58  std::string mL1TOccupancyPath; // Path to histograms produced by L1TOccupancy Module
59 
60  // vector
61  std::vector<int> mProcessedLS; // Already processed Luminosity Blocks
62 
63  // MonitorElement
68 
69  // Private Functions
70 private:
74  void updateL1TSummary(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
75 };
76 
77 #endif
void updateL1TRateMonitor(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
MonitorElement * mL1TOccupancyMonitor
~L1TTestsSummary() override
const edm::EventSetup & c
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
void updateL1TSummary(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
virtual void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void updateL1TOccupancyMonitor(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
std::vector< int > mProcessedLS
MonitorElement * mL1TSummary
MonitorElement * mL1TSyncMonitor
void updateL1TSyncMonitor(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void dqmEndLuminosityBlock(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
MonitorElement * mL1TRateMonitor
std::string mL1TRatePath
std::string mL1TSyncPath
std::string mL1TOccupancyPath
L1TTestsSummary(const edm::ParameterSet &ps)
edm::ParameterSet mParameters