CMS 3D CMS Logo

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
DQMEDHarvester.h
L1TTestsSummary::binYRate
int binYRate
Definition: L1TTestsSummary.h:53
L1TTestsSummary::mL1TSummary
MonitorElement * mL1TSummary
Definition: L1TTestsSummary.h:67
L1TTestsSummary::mMonitorL1TRate
bool mMonitorL1TRate
Definition: L1TTestsSummary.h:48
L1TTestsSummary::updateL1TSyncMonitor
void updateL1TSyncMonitor(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: L1TTestsSummary.cc:304
L1TTestsSummary::updateL1TSummary
void updateL1TSummary(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: L1TTestsSummary.cc:436
L1TTestsSummary::L1TTestsSummary
L1TTestsSummary(const edm::ParameterSet &ps)
Definition: L1TTestsSummary.cc:28
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
LuminosityBlock.h
L1TTestsSummary::~L1TTestsSummary
~L1TTestsSummary() override
Definition: L1TTestsSummary.cc:49
L1TTestsSummary::mProcessedLS
std::vector< int > mProcessedLS
Definition: L1TTestsSummary.h:61
DQMStore.h
L1TTestsSummary::updateL1TOccupancyMonitor
void updateL1TOccupancyMonitor(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: L1TTestsSummary.cc:370
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
L1TTestsSummary::mL1TSyncMonitor
MonitorElement * mL1TSyncMonitor
Definition: L1TTestsSummary.h:65
EDAnalyzer.h
L1TTestsSummary::mL1TOccupancyPath
std::string mL1TOccupancyPath
Definition: L1TTestsSummary.h:58
L1TTestsSummary::mVerbose
bool mVerbose
Definition: L1TTestsSummary.h:47
MakerMacros.h
L1TTestsSummary::mParameters
edm::ParameterSet mParameters
Definition: L1TTestsSummary.h:44
L1TTestsSummary::book
virtual void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: L1TTestsSummary.cc:62
L1TTestsSummary::mL1TRatePath
std::string mL1TRatePath
Definition: L1TTestsSummary.h:56
L1TTestsSummary::binYOccpancy
int binYOccpancy
Definition: L1TTestsSummary.h:53
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TTestsSummary::mL1TOccupancyMonitor
MonitorElement * mL1TOccupancyMonitor
Definition: L1TTestsSummary.h:66
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
L1TTestsSummary::dqmEndJob
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
Definition: L1TTestsSummary.cc:179
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
L1TTestsSummary
Definition: L1TTestsSummary.h:26
DQMEDHarvester
Definition: DQMEDHarvester.py:1
L1TTestsSummary::mL1TRateMonitor
MonitorElement * mL1TRateMonitor
Definition: L1TTestsSummary.h:64
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
L1TTestsSummary::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
Definition: L1TTestsSummary.cc:205
L1TTestsSummary::binYSync
int binYSync
Definition: L1TTestsSummary.h:53
L1TTestsSummary::mL1TSyncPath
std::string mL1TSyncPath
Definition: L1TTestsSummary.h:57
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TTestsSummary::mMonitorL1TOccupancy
bool mMonitorL1TOccupancy
Definition: L1TTestsSummary.h:50
ParameterSet.h
L1TTestsSummary::updateL1TRateMonitor
void updateL1TRateMonitor(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: L1TTestsSummary.cc:236
L1TTestsSummary::mMonitorL1TSync
bool mMonitorL1TSync
Definition: L1TTestsSummary.h:49