CMS 3D CMS Logo

PSMonitor.h
Go to the documentation of this file.
1 #ifndef LUMIMONITOR_H
2 #define LUMIMONITOR_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 
16 
20 
21 //DataFormats
22 
23 // legacy/stage-1 L1T:
24 //#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
25 
26 // stage-2 L1T:
28 
29 // PS service
32 
33 struct MEbinning {
34  int nbins;
35  double xmin;
36  double xmax;
37  // MEbinning() {};
38  // explicit MEbinning(int n, double min, double max) { nbins= n; xmin = min; xmax = max;}
39 };
40 
41 //
42 // class declaration
43 //
44 
45 class PSMonitor : public DQMEDAnalyzer
46 {
47 public:
48  PSMonitor( const edm::ParameterSet& );
49  ~PSMonitor() override = default;
50  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
51  static void fillHistoPSetDescription(edm::ParameterSetDescription & pset, int value);
52 
53 protected:
54 
55  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
56  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
57 
58 private:
59 
60  void getHistoPSet(edm::ParameterSet& pset, MEbinning& mebinning);
61 
63 
65 
68 
70 
73 
74 };
75 
76 #endif // LUMIMONITOR_H
std::string folderName_
Definition: PSMonitor.h:62
edm::EDGetTokenT< GlobalAlgBlkBxCollection > ugtBXToken_
Definition: PSMonitor.h:64
def analyze(function, filename, filter=None)
Definition: Profiling.py:11
void bookHistograms(fwlite::EventContainer &eventCont)
int iEvent
Definition: GenABIO.cc:230
MEbinning ps_binning_
Definition: PSMonitor.h:71
double xmin
Definition: LumiMonitor.h:30
MonitorElement * psColumnIndexVsLS_
Definition: PSMonitor.h:69
Definition: value.py:1
edm::service::PrescaleService * psService_
Prescale service.
Definition: PSMonitor.h:67
Definition: Run.h:43
double xmax
Definition: LumiMonitor.h:31
MEbinning ls_binning_
Definition: PSMonitor.h:72