CMS 3D CMS Logo

V0Monitor.cc
Go to the documentation of this file.
5 
6 // -----------------------------
7 // constructors and destructor
8 // -----------------------------
9 
10 // ------------ method fills 'descriptions' with the allowed parameters for the module ------------
13  desc.add<std::string>("FolderName", "Tracking/V0Monitoring");
14  desc.add<edm::InputTag>("v0", edm::InputTag("generalV0Candidates:Kshort"));
15  desc.add<edm::InputTag>("beamSpot", edm::InputTag("offlineBeamSpot"));
16  desc.add<edm::InputTag>("primaryVertex", edm::InputTag("offlinePrimaryVertices"));
17  desc.add<edm::InputTag>("lumiScalers", edm::InputTag("scalersRawToDigi"));
18  desc.add<bool>("forceSCAL", true);
19  desc.add<edm::InputTag>("metadata", edm::InputTag("onlineMetaDataDigis"));
20  desc.add<int>("pvNDOF", 4);
21 
22  {
24  {
26  psd1.add<int>("nbins", 3700);
27  psd1.add<double>("xmin", 0.);
28  psd1.add<double>("xmax", 14000.);
29  psd0.add<edm::ParameterSetDescription>("lumiPSet", psd1);
30  }
31  {
33  psd2.add<int>("nbins", 100);
34  psd2.add<double>("xmin", 0.400);
35  psd2.add<double>("xmax", 0.600);
36  psd0.add<edm::ParameterSetDescription>("massPSet", psd2);
37  }
38  {
40  psd3.add<int>("nbins", 100);
41  psd3.add<double>("xmin", 0.);
42  psd3.add<double>("xmax", 50.);
43  psd0.add<edm::ParameterSetDescription>("ptPSet", psd3);
44  }
45  {
47  psd4.add<int>("nbins", 60);
48  psd4.add<double>("xmin", -3.);
49  psd4.add<double>("xmax", 3.);
50  psd0.add<edm::ParameterSetDescription>("etaPSet", psd4);
51  }
52  {
54  psd5.add<int>("nbins", 350);
55  psd5.add<double>("xmin", 0.);
56  psd5.add<double>("xmax", 70.);
57  psd0.add<edm::ParameterSetDescription>("LxyPSet", psd5);
58  }
59  {
61  psd6.add<int>("nbins", 100);
62  psd6.add<double>("xmin", 0.);
63  psd6.add<double>("xmax", 30.);
64  psd0.add<edm::ParameterSetDescription>("chi2oNDFPSet", psd6);
65  }
66  {
68  psd7.add<int>("nbins", 100);
69  psd7.add<double>("xmin", -0.5);
70  psd7.add<double>("xmax", 99.5);
71  psd0.add<edm::ParameterSetDescription>("puPSet", psd7);
72  }
73  {
75  psd8.add<int>("nbins", 2000);
76  psd8.add<double>("xmin", 0.);
77  psd8.add<double>("xmax", 2000.);
78  psd0.add<edm::ParameterSetDescription>("lsPSet", psd8);
79  }
80  desc.add<edm::ParameterSetDescription>("histoPSet", psd0);
81  }
82 
83  {
86  desc.add<edm::ParameterSetDescription>("genericTriggerEventPSet", genericTriggerEventPSet);
87  }
88 
89  descriptions.addWithDefaultLabel(desc);
90 }
91 
93  : folderName_(iConfig.getParameter<std::string>("FolderName")),
94  v0Token_(consumes<reco::VertexCompositeCandidateCollection>(iConfig.getParameter<edm::InputTag>("v0"))),
95  bsToken_(consumes<reco::BeamSpot>(iConfig.getParameter<edm::InputTag>("beamSpot"))),
96  pvToken_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("primaryVertex"))),
97  lumiscalersToken_(consumes<LumiScalersCollection>(iConfig.getParameter<edm::InputTag>("lumiScalers"))),
98  metaDataToken_(consumes<OnlineLuminosityRecord>(iConfig.getParameter<edm::InputTag>("metadata"))),
99  forceSCAL_(iConfig.getParameter<bool>("forceSCAL")),
100  pvNDOF_(iConfig.getParameter<int>("pvNDOF")),
101  genTriggerEventFlag_(new GenericTriggerEventFlag(
102  iConfig.getParameter<edm::ParameterSet>("genericTriggerEventPSet"), consumesCollector(), *this)) {
103  v0_N_ = nullptr;
104  v0_mass_ = nullptr;
105  v0_pt_ = nullptr;
106  v0_eta_ = nullptr;
107  v0_phi_ = nullptr;
108  v0_Lxy_ = nullptr;
109  v0_Lxy_wrtBS_ = nullptr;
110  v0_chi2oNDF_ = nullptr;
111  v0_mass_vs_p_ = nullptr;
112  v0_mass_vs_pt_ = nullptr;
113  v0_mass_vs_eta_ = nullptr;
114  v0_deltaMass_ = nullptr;
115  v0_deltaMass_vs_pt_ = nullptr;
116  v0_deltaMass_vs_eta_ = nullptr;
117 
118  v0_Lxy_vs_deltaMass_ = nullptr;
119  v0_Lxy_vs_pt_ = nullptr;
120  v0_Lxy_vs_eta_ = nullptr;
121 
122  n_vs_BX_ = nullptr;
123  v0_N_vs_BX_ = nullptr;
124  v0_mass_vs_BX_ = nullptr;
125  v0_Lxy_vs_BX_ = nullptr;
126  v0_deltaMass_vs_BX_ = nullptr;
127 
128  n_vs_lumi_ = nullptr;
129  v0_N_vs_lumi_ = nullptr;
130  v0_mass_vs_lumi_ = nullptr;
131  v0_Lxy_vs_lumi_ = nullptr;
132  v0_deltaMass_vs_lumi_ = nullptr;
133 
134  n_vs_PU_ = nullptr;
135  v0_N_vs_PU_ = nullptr;
136  v0_mass_vs_PU_ = nullptr;
137  v0_Lxy_vs_PU_ = nullptr;
138  v0_deltaMass_vs_PU_ = nullptr;
139 
140  n_vs_LS_ = nullptr;
141  v0_N_vs_LS_ = nullptr;
142 
144  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("massPSet"), mass_binning_);
145  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("ptPSet"), pt_binning_);
146  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("etaPSet"), eta_binning_);
147  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("LxyPSet"), Lxy_binning_);
148  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("chi2oNDFPSet"), chi2oNDF_binning_);
149  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("lumiPSet"), lumi_binning_);
150  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("puPSet"), pu_binning_);
151  getHistoPSet(histoPSet.getParameter<edm::ParameterSet>("lsPSet"), ls_binning_);
152 }
153 
156  delete genTriggerEventFlag_;
157 }
158 
160  mebinning.nbins = pset.getParameter<int32_t>("nbins");
161  mebinning.xmin = pset.getParameter<double>("xmin");
162  mebinning.xmax = pset.getParameter<double>("xmax");
163 }
164 
170  MEbinning binning) {
171  std::string title_w_axes = title + ";" + xaxis + ";" + yaxis;
172  return ibooker.book1D(name, title_w_axes, binning.nbins, binning.xmin, binning.xmax);
173 }
179  MEbinning xbinning,
180  MEbinning ybinning) {
181  std::string title_w_axes = title + ";" + xaxis + ";" + yaxis;
182  return ibooker.book2D(
183  name, title_w_axes, xbinning.nbins, xbinning.xmin, xbinning.xmax, ybinning.nbins, ybinning.xmin, ybinning.xmax);
184 }
190  MEbinning xbinning,
191  MEbinning ybinning) {
192  std::string title_w_axes = title + ";" + xaxis + ";" + yaxis;
193  return ibooker.bookProfile(
194  name, title_w_axes, xbinning.nbins, xbinning.xmin, xbinning.xmax, ybinning.xmin, ybinning.xmax);
195 }
196 
197 void V0Monitor::bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRun, edm::EventSetup const& iSetup) {
198  std::string histname, histtitle;
199 
200  std::string currentFolder = folderName_;
201  ibooker.setCurrentFolder(currentFolder);
202 
203  MEbinning N_binning;
204  N_binning.nbins = 15;
205  N_binning.xmin = -0.5;
206  N_binning.xmax = 14.5;
207  v0_N_ = bookHisto1D(ibooker, "v0_N", "# v0", "# v0", "events", N_binning);
208  v0_mass_ = bookHisto1D(ibooker, "v0_mass", "mass", "mass [GeV]", "events", mass_binning_);
209  v0_pt_ = bookHisto1D(ibooker, "v0_pt", "pt", "p_{T} [GeV]", "events", pt_binning_);
210  v0_eta_ = bookHisto1D(ibooker, "v0_eta", "eta", "#eta", "events", eta_binning_);
211  MEbinning phi_binning;
212  phi_binning.nbins = 34;
213  phi_binning.xmin = -3.2;
214  phi_binning.xmax = 3.2;
215  v0_phi_ = bookHisto1D(ibooker, "v0_phi", "phi", "#phi [rad]", "events", phi_binning);
216  v0_Lxy_ = bookHisto1D(ibooker, "v0_Lxy", "Lxy", "L_{xy} w.r.t. PV [cm]", "events", Lxy_binning_);
217  v0_Lxy_wrtBS_ = bookHisto1D(ibooker, "v0_Lxy_wrtBS", "Lxy", "L_{xy} w.r.t. BS [cm]", "events", Lxy_binning_);
218  v0_chi2oNDF_ =
219  bookHisto1D(ibooker, "v0_chi2oNDF", "chi2oNDF", "vertex normalized #chi^{2}", "events", chi2oNDF_binning_);
220 
221  v0_mass_vs_p_ =
222  bookProfile(ibooker, "v0_mass_vs_p", "mass vs p", "p [GeV]", "mass [GeV]", pt_binning_, mass_binning_);
224  bookProfile(ibooker, "v0_mass_vs_pt", "mass vs pt", "p_{T} [GeV]", "mass [GeV]", pt_binning_, mass_binning_);
226  bookProfile(ibooker, "v0_mass_vs_eta", "mass vs eta", "#eta", "mass [GeV]", eta_binning_, mass_binning_);
227 
228  MEbinning delta_binning;
229  delta_binning.nbins = 150;
230  delta_binning.xmin = -0.15;
231  delta_binning.xmax = 0.15;
232  v0_deltaMass_ = bookHisto1D(ibooker, "v0_deltaMass", "deltaMass", "m-m_{PDG}/m_{DPG}", "events", delta_binning);
234  ibooker, "v0_deltaMass_vs_pt", "deltaMass vs pt", "p_{T} [GeV]", "m-m_{PDG}/m_{DPG}", pt_binning_, delta_binning);
236  ibooker, "v0_deltaMass_vs_eta", "deltaMass vs eta", "#eta", "m-m_{PDG}/m_{DPG}", eta_binning_, delta_binning);
237 
239  "v0_Lxy_vs_deltaMass",
240  "L_{xy} vs deltaMass",
241  "m-m_{PDG}/m_{DPG}",
242  "L_{xy} [cm]",
243  delta_binning,
244  Lxy_binning_);
245  v0_Lxy_vs_pt_ =
246  bookProfile(ibooker, "v0_Lxy_vs_pt", "L_{xy} vs p_{T}", "p_{T} [GeV]", "L_{xy} [cm]", pt_binning_, Lxy_binning_);
248  bookProfile(ibooker, "v0_Lxy_vs_eta", "L_{xy} vs #eta", "#eta", "L_{xy} [cm]", eta_binning_, Lxy_binning_);
249 
250  MEbinning bx_binning;
251  bx_binning.nbins = 3564;
252  bx_binning.xmin = 0.5;
253  bx_binning.xmax = 3564.5;
254  n_vs_BX_ = bookHisto1D(ibooker, "n_vs_BX", "# events vs BX", "BX", "# events", bx_binning);
255  v0_N_vs_BX_ = bookProfile(ibooker, "v0_N_vs_BX", "# v0 vs BX", "BX", "# v0", bx_binning, N_binning);
256  v0_mass_vs_BX_ = bookProfile(ibooker, "v0_mass_vs_BX", "mass vs BX", "BX", "mass [GeV]", bx_binning, mass_binning_);
257  v0_Lxy_vs_BX_ = bookProfile(ibooker, "v0_Lxy_vs_BX", "L_{xy} vs BX", "BX", "L_{xy} [cm]", bx_binning, Lxy_binning_);
259  ibooker, "v0_deltaMass_vs_BX", "deltaMass vs BX", "BX", "m-m_{PDG}/m_{DPG}", bx_binning, delta_binning);
260 
262  ibooker, "n_vs_lumi", "# events vs lumi", "inst. lumi x10^{30} [Hz cm^{-2}]", "# events", lumi_binning_);
264  ibooker, "v0_N_vs_lumi", "# v0 vs lumi", "inst. lumi x10^{30} [Hz cm^{-2}]", "# v0", lumi_binning_, N_binning);
265  v0_mass_vs_lumi_ = bookProfile(ibooker,
266  "v0_mass_vs_lumi",
267  "mass vs lumi",
268  "inst. lumi x10^{30} [Hz cm^{-2}]",
269  "mass [GeV]",
271  mass_binning_);
272  v0_Lxy_vs_lumi_ = bookProfile(ibooker,
273  "v0_Lxy_vs_lumi",
274  "L_{xy} vs lumi",
275  "inst. lumi x10^{30} [Hz cm^{-2}]",
276  "L_{xy} [cm]",
278  Lxy_binning_);
280  "v0_deltaMass_vs_lumi",
281  "deltaMass vs lumi",
282  "inst. lumi x10^{30} [Hz cm^{-2}]",
283  "m-m_{PDG}/m_{DPG}",
285  delta_binning);
286 
287  n_vs_PU_ = bookHisto1D(ibooker, "n_vs_PU", "# events vs PU", "# good PV", "# events", pu_binning_);
288  v0_N_vs_PU_ = bookProfile(ibooker, "v0_N_vs_PU", "# v0 vs PU", "# good PV", "# v0", pu_binning_, N_binning);
290  bookProfile(ibooker, "v0_mass_vs_PU", "mass vs PU", "# good PV", "mass [GeV]", pu_binning_, mass_binning_);
291  v0_Lxy_vs_PU_ =
292  bookProfile(ibooker, "v0_Lxy_vs_PU", "L_{xy} vs PU", "# good PV", "L_{xy} [cm]", pu_binning_, Lxy_binning_);
294  ibooker, "v0_deltaMass_vs_PU", "deltaMass vs PU", "# good PV", "m-m_{PDG}/m_{DPG}", pu_binning_, delta_binning);
295 
296  n_vs_LS_ = bookHisto1D(ibooker, "n_vs_LS", "# events vs LS", "LS", "# events", ls_binning_);
297  v0_N_vs_LS_ = bookProfile(ibooker, "v0_N_vs_LS", "# v0 vs LS", "LS", "# v0", ls_binning_, N_binning);
298  v0_N_vs_LS_->getTH1()->SetCanExtend(TH1::kAllAxes);
299 
300  // Initialize the GenericTriggerEventFlag
301  if (genTriggerEventFlag_->on())
302  genTriggerEventFlag_->initRun(iRun, iSetup);
303 }
304 
306  // Filter out events if Trigger Filtering is requested
308  return;
309 
310  // int ls = iEvent.id().luminosityBlock();
311 
312  size_t bx = iEvent.bunchCrossing();
313  n_vs_BX_->Fill(bx);
314 
315  float lumi = -1.;
316  if (forceSCAL_) {
318  if (lumiScalers.isValid() && !lumiScalers->empty()) {
319  LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
320  lumi = scalit->instantLumi();
321  }
322  } else {
324  if (metaData.isValid())
325  lumi = metaData->instLumi();
326  }
327 
328  n_vs_lumi_->Fill(lumi);
329 
330  edm::Handle<reco::BeamSpot> beamspotHandle = iEvent.getHandle(bsToken_);
331  reco::BeamSpot const* bs = nullptr;
332  if (beamspotHandle.isValid())
333  bs = &(*beamspotHandle);
334 
336  reco::Vertex const* pv = nullptr;
337  size_t nPV = 0;
338  if (pvHandle.isValid()) {
339  pv = &pvHandle->front();
340  //--- pv fake (the pv collection should have size==1 and the pv==beam spot)
341  if (pv->isFake() ||
342  pv->tracksSize() == 0
343  // definition of goodOfflinePrimaryVertex
344  || pv->ndof() < pvNDOF_ || pv->z() > 24.)
345  pv = nullptr;
346 
347  for (const auto& v : *pvHandle) {
348  if (v.isFake())
349  continue;
350  if (v.ndof() < pvNDOF_)
351  continue;
352  if (v.z() > 24.)
353  continue;
354  ++nPV;
355  }
356  }
357  n_vs_PU_->Fill(nPV);
358 
359  float nLS = static_cast<float>(iEvent.id().luminosityBlock());
360  n_vs_LS_->Fill(nLS);
361 
363  int n = (v0Handle.isValid() ? v0Handle->size() : -1);
364  v0_N_->Fill(n);
365  v0_N_vs_BX_->Fill(bx, n);
367  v0_N_vs_PU_->Fill(nPV, n);
368  v0_N_vs_LS_->Fill(nLS, n);
369 
370  if (!v0Handle.isValid() or n == 0)
371  return;
372 
374  for (const auto& v0 : v0s) {
375  float mass = v0.mass();
376  float pt = v0.pt();
377  float p = v0.p();
378  float eta = v0.eta();
379  float phi = v0.phi();
380  int pdgID = v0.pdgId();
381  float chi2oNDF = v0.vertexNormalizedChi2();
382  GlobalPoint displacementFromPV =
383  (pv == nullptr ? GlobalPoint(-9., -9., 0) : GlobalPoint((pv->x() - v0.vx()), (pv->y() - v0.vy()), 0.));
384  GlobalPoint displacementFromBS =
385  (bs == nullptr
386  ? GlobalPoint(-9., -9., 0.)
387  : GlobalPoint(-1 * ((bs->position().x() - v0.vx()) + (v0.vz() - bs->position().z()) * bs->dxdz()),
388  -1 * ((bs->position().y() - v0.vy()) + (v0.vz() - bs->position().z()) * bs->dydz()),
389  0));
390  float lxy = (pv == nullptr ? -9. : displacementFromPV.perp());
391  float lxyWRTbs = (bs == nullptr ? -9. : displacementFromBS.perp());
392 
393  v0_mass_->Fill(mass);
394  v0_pt_->Fill(pt);
395  v0_eta_->Fill(eta);
396  v0_phi_->Fill(phi);
397  v0_Lxy_->Fill(lxy);
398  v0_Lxy_wrtBS_->Fill(lxyWRTbs);
399  v0_chi2oNDF_->Fill(chi2oNDF);
400 
407 
408  v0_Lxy_vs_BX_->Fill(bx, lxy);
409  v0_Lxy_vs_lumi_->Fill(lumi, lxy);
410  v0_Lxy_vs_PU_->Fill(nPV, lxy);
411 
412  float PDGmass = -9999.;
413  switch (pdgID) {
414  case 130: // K_s
415  case 310: // K_L
416  PDGmass = 0.497614; // GeV
417  break;
418  case 3122: // Lambda
419  case -3122: // Lambda
420  PDGmass = 1.115683; // GeV
421  break;
422  case 4122: // Lambda_c
423  case -4122: // Lambda_c
424  case 5122: // Lambda_b
425  case -5122: // Lambda_b
426  default:
427  break;
428  }
429  float delta = (PDGmass > 0. ? (mass - PDGmass) / PDGmass : -9.);
436 
438  v0_Lxy_vs_pt_->Fill(pt, lxy);
439  v0_Lxy_vs_eta_->Fill(eta, lxy);
440  }
441 }
442 
443 // Define this as a plug-in
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
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
MonitorElement * v0_Lxy_vs_PU_
Definition: V0Monitor.h:121
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
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
T perp() const
Definition: PV3DBase.h:69
std::vector< VertexCompositeCandidate > VertexCompositeCandidateCollection
collection of Candidate objects
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: V0Monitor.cc:197
const bool forceSCAL_
Definition: V0Monitor.h:82
MEbinning Lxy_binning_
Definition: V0Monitor.h:130
const edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
Definition: V0Monitor.h:79
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
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
T const * product() const
Definition: Handle.h:70
Class to contain the online luminosity from soft FED 1022.
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
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...
float instLumi() const
Return the luminosity for the current nibble.
std::vector< Vertex > VertexCollection
Definition: Vertex.h:31
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
void Fill(long long x)
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 * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:408
MonitorElement * v0_Lxy_vs_BX_
Definition: V0Monitor.h:109
MEbinning ls_binning_
Definition: V0Monitor.h:134
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
MonitorElement * v0_Lxy_wrtBS_
Definition: V0Monitor.h:93
MonitorElement * n_vs_lumi_
Definition: V0Monitor.h:112
MonitorElement * v0_Lxy_vs_lumi_
Definition: V0Monitor.h:115
MonitorElement * v0_Lxy_vs_eta_
Definition: V0Monitor.h:104
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
MonitorElement * v0_deltaMass_vs_BX_
Definition: V0Monitor.h:110
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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 * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:221
MonitorElement * v0_Lxy_vs_deltaMass_
Definition: V0Monitor.h:102
bool isValid() const
Definition: HandleBase.h:70
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > v0Token_
Definition: V0Monitor.h:76
virtual TH1 * getTH1() const
fixed size matrix
MonitorElement * n_vs_PU_
Definition: V0Monitor.h:118
HLT enums.
const int pvNDOF_
Definition: V0Monitor.h:83
MonitorElement * n_vs_LS_
Definition: V0Monitor.h:124
MEbinning eta_binning_
Definition: V0Monitor.h:129
std::vector< LumiScalers > LumiScalersCollection
Definition: LumiScalers.h:144
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: V0Monitor.h:85
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
MonitorElement * v0_phi_
Definition: V0Monitor.h:91
const edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
Definition: V0Monitor.h:80
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
~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
static void fillPSetDescription(edm::ParameterSetDescription &desc)
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