CMS 3D CMS Logo

V0Monitor.h
Go to the documentation of this file.
1 #ifndef DQM_TRACKINGMONITOR_V0MONITOR_H
2 #define DQM_TRACKINGMONITOR_V0MONITOR_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 
24 
26 
27 struct MEbinning {
28  int nbins;
29  double xmin;
30  double xmax;
31 };
32 
33 //
34 // class declaration
35 //
36 
37 class V0Monitor : public DQMEDAnalyzer {
38 public:
41 
43  ~V0Monitor() override;
44 
45  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
46 
47 protected:
48  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
60  MEbinning xbinning,
61  MEbinning ybinning);
67  MEbinning xbinning,
68  MEbinning ybinning);
69  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
70 
71 private:
72  void getHistoPSet(edm::ParameterSet pset, MEbinning& mebinning);
73 
75 
81 
82  const bool forceSCAL_;
83  const int pvNDOF_;
84 
86 
101 
105 
111 
117 
123 
126 
135 };
136 
137 #endif // DQM_TRACKINGMONITOR_V0MONITOR_H
MEbinning pu_binning_
Definition: V0Monitor.h:133
MonitorElement * v0_Lxy_vs_pt_
Definition: V0Monitor.h:103
MonitorElement * v0_deltaMass_vs_PU_
Definition: V0Monitor.h:122
MonitorElement * v0_mass_vs_PU_
Definition: V0Monitor.h:120
MonitorElement * v0_pt_
Definition: V0Monitor.h:89
MonitorElement * v0_Lxy_vs_PU_
Definition: V0Monitor.h:121
MonitorElement * v0_N_vs_LS_
Definition: V0Monitor.h:125
MonitorElement * v0_mass_vs_eta_
Definition: V0Monitor.h:97
MonitorElement * v0_mass_vs_lumi_
Definition: V0Monitor.h:114
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: V0Monitor.cc:197
dqm::legacy::MonitorElement MonitorElement
Definition: V0Monitor.h:40
const bool forceSCAL_
Definition: V0Monitor.h:82
MEbinning Lxy_binning_
Definition: V0Monitor.h:130
const edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
Definition: V0Monitor.h:79
void getHistoPSet(edm::ParameterSet pset, MEbinning &mebinning)
Definition: V0Monitor.cc:159
V0Monitor(const edm::ParameterSet &)
Definition: V0Monitor.cc:92
MonitorElement * v0_mass_vs_p_
Definition: V0Monitor.h:95
MonitorElement * bookHisto2D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
Definition: V0Monitor.cc:174
MonitorElement * v0_mass_
Definition: V0Monitor.h:88
MEbinning lumi_binning_
Definition: V0Monitor.h:132
MonitorElement * v0_chi2oNDF_
Definition: V0Monitor.h:94
MonitorElement * v0_mass_vs_pt_
Definition: V0Monitor.h:96
MonitorElement * v0_deltaMass_
Definition: V0Monitor.h:98
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
MonitorElement * v0_eta_
Definition: V0Monitor.h:90
MonitorElement * bookProfile(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
Definition: V0Monitor.cc:185
const std::string folderName_
Definition: V0Monitor.h:74
const edm::EDGetTokenT< reco::VertexCollection > pvToken_
Definition: V0Monitor.h:78
int iEvent
Definition: GenABIO.cc:224
MonitorElement * v0_deltaMass_vs_lumi_
Definition: V0Monitor.h:116
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
Definition: V0Monitor.cc:305
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: V0Monitor.cc:11
MonitorElement * v0_Lxy_vs_BX_
Definition: V0Monitor.h:109
MEbinning ls_binning_
Definition: V0Monitor.h:134
MonitorElement * v0_Lxy_wrtBS_
Definition: V0Monitor.h:93
MonitorElement * n_vs_lumi_
Definition: V0Monitor.h:112
dqm::legacy::DQMStore DQMStore
Definition: V0Monitor.h:39
MonitorElement * v0_Lxy_vs_lumi_
Definition: V0Monitor.h:115
MonitorElement * v0_Lxy_vs_eta_
Definition: V0Monitor.h:104
MonitorElement * v0_deltaMass_vs_BX_
Definition: V0Monitor.h:110
MonitorElement * v0_deltaMass_vs_eta_
Definition: V0Monitor.h:100
MEbinning pt_binning_
Definition: V0Monitor.h:128
MEbinning chi2oNDF_binning_
Definition: V0Monitor.h:131
MonitorElement * v0_N_
Definition: V0Monitor.h:87
MEbinning mass_binning_
Definition: V0Monitor.h:127
MonitorElement * v0_Lxy_vs_deltaMass_
Definition: V0Monitor.h:102
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > v0Token_
Definition: V0Monitor.h:76
MonitorElement * n_vs_PU_
Definition: V0Monitor.h:118
const int pvNDOF_
Definition: V0Monitor.h:83
MonitorElement * n_vs_LS_
Definition: V0Monitor.h:124
MEbinning eta_binning_
Definition: V0Monitor.h:129
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: V0Monitor.h:85
MonitorElement * v0_phi_
Definition: V0Monitor.h:91
const edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
Definition: V0Monitor.h:80
~V0Monitor() override
Definition: V0Monitor.cc:154
MonitorElement * v0_N_vs_BX_
Definition: V0Monitor.h:107
MonitorElement * v0_mass_vs_BX_
Definition: V0Monitor.h:108
MonitorElement * n_vs_BX_
Definition: V0Monitor.h:106
MonitorElement * v0_N_vs_lumi_
Definition: V0Monitor.h:113
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
Definition: V0Monitor.h:77
Definition: Run.h:45
MonitorElement * v0_N_vs_PU_
Definition: V0Monitor.h:119
MonitorElement * bookHisto1D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning binning)
Definition: V0Monitor.cc:165
MonitorElement * v0_Lxy_
Definition: V0Monitor.h:92
MonitorElement * v0_deltaMass_vs_pt_
Definition: V0Monitor.h:99