CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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);
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);
53 
54 private:
55 
58 
60 
64 
72 
73 
75 
81 
83 
84 };
85 
86 #endif // LUMIMONITOR_H
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LumiMonitor.cc:57
bool useBPixLayer1_
Definition: LumiMonitor.h:67
float minPixelClusterCharge_
Definition: LumiMonitor.h:69
~LumiMonitor()=default
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
Definition: LumiMonitor.h:66
MonitorElement * numberOfPixelClustersVsLumi_
Definition: LumiMonitor.h:77
edm::EDGetTokenT< LumiSummary > lumiSummaryToken_
Definition: LumiMonitor.h:74
int iEvent
Definition: GenABIO.cc:230
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: LumiMonitor.cc:184
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
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
Definition: LumiMonitor.cc:179
static MEbinning getHistoPSet(edm::ParameterSet pset)
Definition: LumiMonitor.cc:39
MonitorElement * lumiVsLS_
Definition: LumiMonitor.h:78
MonitorElement * pixelLumiVsLS_
Definition: LumiMonitor.h:79
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
Definition: LumiMonitor.cc:172
bool doPixelLumi_
Definition: LumiMonitor.h:65
MEbinning pixelCluster_binning_
Definition: LumiMonitor.h:70
static MEbinning getHistoLSPSet(edm::ParameterSet pset)
Definition: LumiMonitor.cc:48
MonitorElement * numberOfPixelClustersVsLS_
Definition: LumiMonitor.h:76
float lumi_factor_per_bx_
Definition: LumiMonitor.h:82
int minNumberOfPixelsPerCluster_
Definition: LumiMonitor.h:68
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup)
Definition: LumiMonitor.cc:112
MEbinning lumi_binning_
Definition: LumiMonitor.h:62
MEbinning ls_binning_
Definition: LumiMonitor.h:63
Definition: Run.h:43
LumiMonitor(const edm::ParameterSet &)
Definition: LumiMonitor.cc:12
double xmax
Definition: LumiMonitor.h:31