CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
V0Monitor Class Reference

#include <V0Monitor.h>

Inheritance diagram for V0Monitor:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Types

typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Public Member Functions

 V0Monitor (const edm::ParameterSet &)
 
 ~V0Monitor () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Protected Member Functions

void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
MonitorElementbookHisto1D (DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning binning)
 
MonitorElementbookHisto2D (DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
MonitorElementbookProfile (DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Member Functions

void getHistoPSet (edm::ParameterSet pset, MEbinning &mebinning)
 

Private Attributes

const edm::EDGetTokenT< reco::BeamSpotbsToken_
 
MEbinning chi2oNDF_binning_
 
MEbinning eta_binning_
 
const std::string folderName_
 
const bool forceSCAL_
 
GenericTriggerEventFlaggenTriggerEventFlag_
 
MEbinning ls_binning_
 
MEbinning lumi_binning_
 
const edm::EDGetTokenT< LumiScalersCollectionlumiscalersToken_
 
MEbinning Lxy_binning_
 
MEbinning mass_binning_
 
const edm::EDGetTokenT< OnlineLuminosityRecordmetaDataToken_
 
MonitorElementn_vs_BX_
 
MonitorElementn_vs_LS_
 
MonitorElementn_vs_lumi_
 
MonitorElementn_vs_PU_
 
MEbinning pt_binning_
 
MEbinning pu_binning_
 
const int pvNDOF_
 
const edm::EDGetTokenT< reco::VertexCollectionpvToken_
 
MonitorElementv0_chi2oNDF_
 
MonitorElementv0_deltaMass_
 
MonitorElementv0_deltaMass_vs_BX_
 
MonitorElementv0_deltaMass_vs_eta_
 
MonitorElementv0_deltaMass_vs_lumi_
 
MonitorElementv0_deltaMass_vs_pt_
 
MonitorElementv0_deltaMass_vs_PU_
 
MonitorElementv0_eta_
 
MonitorElementv0_Lxy_
 
MonitorElementv0_Lxy_vs_BX_
 
MonitorElementv0_Lxy_vs_deltaMass_
 
MonitorElementv0_Lxy_vs_eta_
 
MonitorElementv0_Lxy_vs_lumi_
 
MonitorElementv0_Lxy_vs_pt_
 
MonitorElementv0_Lxy_vs_PU_
 
MonitorElementv0_Lxy_wrtBS_
 
MonitorElementv0_mass_
 
MonitorElementv0_mass_vs_BX_
 
MonitorElementv0_mass_vs_eta_
 
MonitorElementv0_mass_vs_lumi_
 
MonitorElementv0_mass_vs_p_
 
MonitorElementv0_mass_vs_pt_
 
MonitorElementv0_mass_vs_PU_
 
MonitorElementv0_N_
 
MonitorElementv0_N_vs_BX_
 
MonitorElementv0_N_vs_LS_
 
MonitorElementv0_N_vs_lumi_
 
MonitorElementv0_N_vs_PU_
 
MonitorElementv0_phi_
 
MonitorElementv0_pt_
 
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollectionv0Token_
 

Additional Inherited Members

- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 37 of file V0Monitor.h.

Member Typedef Documentation

◆ DQMStore

Definition at line 39 of file V0Monitor.h.

◆ MonitorElement

Definition at line 40 of file V0Monitor.h.

Constructor & Destructor Documentation

◆ V0Monitor()

V0Monitor::V0Monitor ( const edm::ParameterSet iConfig)

Definition at line 92 of file V0Monitor.cc.

References chi2oNDF_binning_, eta_binning_, getHistoPSet(), edm::ParameterSet::getParameter(), V0Monitor_cff::histoPSet, ls_binning_, lumi_binning_, Lxy_binning_, mass_binning_, n_vs_BX_, n_vs_LS_, n_vs_lumi_, n_vs_PU_, pt_binning_, pu_binning_, v0_chi2oNDF_, v0_deltaMass_, v0_deltaMass_vs_BX_, v0_deltaMass_vs_eta_, v0_deltaMass_vs_lumi_, v0_deltaMass_vs_pt_, v0_deltaMass_vs_PU_, v0_eta_, v0_Lxy_, v0_Lxy_vs_BX_, v0_Lxy_vs_deltaMass_, v0_Lxy_vs_eta_, v0_Lxy_vs_lumi_, v0_Lxy_vs_pt_, v0_Lxy_vs_PU_, v0_Lxy_wrtBS_, v0_mass_, v0_mass_vs_BX_, v0_mass_vs_eta_, v0_mass_vs_lumi_, v0_mass_vs_p_, v0_mass_vs_pt_, v0_mass_vs_PU_, v0_N_, v0_N_vs_BX_, v0_N_vs_LS_, v0_N_vs_lumi_, v0_N_vs_PU_, v0_phi_, and v0_pt_.

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")),
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 }
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
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
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
MonitorElement * v0_mass_vs_p_
Definition: V0Monitor.h:95
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
const std::string folderName_
Definition: V0Monitor.h:74
const edm::EDGetTokenT< reco::VertexCollection > pvToken_
Definition: V0Monitor.h:78
MonitorElement * v0_deltaMass_vs_lumi_
Definition: V0Monitor.h:116
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
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
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
MonitorElement * v0_N_vs_PU_
Definition: V0Monitor.h:119
MonitorElement * v0_Lxy_
Definition: V0Monitor.h:92
MonitorElement * v0_deltaMass_vs_pt_
Definition: V0Monitor.h:99

◆ ~V0Monitor()

V0Monitor::~V0Monitor ( )
override

Definition at line 154 of file V0Monitor.cc.

References genTriggerEventFlag_.

154  {
156  delete genTriggerEventFlag_;
157 }
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: V0Monitor.h:85

Member Function Documentation

◆ analyze()

void V0Monitor::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 305 of file V0Monitor.cc.

References GenericTriggerEventFlag::accept(), cms::cuda::bs, bsToken_, nano_mu_digi_cff::bx, dumpMFGeometry_cfg::delta, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), forceSCAL_, genTriggerEventFlag_, iEvent, OnlineLuminosityRecord::instLumi(), edm::HandleBase::isValid(), V0Monitor_cfi::lumiScalers, lumiscalersToken_, EgHLTOffHistBins_cfi::mass, metaDataToken_, dqmiodumpmetadata::n, n_vs_BX_, n_vs_LS_, n_vs_lumi_, n_vs_PU_, nPV, GenericTriggerEventFlag::on(), or, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), phi, edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, pvNDOF_, pvToken_, findQualityFiles::v, V0Monitor_cff::v0, v0_chi2oNDF_, v0_deltaMass_, v0_deltaMass_vs_BX_, v0_deltaMass_vs_eta_, v0_deltaMass_vs_lumi_, v0_deltaMass_vs_pt_, v0_deltaMass_vs_PU_, v0_eta_, v0_Lxy_, v0_Lxy_vs_BX_, v0_Lxy_vs_deltaMass_, v0_Lxy_vs_eta_, v0_Lxy_vs_lumi_, v0_Lxy_vs_pt_, v0_Lxy_vs_PU_, v0_Lxy_wrtBS_, v0_mass_, v0_mass_vs_BX_, v0_mass_vs_eta_, v0_mass_vs_lumi_, v0_mass_vs_p_, v0_mass_vs_pt_, v0_mass_vs_PU_, v0_N_, v0_N_vs_BX_, v0_N_vs_LS_, v0_N_vs_lumi_, v0_N_vs_PU_, v0_phi_, v0_pt_, and v0Token_.

305  {
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 }
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
float dydz
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
T perp() const
Definition: PV3DBase.h:69
std::vector< VertexCompositeCandidate > VertexCompositeCandidateCollection
collection of Candidate objects
const bool forceSCAL_
Definition: V0Monitor.h:82
const edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
Definition: V0Monitor.h:79
float dxdz
MonitorElement * v0_mass_vs_p_
Definition: V0Monitor.h:95
MonitorElement * v0_mass_
Definition: V0Monitor.h:88
MonitorElement * v0_chi2oNDF_
Definition: V0Monitor.h:94
T const * product() const
Definition: Handle.h:70
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
MonitorElement * v0_mass_vs_pt_
Definition: V0Monitor.h:96
MonitorElement * v0_deltaMass_
Definition: V0Monitor.h:98
float instLumi() const
Return the luminosity for the current nibble.
MonitorElement * v0_eta_
Definition: V0Monitor.h:90
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
MonitorElement * v0_Lxy_vs_BX_
Definition: V0Monitor.h:109
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
MonitorElement * v0_deltaMass_vs_BX_
Definition: V0Monitor.h:110
MonitorElement * v0_deltaMass_vs_eta_
Definition: V0Monitor.h:100
MonitorElement * v0_N_
Definition: V0Monitor.h:87
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
MonitorElement * n_vs_PU_
Definition: V0Monitor.h:118
const int pvNDOF_
Definition: V0Monitor.h:83
MonitorElement * n_vs_LS_
Definition: V0Monitor.h:124
static int position[264][3]
Definition: ReadPGInfo.cc:289
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: V0Monitor.h:85
MonitorElement * v0_phi_
Definition: V0Monitor.h:91
const edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
Definition: V0Monitor.h:80
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
MonitorElement * v0_N_vs_PU_
Definition: V0Monitor.h:119
MonitorElement * v0_Lxy_
Definition: V0Monitor.h:92
MonitorElement * v0_deltaMass_vs_pt_
Definition: V0Monitor.h:99

◆ bookHisto1D()

V0Monitor::MonitorElement * V0Monitor::bookHisto1D ( DQMStore::IBooker ibooker,
std::string  name,
std::string  title,
std::string  xaxis,
std::string  yaxis,
MEbinning  binning 
)
protected

Definition at line 165 of file V0Monitor.cc.

References pileupCalc::binning, dqm::implementation::IBooker::book1D(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, LaserClient_cfi::xaxis, and TimingClient_cfi::yaxis.

Referenced by bookHistograms().

170  {
171  std::string title_w_axes = title + ";" + xaxis + ";" + yaxis;
172  return ibooker.book1D(name, title_w_axes, binning.nbins, binning.xmin, binning.xmax);
173 }
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98

◆ bookHisto2D()

V0Monitor::MonitorElement * V0Monitor::bookHisto2D ( DQMStore::IBooker ibooker,
std::string  name,
std::string  title,
std::string  xaxis,
std::string  yaxis,
MEbinning  xbinning,
MEbinning  ybinning 
)
protected

Definition at line 174 of file V0Monitor.cc.

References dqm::implementation::IBooker::book2D(), Skims_PA_cff::name, MEbinning::nbins, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, LaserClient_cfi::xaxis, MEbinning::xmax, MEbinning::xmin, and TimingClient_cfi::yaxis.

180  {
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 }
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

◆ bookHistograms()

void V0Monitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 197 of file V0Monitor.cc.

References bookHisto1D(), bookProfile(), chi2oNDF_binning_, eta_binning_, folderName_, genTriggerEventFlag_, dqm::legacy::MonitorElement::getTH1(), GenericTriggerEventFlag::initRun(), ls_binning_, lumi_binning_, Lxy_binning_, mass_binning_, n_vs_BX_, n_vs_LS_, n_vs_lumi_, n_vs_PU_, MEbinning::nbins, GenericTriggerEventFlag::on(), pt_binning_, pu_binning_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, v0_chi2oNDF_, v0_deltaMass_, v0_deltaMass_vs_BX_, v0_deltaMass_vs_eta_, v0_deltaMass_vs_lumi_, v0_deltaMass_vs_pt_, v0_deltaMass_vs_PU_, v0_eta_, v0_Lxy_, v0_Lxy_vs_BX_, v0_Lxy_vs_deltaMass_, v0_Lxy_vs_eta_, v0_Lxy_vs_lumi_, v0_Lxy_vs_pt_, v0_Lxy_vs_PU_, v0_Lxy_wrtBS_, v0_mass_, v0_mass_vs_BX_, v0_mass_vs_eta_, v0_mass_vs_lumi_, v0_mass_vs_p_, v0_mass_vs_pt_, v0_mass_vs_PU_, v0_N_, v0_N_vs_BX_, v0_N_vs_LS_, v0_N_vs_lumi_, v0_N_vs_PU_, v0_phi_, v0_pt_, MEbinning::xmax, and MEbinning::xmin.

197  {
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 }
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
MEbinning Lxy_binning_
Definition: V0Monitor.h:130
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * v0_mass_vs_p_
Definition: V0Monitor.h:95
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
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
MonitorElement * v0_deltaMass_vs_lumi_
Definition: V0Monitor.h:116
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
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
virtual TH1 * getTH1() const
MonitorElement * n_vs_PU_
Definition: V0Monitor.h:118
MonitorElement * n_vs_LS_
Definition: V0Monitor.h:124
MEbinning eta_binning_
Definition: V0Monitor.h:129
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
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
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

◆ bookProfile()

V0Monitor::MonitorElement * V0Monitor::bookProfile ( DQMStore::IBooker ibooker,
std::string  name,
std::string  title,
std::string  xaxis,
std::string  yaxis,
MEbinning  xbinning,
MEbinning  ybinning 
)
protected

Definition at line 185 of file V0Monitor.cc.

References dqm::implementation::IBooker::bookProfile(), Skims_PA_cff::name, MEbinning::nbins, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, LaserClient_cfi::xaxis, MEbinning::xmax, MEbinning::xmin, and TimingClient_cfi::yaxis.

Referenced by bookHistograms().

191  {
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 }
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

◆ fillDescriptions()

void V0Monitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 11 of file V0Monitor.cc.

References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, GenericTriggerEventFlag::fillPSetDescription(), SiStripSourceConfigTier0_cff::genericTriggerEventPSet, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

11  {
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 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillPSetDescription(edm::ParameterSetDescription &desc)

◆ getHistoPSet()

void V0Monitor::getHistoPSet ( edm::ParameterSet  pset,
MEbinning mebinning 
)
private

Definition at line 159 of file V0Monitor.cc.

References MEbinning::nbins, muonDTDigis_cfi::pset, MEbinning::xmax, and MEbinning::xmin.

Referenced by V0Monitor().

159  {
160  mebinning.nbins = pset.getParameter<int32_t>("nbins");
161  mebinning.xmin = pset.getParameter<double>("xmin");
162  mebinning.xmax = pset.getParameter<double>("xmax");
163 }

Member Data Documentation

◆ bsToken_

const edm::EDGetTokenT<reco::BeamSpot> V0Monitor::bsToken_
private

Definition at line 77 of file V0Monitor.h.

Referenced by analyze().

◆ chi2oNDF_binning_

MEbinning V0Monitor::chi2oNDF_binning_
private

Definition at line 131 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ eta_binning_

MEbinning V0Monitor::eta_binning_
private

Definition at line 129 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ folderName_

const std::string V0Monitor::folderName_
private

Definition at line 74 of file V0Monitor.h.

Referenced by bookHistograms().

◆ forceSCAL_

const bool V0Monitor::forceSCAL_
private

Definition at line 82 of file V0Monitor.h.

Referenced by analyze().

◆ genTriggerEventFlag_

GenericTriggerEventFlag* V0Monitor::genTriggerEventFlag_
private

Definition at line 85 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and ~V0Monitor().

◆ ls_binning_

MEbinning V0Monitor::ls_binning_
private

Definition at line 134 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ lumi_binning_

MEbinning V0Monitor::lumi_binning_
private

Definition at line 132 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ lumiscalersToken_

const edm::EDGetTokenT<LumiScalersCollection> V0Monitor::lumiscalersToken_
private

Definition at line 79 of file V0Monitor.h.

Referenced by analyze().

◆ Lxy_binning_

MEbinning V0Monitor::Lxy_binning_
private

Definition at line 130 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ mass_binning_

MEbinning V0Monitor::mass_binning_
private

Definition at line 127 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ metaDataToken_

const edm::EDGetTokenT<OnlineLuminosityRecord> V0Monitor::metaDataToken_
private

Definition at line 80 of file V0Monitor.h.

Referenced by analyze().

◆ n_vs_BX_

MonitorElement* V0Monitor::n_vs_BX_
private

Definition at line 106 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ n_vs_LS_

MonitorElement* V0Monitor::n_vs_LS_
private

Definition at line 124 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ n_vs_lumi_

MonitorElement* V0Monitor::n_vs_lumi_
private

Definition at line 112 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ n_vs_PU_

MonitorElement* V0Monitor::n_vs_PU_
private

Definition at line 118 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ pt_binning_

MEbinning V0Monitor::pt_binning_
private

Definition at line 128 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ pu_binning_

MEbinning V0Monitor::pu_binning_
private

Definition at line 133 of file V0Monitor.h.

Referenced by bookHistograms(), and V0Monitor().

◆ pvNDOF_

const int V0Monitor::pvNDOF_
private

Definition at line 83 of file V0Monitor.h.

Referenced by analyze().

◆ pvToken_

const edm::EDGetTokenT<reco::VertexCollection> V0Monitor::pvToken_
private

Definition at line 78 of file V0Monitor.h.

Referenced by analyze().

◆ v0_chi2oNDF_

MonitorElement* V0Monitor::v0_chi2oNDF_
private

Definition at line 94 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_deltaMass_

MonitorElement* V0Monitor::v0_deltaMass_
private

Definition at line 98 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_deltaMass_vs_BX_

MonitorElement* V0Monitor::v0_deltaMass_vs_BX_
private

Definition at line 110 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_deltaMass_vs_eta_

MonitorElement* V0Monitor::v0_deltaMass_vs_eta_
private

Definition at line 100 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_deltaMass_vs_lumi_

MonitorElement* V0Monitor::v0_deltaMass_vs_lumi_
private

Definition at line 116 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_deltaMass_vs_pt_

MonitorElement* V0Monitor::v0_deltaMass_vs_pt_
private

Definition at line 99 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_deltaMass_vs_PU_

MonitorElement* V0Monitor::v0_deltaMass_vs_PU_
private

Definition at line 122 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_eta_

MonitorElement* V0Monitor::v0_eta_
private

Definition at line 90 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_

MonitorElement* V0Monitor::v0_Lxy_
private

Definition at line 92 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_vs_BX_

MonitorElement* V0Monitor::v0_Lxy_vs_BX_
private

Definition at line 109 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_vs_deltaMass_

MonitorElement* V0Monitor::v0_Lxy_vs_deltaMass_
private

Definition at line 102 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_vs_eta_

MonitorElement* V0Monitor::v0_Lxy_vs_eta_
private

Definition at line 104 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_vs_lumi_

MonitorElement* V0Monitor::v0_Lxy_vs_lumi_
private

Definition at line 115 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_vs_pt_

MonitorElement* V0Monitor::v0_Lxy_vs_pt_
private

Definition at line 103 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_vs_PU_

MonitorElement* V0Monitor::v0_Lxy_vs_PU_
private

Definition at line 121 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_Lxy_wrtBS_

MonitorElement* V0Monitor::v0_Lxy_wrtBS_
private

Definition at line 93 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_mass_

MonitorElement* V0Monitor::v0_mass_
private

Definition at line 88 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_mass_vs_BX_

MonitorElement* V0Monitor::v0_mass_vs_BX_
private

Definition at line 108 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_mass_vs_eta_

MonitorElement* V0Monitor::v0_mass_vs_eta_
private

Definition at line 97 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_mass_vs_lumi_

MonitorElement* V0Monitor::v0_mass_vs_lumi_
private

Definition at line 114 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_mass_vs_p_

MonitorElement* V0Monitor::v0_mass_vs_p_
private

Definition at line 95 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_mass_vs_pt_

MonitorElement* V0Monitor::v0_mass_vs_pt_
private

Definition at line 96 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_mass_vs_PU_

MonitorElement* V0Monitor::v0_mass_vs_PU_
private

Definition at line 120 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_N_

MonitorElement* V0Monitor::v0_N_
private

Definition at line 87 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_N_vs_BX_

MonitorElement* V0Monitor::v0_N_vs_BX_
private

Definition at line 107 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_N_vs_LS_

MonitorElement* V0Monitor::v0_N_vs_LS_
private

Definition at line 125 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_N_vs_lumi_

MonitorElement* V0Monitor::v0_N_vs_lumi_
private

Definition at line 113 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_N_vs_PU_

MonitorElement* V0Monitor::v0_N_vs_PU_
private

Definition at line 119 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_phi_

MonitorElement* V0Monitor::v0_phi_
private

Definition at line 91 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0_pt_

MonitorElement* V0Monitor::v0_pt_
private

Definition at line 89 of file V0Monitor.h.

Referenced by analyze(), bookHistograms(), and V0Monitor().

◆ v0Token_

const edm::EDGetTokenT<reco::VertexCompositeCandidateCollection> V0Monitor::v0Token_
private

Definition at line 76 of file V0Monitor.h.

Referenced by analyze().