CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
V0Monitor.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 
21 
24 
27 
29 
30 struct MEbinning {
31  int nbins;
32  double xmin;
33  double xmax;
34 };
35 
36 //
37 // class declaration
38 //
39 
40 class V0Monitor : public DQMEDAnalyzer {
41 public:
44 
46  ~V0Monitor() override;
47 
48 protected:
49  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
53  std::string xaxis,
54  std::string yaxis,
55  MEbinning binning);
59  std::string xaxis,
60  std::string yaxis,
61  MEbinning xbinning,
62  MEbinning ybinning);
66  std::string xaxis,
67  std::string yaxis,
68  MEbinning xbinning,
69  MEbinning ybinning);
70  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
71 
72 private:
73  void getHistoPSet(edm::ParameterSet pset, MEbinning& mebinning);
74 
76 
82 
83  const bool forceSCAL_;
84 
85  int pvNDOF_;
86 
88 
103 
107 
113 
119 
125 
128 
129  MEbinning mass_binning_;
130  MEbinning pt_binning_;
131  MEbinning eta_binning_;
132  MEbinning Lxy_binning_;
133  MEbinning chi2oNDF_binning_;
134  MEbinning lumi_binning_;
135  MEbinning pu_binning_;
136  MEbinning ls_binning_;
137 };
138 
139 #endif // LUMIMONITOR_H
MEbinning pu_binning_
Definition: V0Monitor.h:135
MonitorElement * v0_Lxy_vs_pt_
Definition: V0Monitor.h:105
MonitorElement * v0_deltaMass_vs_PU_
Definition: V0Monitor.h:124
MonitorElement * v0_mass_vs_PU_
Definition: V0Monitor.h:122
MonitorElement * v0_pt_
Definition: V0Monitor.h:91
MonitorElement * v0_Lxy_vs_PU_
Definition: V0Monitor.h:123
MonitorElement * v0_N_vs_LS_
Definition: V0Monitor.h:127
MonitorElement * v0_mass_vs_eta_
Definition: V0Monitor.h:99
MonitorElement * v0_mass_vs_lumi_
Definition: V0Monitor.h:116
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: V0Monitor.cc:120
dqm::legacy::MonitorElement MonitorElement
Definition: V0Monitor.h:43
const bool forceSCAL_
Definition: V0Monitor.h:83
MEbinning Lxy_binning_
Definition: V0Monitor.h:132
void getHistoPSet(edm::ParameterSet pset, MEbinning &mebinning)
Definition: V0Monitor.cc:82
V0Monitor(const edm::ParameterSet &)
Definition: V0Monitor.cc:15
MonitorElement * v0_mass_vs_p_
Definition: V0Monitor.h:97
MonitorElement * bookHisto2D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
Definition: V0Monitor.cc:97
MonitorElement * v0_mass_
Definition: V0Monitor.h:90
MEbinning lumi_binning_
Definition: V0Monitor.h:134
MonitorElement * v0_chi2oNDF_
Definition: V0Monitor.h:96
MonitorElement * v0_mass_vs_pt_
Definition: V0Monitor.h:98
MonitorElement * v0_deltaMass_
Definition: V0Monitor.h:100
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
MonitorElement * v0_eta_
Definition: V0Monitor.h:92
edm::EDGetTokenT< reco::BeamSpot > bsToken_
Definition: V0Monitor.h:78
MonitorElement * bookProfile(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
Definition: V0Monitor.cc:108
int iEvent
Definition: GenABIO.cc:224
MonitorElement * v0_deltaMass_vs_lumi_
Definition: V0Monitor.h:118
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
Definition: V0Monitor.cc:228
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > v0Token_
Definition: V0Monitor.h:77
MonitorElement * v0_Lxy_vs_BX_
Definition: V0Monitor.h:111
MEbinning ls_binning_
Definition: V0Monitor.h:136
double xmin
Definition: V0Monitor.h:32
MonitorElement * v0_Lxy_wrtBS_
Definition: V0Monitor.h:95
int pvNDOF_
Definition: V0Monitor.h:85
MonitorElement * n_vs_lumi_
Definition: V0Monitor.h:114
std::string folderName_
Definition: V0Monitor.h:75
dqm::legacy::DQMStore DQMStore
Definition: V0Monitor.h:42
MonitorElement * v0_Lxy_vs_lumi_
Definition: V0Monitor.h:117
MonitorElement * v0_Lxy_vs_eta_
Definition: V0Monitor.h:106
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
Definition: V0Monitor.h:81
MonitorElement * v0_deltaMass_vs_BX_
Definition: V0Monitor.h:112
edm::EDGetTokenT< reco::VertexCollection > pvToken_
Definition: V0Monitor.h:79
MonitorElement * v0_deltaMass_vs_eta_
Definition: V0Monitor.h:102
MEbinning pt_binning_
Definition: V0Monitor.h:130
MEbinning chi2oNDF_binning_
Definition: V0Monitor.h:133
MonitorElement * v0_N_
Definition: V0Monitor.h:89
MEbinning mass_binning_
Definition: V0Monitor.h:129
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
Definition: V0Monitor.h:80
MonitorElement * v0_Lxy_vs_deltaMass_
Definition: V0Monitor.h:104
tuple binning
Definition: pileupCalc.py:163
int nbins
Definition: V0Monitor.h:31
MonitorElement * n_vs_PU_
Definition: V0Monitor.h:120
MonitorElement * n_vs_LS_
Definition: V0Monitor.h:126
MEbinning eta_binning_
Definition: V0Monitor.h:131
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: V0Monitor.h:87
MonitorElement * v0_phi_
Definition: V0Monitor.h:93
~V0Monitor() override
Definition: V0Monitor.cc:77
MonitorElement * v0_N_vs_BX_
Definition: V0Monitor.h:109
MonitorElement * v0_mass_vs_BX_
Definition: V0Monitor.h:110
MonitorElement * n_vs_BX_
Definition: V0Monitor.h:108
MonitorElement * v0_N_vs_lumi_
Definition: V0Monitor.h:115
Definition: Run.h:45
MonitorElement * v0_N_vs_PU_
Definition: V0Monitor.h:121
MonitorElement * bookHisto1D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning binning)
Definition: V0Monitor.cc:88
double xmax
Definition: V0Monitor.h:33
MonitorElement * v0_Lxy_
Definition: V0Monitor.h:94
MonitorElement * v0_deltaMass_vs_pt_
Definition: V0Monitor.h:101