CMS 3D CMS Logo

LumiMonitor.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
26 
27 
28 struct MEbinning {
29  int nbins;
30  double xmin;
31  double xmax;
32  // MEbinning() {};
33  // explicit MEbinning(int n, double min, double max) { nbins= n; xmin = min; xmax = max;}
34 };
35 
36 //
37 // class declaration
38 //
39 
40 class LumiMonitor : public DQMEDAnalyzer
41 {
42 public:
44  ~LumiMonitor() = default;
45  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
46  static void fillHistoPSetDescription(edm::ParameterSetDescription & pset);
47  static void fillHistoLSPSetDescription(edm::ParameterSetDescription & pset);
48 
49 protected:
50 
51  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
52  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
53 
54 private:
55 
56  static MEbinning getHistoPSet (edm::ParameterSet pset);
57  static MEbinning getHistoLSPSet(edm::ParameterSet pset);
58 
60 
64 
72 
73 
75 
81 
83 
84 };
85 
86 #endif // LUMIMONITOR_H
bool useBPixLayer1_
Definition: LumiMonitor.h:67
def analyze(function, filename, filter=None)
Definition: Profiling.py:11
float minPixelClusterCharge_
Definition: LumiMonitor.h:69
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
Definition: LumiMonitor.h:66
void bookHistograms(fwlite::EventContainer &eventCont)
MonitorElement * numberOfPixelClustersVsLumi_
Definition: LumiMonitor.h:77
edm::EDGetTokenT< LumiSummary > lumiSummaryToken_
Definition: LumiMonitor.h:74
int iEvent
Definition: GenABIO.cc:230
std::string folderName_
Definition: LumiMonitor.h:59
MonitorElement * pixelLumiVsLumi_
Definition: LumiMonitor.h:80
edm::EDGetTokenT< LumiScalersCollection > lumiScalersToken_
Definition: LumiMonitor.h:61
MEbinning pixellumi_binning_
Definition: LumiMonitor.h:71
double xmin
Definition: LumiMonitor.h:30
MonitorElement * lumiVsLS_
Definition: LumiMonitor.h:78
MonitorElement * pixelLumiVsLS_
Definition: LumiMonitor.h:79
bool doPixelLumi_
Definition: LumiMonitor.h:65
MEbinning pixelCluster_binning_
Definition: LumiMonitor.h:70
MonitorElement * numberOfPixelClustersVsLS_
Definition: LumiMonitor.h:76
float lumi_factor_per_bx_
Definition: LumiMonitor.h:82
int minNumberOfPixelsPerCluster_
Definition: LumiMonitor.h:68
MEbinning lumi_binning_
Definition: LumiMonitor.h:62
MEbinning ls_binning_
Definition: LumiMonitor.h:63
Definition: Run.h:42
double xmax
Definition: LumiMonitor.h:31