CMS 3D CMS Logo

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

#include <MuonMonitor.h>

Inheritance diagram for MuonMonitor:
DQMEDAnalyzer edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 MuonMonitor (const edm::ParameterSet &)
 
 ~MuonMonitor () 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
 
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
static void fillHistoLSPSetDescription (edm::ParameterSetDescription &pset)
 
static void fillHistoPSetDescription (edm::ParameterSetDescription &pset)
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Protected Member Functions

void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void bookME (DQMStore::IBooker &, MuonME &me, const std::string &histname, const std::string &histtitle, int nbins, double xmin, double xmax)
 
void bookME (DQMStore::IBooker &, MuonME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX)
 
void bookME (DQMStore::IBooker &, MuonME &me, const std::string &histname, const std::string &histtitle, int nbinsX, double xmin, double xmax, double ymin, double ymax)
 
void bookME (DQMStore::IBooker &, MuonME &me, const std::string &histname, const std::string &histtitle, int nbinsX, double xmin, double xmax, int nbinsY, double ymin, double ymax)
 
void bookME (DQMStore::IBooker &, MuonME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY)
 
void setTitle (MuonME &me, const std::string &titleX, const std::string &titleY)
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Static Private Member Functions

static MEbinning getHistoLSPSet (edm::ParameterSet const &pset)
 
static MEbinning getHistoPSet (edm::ParameterSet const &pset)
 

Private Attributes

std::unique_ptr< GenericTriggerEventFlagden_genTriggerEventFlag_
 
const MEbinning dxy_binning_ {N_dxy, -MAX_dxy, MAX_dxy}
 
MuonME eleEta_muEta_
 
std::vector< double > eleEta_variable_binning_2D_
 
MuonME eleEtaME_
 
MuonME eleME_variableBinning_
 
MuonME elePt_muPt_
 
std::vector< double > elePt_variable_binning_2D_
 
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
 
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
 
const MEbinning eta_binning_ {N_ETA, -MAX_ETA, MAX_ETA}
 
std::string folderName_
 
std::string histoSuffix_
 
MEbinning ls_binning_
 
StringCutObjectSelector< reco::MET, true > metSelection_
 
edm::EDGetTokenT< reco::PFMETCollectionmetToken_
 
std::vector< double > muEta_variable_binning_2D_
 
MEbinning muon_binning_
 
std::vector< double > muon_variable_binning_
 
MuonME muondxy_
 
MuonME muondz_
 
std::vector< double > muoneta_variable_binning_
 
MuonME muonEtaME_
 
MuonME muonEtaME_variableBinning_
 
MuonME muonEtaPhiME_
 
MuonME muonME_
 
MuonME muonME_variableBinning_
 
MuonME muonPhiME_
 
StringCutObjectSelector< reco::Muon, true > muonSelection_
 
edm::EDGetTokenT< reco::MuonCollectionmuonToken_
 
MuonME muonVsLS_
 
std::vector< double > muPt_variable_binning_2D_
 
unsigned int nelectrons_
 
unsigned int njets_
 
unsigned int nmuons_
 
std::unique_ptr< GenericTriggerEventFlagnum_genTriggerEventFlag_
 
const MEbinning phi_binning_ {N_PHI, -MAX_PHI, MAX_PHI}
 
edm::EDGetTokenT< reco::VertexCollectionvtxToken_
 

Static Private Attributes

static double MAX_dxy = 2.5
 
static double MAX_ETA = 2.4
 
static double MAX_PHI = 3.2
 
static int N_dxy = 50
 
static int N_ETA = 68
 
static int N_PHI = 64
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 58 of file MuonMonitor.h.

Constructor & Destructor Documentation

MuonMonitor::MuonMonitor ( const edm::ParameterSet iConfig)

Definition at line 12 of file MuonMonitor.cc.

References MuonME::denominator, eleEta_muEta_, eleEtaME_, eleME_variableBinning_, elePt_muPt_, muondxy_, muondz_, muonEtaME_, muonEtaME_variableBinning_, muonEtaPhiME_, muonME_, muonME_variableBinning_, muonPhiME_, muonVsLS_, MuonME::numerator, and ~MuonMonitor().

13  : folderName_(iConfig.getParameter<std::string>("FolderName")),
14  metToken_(consumes<reco::PFMETCollection>(iConfig.getParameter<edm::InputTag>("met"))),
15  muonToken_(mayConsume<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("muons"))),
16  vtxToken_(mayConsume<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("vertices"))),
19  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muonBinning")),
21  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muonetaBinning")),
23  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet>("muonPSet"))),
27  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muPtBinning2D")),
29  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("elePtBinning2D")),
31  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muEtaBinning2D")),
33  iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("eleEtaBinning2D")),
35  iConfig.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"), consumesCollector(), *this)),
37  iConfig.getParameter<edm::ParameterSet>("denGenericTriggerEventPSet"), consumesCollector(), *this)),
38  metSelection_(iConfig.getParameter<std::string>("metSelection")),
39  muonSelection_(iConfig.getParameter<std::string>("muonSelection")),
40  eleSelection_(iConfig.getParameter<std::string>("eleSelection")),
41  nmuons_(iConfig.getParameter<unsigned int>("nmuons")),
42  nelectrons_(iConfig.getParameter<unsigned int>("nelectrons")) {
43  muonME_.numerator = nullptr;
44  muonME_.denominator = nullptr;
47  muonVsLS_.numerator = nullptr;
48  muonVsLS_.denominator = nullptr;
49  muonEtaME_.numerator = nullptr;
50  muonEtaME_.denominator = nullptr;
53  muonPhiME_.numerator = nullptr;
54  muonPhiME_.denominator = nullptr;
55  muonEtaPhiME_.numerator = nullptr;
56  muonEtaPhiME_.denominator = nullptr;
57  muondxy_.denominator = nullptr;
58  muondxy_.numerator = nullptr;
59  muondz_.denominator = nullptr;
60  muondz_.numerator = nullptr;
63  eleEtaME_.numerator = nullptr;
64  eleEtaME_.denominator = nullptr;
65  elePt_muPt_.numerator = nullptr;
66  elePt_muPt_.denominator = nullptr;
67  eleEta_muEta_.numerator = nullptr;
68  eleEta_muEta_.denominator = nullptr;
69 }
std::vector< double > muPt_variable_binning_2D_
Definition: MuonMonitor.h:137
T getParameter(std::string const &) const
StringCutObjectSelector< reco::MET, true > metSelection_
Definition: MuonMonitor.h:159
edm::EDGetTokenT< reco::PFMETCollection > metToken_
Definition: MuonMonitor.h:116
MuonME elePt_muPt_
Definition: MuonMonitor.h:154
MuonME muonEtaPhiME_
Definition: MuonMonitor.h:147
unsigned int nelectrons_
Definition: MuonMonitor.h:164
MuonME muonEtaME_variableBinning_
Definition: MuonMonitor.h:150
MuonME muonPhiME_
Definition: MuonMonitor.h:144
MuonME muonME_
Definition: MuonMonitor.h:142
std::vector< double > muoneta_variable_binning_
Definition: MuonMonitor.h:134
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: MuonMonitor.h:156
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
Definition: MuonMonitor.h:118
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
MuonME muondz_
Definition: MuonMonitor.h:149
std::vector< double > muEta_variable_binning_2D_
Definition: MuonMonitor.h:139
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
Definition: MuonMonitor.h:161
MEbinning ls_binning_
Definition: MuonMonitor.h:136
MuonME muonVsLS_
Definition: MuonMonitor.h:146
MuonME eleEta_muEta_
Definition: MuonMonitor.h:153
MEbinning muon_binning_
Definition: MuonMonitor.h:135
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
Definition: MuonMonitor.h:119
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: MuonMonitor.h:157
MuonME muondxy_
Definition: MuonMonitor.h:148
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
static MEbinning getHistoPSet(edm::ParameterSet const &pset)
Definition: MuonMonitor.cc:73
edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition: MuonMonitor.h:117
std::vector< double > elePt_variable_binning_2D_
Definition: MuonMonitor.h:138
std::vector< double > muon_variable_binning_
Definition: MuonMonitor.h:133
unsigned int nmuons_
Definition: MuonMonitor.h:163
MuonME muonME_variableBinning_
Definition: MuonMonitor.h:145
MuonME muonEtaME_
Definition: MuonMonitor.h:143
MuonME eleME_variableBinning_
Definition: MuonMonitor.h:151
std::string folderName_
Definition: MuonMonitor.h:113
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
std::vector< double > eleEta_variable_binning_2D_
Definition: MuonMonitor.h:140
MuonME eleEtaME_
Definition: MuonMonitor.h:152
StringCutObjectSelector< reco::Muon, true > muonSelection_
Definition: MuonMonitor.h:160
MuonMonitor::~MuonMonitor ( )
overridedefault

Referenced by MuonMonitor().

Member Function Documentation

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

Reimplemented from DQMEDAnalyzer.

Definition at line 261 of file MuonMonitor.cc.

References den_genTriggerEventFlag_, MuonME::denominator, PVValHelper::dxy, PVValHelper::dz, MillePedeFileConverter_cfg::e, pwdgSkimBPark_cfi::electrons, eleEta_muEta_, eleEtaME_, eleME_variableBinning_, elePt_muPt_, eleSelection_, eleToken_, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), edm::Event::getByToken(), edm::EventBase::id(), eostools::ls(), edm::EventID::luminosityBlock(), metSelection_, metToken_, muondxy_, muondz_, muonEtaME_, muonEtaPhiME_, muonME_, muonME_variableBinning_, muonPhiME_, PDWG_BPHSkim_cff::muons, muonSelection_, muonToken_, muonVsLS_, nelectrons_, nmuons_, num_genTriggerEventFlag_, MuonME::numerator, AlCaHLTBitMon_ParallelJobs::p, phi, DiDispStaMuonMonitor_cfi::pt, MetAnalyzer::pv(), findQualityFiles::v, and vtxToken_.

261  {
262  // Filter out events if Trigger Filtering is requested
263  if (den_genTriggerEventFlag_->on() && !den_genTriggerEventFlag_->accept(iEvent, iSetup))
264  return;
265 
267  iEvent.getByToken(metToken_, metHandle);
268  reco::PFMET pfmet = metHandle->front();
269  if (!metSelection_(pfmet))
270  return;
271 
273  iEvent.getByToken(vtxToken_, vtxHandle);
274 
275  math::XYZPoint pv(0, 0, 0);
276  for (reco::Vertex const& v : *vtxHandle) {
277  if (not v.isFake()) {
278  pv.SetXYZ(v.x(), v.y(), v.z());
279  break;
280  }
281  }
282 
284  iEvent.getByToken(muonToken_, muonHandle);
285  std::vector<reco::Muon> muons;
286  if (muonHandle->size() < nmuons_)
287  return;
288  for (auto const& p : *muonHandle) {
289  if (muonSelection_(p))
290  muons.push_back(p);
291  }
292  if (muons.size() < nmuons_)
293  return;
294 
296  iEvent.getByToken(eleToken_, eleHandle);
297  std::vector<reco::GsfElectron> electrons;
298  if (eleHandle->size() < nelectrons_)
299  return;
300  for (auto const& e : *eleHandle) {
301  if (eleSelection_(e))
302  electrons.push_back(e);
303  }
304  if (electrons.size() < nelectrons_)
305  return;
306 
307  // filling histograms (denominator)
308  int ls = iEvent.id().luminosityBlock();
309  if (!muons.empty())
310 
311  {
312  muonME_.denominator->Fill(muons[0].pt());
314  muonPhiME_.denominator->Fill(muons[0].phi());
315  muonEtaME_.denominator->Fill(muons[0].eta());
316  muonVsLS_.denominator->Fill(ls, muons[0].pt());
317  muonEtaPhiME_.denominator->Fill(muons[0].eta(), muons[0].phi());
318  muondxy_.denominator->Fill(muons[0].muonBestTrack()->dxy(pv));
319  muondz_.denominator->Fill(muons[0].muonBestTrack()->dz(pv));
320  if (!electrons.empty()) {
321  eleME_variableBinning_.denominator->Fill(electrons[0].pt());
322  eleEtaME_.denominator->Fill(electrons[0].eta());
323  eleEta_muEta_.denominator->Fill(electrons[0].eta(), muons[0].eta());
324  elePt_muPt_.denominator->Fill(electrons[0].pt(), muons[0].pt());
325  }
326  }
327 
328  // applying selection for numerator
329  if (num_genTriggerEventFlag_->on() && !num_genTriggerEventFlag_->accept(iEvent, iSetup))
330  return;
331 
332  // filling histograms (num_genTriggerEventFlag_)
333  if (!muons.empty()) {
334  muonME_.numerator->Fill(muons[0].pt());
336  muonPhiME_.numerator->Fill(muons[0].phi());
337  muonEtaME_.numerator->Fill(muons[0].eta());
338  muonVsLS_.numerator->Fill(ls, muons[0].pt());
339  muonEtaPhiME_.numerator->Fill(muons[0].eta(), muons[0].phi());
340  muondxy_.numerator->Fill(muons[0].muonBestTrack()->dxy(pv));
341  muondz_.numerator->Fill(muons[0].muonBestTrack()->dz(pv));
342  if (!electrons.empty()) {
343  eleME_variableBinning_.numerator->Fill(electrons[0].pt());
344  eleEtaME_.numerator->Fill(electrons[0].eta());
345  eleEta_muEta_.numerator->Fill(electrons[0].eta(), muons[0].eta());
346  elePt_muPt_.numerator->Fill(electrons[0].pt(), muons[0].pt());
347  }
348  }
349 }
StringCutObjectSelector< reco::MET, true > metSelection_
Definition: MuonMonitor.h:159
edm::EDGetTokenT< reco::PFMETCollection > metToken_
Definition: MuonMonitor.h:116
MuonME elePt_muPt_
Definition: MuonMonitor.h:154
MuonME muonEtaPhiME_
Definition: MuonMonitor.h:147
unsigned int nelectrons_
Definition: MuonMonitor.h:164
MuonME muonPhiME_
Definition: MuonMonitor.h:144
MuonME muonME_
Definition: MuonMonitor.h:142
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: MuonMonitor.h:156
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
Definition: MuonMonitor.h:118
MuonME muondz_
Definition: MuonMonitor.h:149
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
Definition: MuonMonitor.h:161
void Fill(long long x)
MuonME muonVsLS_
Definition: MuonMonitor.h:146
MuonME eleEta_muEta_
Definition: MuonMonitor.h:153
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
Definition: MuonMonitor.h:119
int iEvent
Definition: GenABIO.cc:224
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: MuonMonitor.h:157
MuonME muondxy_
Definition: MuonMonitor.h:148
def pv(vc)
Definition: MetAnalyzer.py:7
edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition: MuonMonitor.h:117
def ls(path, rec=False)
Definition: eostools.py:349
unsigned int nmuons_
Definition: MuonMonitor.h:163
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
MuonME muonME_variableBinning_
Definition: MuonMonitor.h:145
MuonME muonEtaME_
Definition: MuonMonitor.h:143
MuonME eleME_variableBinning_
Definition: MuonMonitor.h:151
MuonME eleEtaME_
Definition: MuonMonitor.h:152
StringCutObjectSelector< reco::Muon, true > muonSelection_
Definition: MuonMonitor.h:160
void MuonMonitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 163 of file MuonMonitor.cc.

References bookME(), den_genTriggerEventFlag_, dxy_binning_, eleEta_muEta_, eleEta_variable_binning_2D_, eleEtaME_, eleME_variableBinning_, elePt_muPt_, elePt_variable_binning_2D_, eta_binning_, folderName_, ls_binning_, muEta_variable_binning_2D_, muon_binning_, muon_variable_binning_, muondxy_, muondz_, muoneta_variable_binning_, muonEtaME_, muonEtaME_variableBinning_, muonEtaPhiME_, muonME_, muonME_variableBinning_, muonPhiME_, muonVsLS_, muPt_variable_binning_2D_, num_genTriggerEventFlag_, phi_binning_, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), setTitle(), and AlCaHLTBitMon_QueryRunRegistry::string.

163  {
164  std::string histname, histtitle;
165 
166  ibooker.setCurrentFolder(folderName_);
167 
168  histname = "muon_pt";
169  histtitle = "muon PT";
170  bookME(ibooker, muonME_, histname, histtitle, muon_binning_.nbins, muon_binning_.xmin, muon_binning_.xmax);
171  setTitle(muonME_, "Muon pT [GeV]", "events / [GeV]");
172 
173  histname = "muon_pt_variable";
174  histtitle = "muon PT";
175  bookME(ibooker, muonME_variableBinning_, histname, histtitle, muon_variable_binning_);
176  setTitle(muonME_variableBinning_, "Muon pT [GeV]", "events / [GeV]");
177 
178  histname = "muonVsLS";
179  histtitle = "muon pt vs LS";
180  bookME(ibooker,
181  muonVsLS_,
182  histname,
183  histtitle,
184  ls_binning_.nbins,
185  ls_binning_.xmin,
186  ls_binning_.xmax,
187  muon_binning_.xmin,
188  muon_binning_.xmax);
189  setTitle(muonVsLS_, "LS", "Muon pT [GeV]");
190 
191  histname = "muon_phi";
192  histtitle = "Muon phi";
193  bookME(ibooker, muonPhiME_, histname, histtitle, phi_binning_.nbins, phi_binning_.xmin, phi_binning_.xmax);
194  setTitle(muonPhiME_, "Muon #phi", "events / 0.1 rad");
195 
196  histname = "muon_eta";
197  histtitle = "Muon eta";
198  bookME(ibooker, muonEtaME_, histname, histtitle, eta_binning_.nbins, eta_binning_.xmin, eta_binning_.xmax);
199  setTitle(muonEtaME_, "Muon #eta", "events");
200 
201  histname = "muon_eta_variablebinning";
202  histtitle = "Muon eta";
203  bookME(ibooker, muonEtaME_variableBinning_, histname, histtitle, muoneta_variable_binning_);
204  setTitle(muonEtaME_variableBinning_, "Muon #eta", "events");
205 
206  histname = "muon_dxy";
207  histtitle = "Muon dxy";
208  bookME(ibooker, muondxy_, histname, histtitle, dxy_binning_.nbins, dxy_binning_.xmin, dxy_binning_.xmax);
209  setTitle(muondxy_, "Muon #dxy", "events");
210 
211  histname = "muon_dz";
212  histtitle = "Muon dz";
213  bookME(ibooker, muondz_, histname, histtitle, dxy_binning_.nbins, dxy_binning_.xmin, dxy_binning_.xmax);
214  setTitle(muondz_, "Muon #dz", "events");
215 
216  histname = "muon_etaphi";
217  histtitle = "Muon eta-phi";
218  bookME(ibooker,
220  histname,
221  histtitle,
222  eta_binning_.nbins,
223  eta_binning_.xmin,
224  eta_binning_.xmax,
225  phi_binning_.nbins,
226  phi_binning_.xmin,
227  phi_binning_.xmax);
228  setTitle(muonEtaPhiME_, "#eta", "#phi");
229 
230  histname = "electron_pt_variable";
231  histtitle = "electron PT";
232  bookME(ibooker, eleME_variableBinning_, histname, histtitle, muon_variable_binning_);
233  setTitle(eleME_variableBinning_, "Electron pT [GeV]", "events / [GeV]");
234 
235  histname = "electron_eta";
236  histtitle = "electron eta";
237  bookME(ibooker, eleEtaME_, histname, histtitle, eta_binning_.nbins, eta_binning_.xmin, eta_binning_.xmax);
238  setTitle(eleEtaME_, "Electron #eta", "events");
239 
240  histname = "elePt_muPt";
241  histtitle = "electron pt vs muon pt";
243  setTitle(elePt_muPt_, "electron pt [GeV]", "muon pt [GeV]");
244 
245  histname = "eleEta_muEta";
246  histtitle = "electron #eta vs muon #eta";
248  setTitle(eleEta_muEta_, "electron #eta", "muon #eta");
249 
250  // Initialize the GenericTriggerEventFlag
252  num_genTriggerEventFlag_->initRun(iRun, iSetup);
254  den_genTriggerEventFlag_->initRun(iRun, iSetup);
255 }
std::vector< double > muPt_variable_binning_2D_
Definition: MuonMonitor.h:137
MuonME elePt_muPt_
Definition: MuonMonitor.h:154
void setTitle(MuonME &me, const std::string &titleX, const std::string &titleY)
Definition: MuonMonitor.cc:85
MuonME muonEtaPhiME_
Definition: MuonMonitor.h:147
MuonME muonEtaME_variableBinning_
Definition: MuonMonitor.h:150
MuonME muonPhiME_
Definition: MuonMonitor.h:144
MuonME muonME_
Definition: MuonMonitor.h:142
std::vector< double > muoneta_variable_binning_
Definition: MuonMonitor.h:134
const MEbinning dxy_binning_
Definition: MuonMonitor.h:127
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: MuonMonitor.h:156
MuonME muondz_
Definition: MuonMonitor.h:149
const MEbinning phi_binning_
Definition: MuonMonitor.h:123
std::vector< double > muEta_variable_binning_2D_
Definition: MuonMonitor.h:139
MEbinning ls_binning_
Definition: MuonMonitor.h:136
MuonME muonVsLS_
Definition: MuonMonitor.h:146
MuonME eleEta_muEta_
Definition: MuonMonitor.h:153
MEbinning muon_binning_
Definition: MuonMonitor.h:135
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: MuonMonitor.h:157
MuonME muondxy_
Definition: MuonMonitor.h:148
std::vector< double > elePt_variable_binning_2D_
Definition: MuonMonitor.h:138
std::vector< double > muon_variable_binning_
Definition: MuonMonitor.h:133
MuonME muonME_variableBinning_
Definition: MuonMonitor.h:145
MuonME muonEtaME_
Definition: MuonMonitor.h:143
void bookME(DQMStore::IBooker &, MuonME &me, const std::string &histname, const std::string &histtitle, int nbins, double xmin, double xmax)
Definition: MuonMonitor.cc:92
MuonME eleME_variableBinning_
Definition: MuonMonitor.h:151
std::string folderName_
Definition: MuonMonitor.h:113
const MEbinning eta_binning_
Definition: MuonMonitor.h:131
std::vector< double > eleEta_variable_binning_2D_
Definition: MuonMonitor.h:140
MuonME eleEtaME_
Definition: MuonMonitor.h:152
void MuonMonitor::bookME ( DQMStore::IBooker ibooker,
MuonME me,
const std::string &  histname,
const std::string &  histtitle,
int  nbins,
double  xmin,
double  xmax 
)
protected

Definition at line 92 of file MuonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), MuonME::denominator, and MuonME::numerator.

Referenced by bookHistograms().

98  {
99  me.numerator = ibooker.book1D(histname + "_numerator", histtitle + " (numerator)", nbins, min, max);
100  me.denominator = ibooker.book1D(histname + "_denominator", histtitle + " (denominator)", nbins, min, max);
101 }
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
T min(T a, T b)
Definition: MathUtil.h:58
void MuonMonitor::bookME ( DQMStore::IBooker ibooker,
MuonME me,
const std::string &  histname,
const std::string &  histtitle,
const std::vector< double > &  binningX 
)
protected

Definition at line 103 of file MuonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), MuonME::denominator, LaserClient_cfi::nbins, and MuonME::numerator.

107  {
108  int nbins = binning.size() - 1;
109  std::vector<float> fbinning(binning.begin(), binning.end());
110  float* arr = &fbinning[0];
111  me.numerator = ibooker.book1D(histname + "_numerator", histtitle + " (numerator)", nbins, arr);
112  me.denominator = ibooker.book1D(histname + "_denominator", histtitle + " (denominator)", nbins, arr);
113 }
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
void MuonMonitor::bookME ( DQMStore::IBooker ibooker,
MuonME me,
const std::string &  histname,
const std::string &  histtitle,
int  nbinsX,
double  xmin,
double  xmax,
double  ymin,
double  ymax 
)
protected

Definition at line 115 of file MuonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::bookProfile(), MuonME::denominator, and MuonME::numerator.

123  {
124  me.numerator =
125  ibooker.bookProfile(histname + "_numerator", histtitle + " (numerator)", nbinsX, xmin, xmax, ymin, ymax);
126  me.denominator =
127  ibooker.bookProfile(histname + "_denominator", histtitle + " (denominator)", nbinsX, xmin, xmax, ymin, ymax);
128 }
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
void MuonMonitor::bookME ( DQMStore::IBooker ibooker,
MuonME me,
const std::string &  histname,
const std::string &  histtitle,
int  nbinsX,
double  xmin,
double  xmax,
int  nbinsY,
double  ymin,
double  ymax 
)
protected

Definition at line 130 of file MuonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), MuonME::denominator, and MuonME::numerator.

139  {
140  me.numerator =
141  ibooker.book2D(histname + "_numerator", histtitle + " (numerator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
142  me.denominator =
143  ibooker.book2D(histname + "_denominator", histtitle + " (denominator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
144 }
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
void MuonMonitor::bookME ( DQMStore::IBooker ibooker,
MuonME me,
const std::string &  histname,
const std::string &  histtitle,
const std::vector< double > &  binningX,
const std::vector< double > &  binningY 
)
protected

Definition at line 146 of file MuonMonitor.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), MuonME::denominator, hlt_dqm_clientPB-live_cfg::nbinsX, hlt_dqm_clientPB-live_cfg::nbinsY, and MuonME::numerator.

151  {
152  int nbinsX = binningX.size() - 1;
153  std::vector<float> fbinningX(binningX.begin(), binningX.end());
154  float* arrX = &fbinningX[0];
155  int nbinsY = binningY.size() - 1;
156  std::vector<float> fbinningY(binningY.begin(), binningY.end());
157  float* arrY = &fbinningY[0];
158 
159  me.numerator = ibooker.book2D(histname + "_numerator", histtitle + " (numerator)", nbinsX, arrX, nbinsY, arrY);
160  me.denominator = ibooker.book2D(histname + "_denominator", histtitle + " (denominator)", nbinsX, arrX, nbinsY, arrY);
161 }
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
void MuonMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 363 of file MuonMonitor.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), trigObjTnPSource_cfi::bins, DEFINE_FWK_MODULE, defaults_cfi::etabins, fillHistoLSPSetDescription(), fillHistoPSetDescription(), SiStripSourceConfigTier0_cff::genericTriggerEventPSet, LumiMonitor_cff::histoPSet, HLT_2018_cff::InputTag, LumiMonitor_cff::lsPSet, BTaggingMonitor_cfi::metPSet, and AlCaHLTBitMon_QueryRunRegistry::string.

363  {
365  desc.add<std::string>("FolderName", "HLT/Muon");
366  desc.add<edm::InputTag>("met", edm::InputTag("pfMet"));
367  desc.add<edm::InputTag>("muons", edm::InputTag("muons"));
368  desc.add<edm::InputTag>("vertices", edm::InputTag("offlinePrimaryVertices"));
369  desc.add<edm::InputTag>("electrons", edm::InputTag("gedGsfElectrons"));
370  desc.add<std::string>("metSelection", "pt > 0");
371  desc.add<std::string>("muonSelection", "pt > 6 && eta<2.4 ");
372  desc.add<std::string>("eleSelection", "pt > 0");
373  //desc.add<std::string>("muonSelection", "pt > 145");
374  desc.add<unsigned int>("nmuons", 0);
375  desc.add<unsigned int>("nelectrons", 0);
376 
378  genericTriggerEventPSet.add<bool>("andOr");
379  genericTriggerEventPSet.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi"));
380  genericTriggerEventPSet.add<std::vector<int> >("dcsPartitions", {});
381  genericTriggerEventPSet.add<bool>("andOrDcs", false);
382  genericTriggerEventPSet.add<bool>("errorReplyDcs", true);
383  genericTriggerEventPSet.add<std::string>("dbLabel", "");
384  genericTriggerEventPSet.add<bool>("andOrHlt", true);
385  genericTriggerEventPSet.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT"));
386  genericTriggerEventPSet.add<std::vector<std::string> >("hltPaths", {});
387  genericTriggerEventPSet.add<std::string>("hltDBKey", "");
388  genericTriggerEventPSet.add<bool>("errorReplyHlt", false);
389  genericTriggerEventPSet.add<bool>("errorReplyL1", false);
390  genericTriggerEventPSet.add<unsigned int>("verbosityLevel", 1);
391  genericTriggerEventPSet.add<bool>("andOrL1", false);
392  genericTriggerEventPSet.add<bool>("l1BeforeMask", false);
393  genericTriggerEventPSet.add<std::vector<std::string> >("l1Algorithms", {});
394 
395  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
396  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
397 
400  fillHistoPSetDescription(metPSet);
401  histoPSet.add<edm::ParameterSetDescription>("muonPSet", metPSet);
402  std::vector<double> bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
403  170., 180., 190., 200., 220., 240., 260., 280., 300., 350., 400., 450., 1000.};
404  histoPSet.add<std::vector<double> >("muonBinning", bins);
405 
406  std::vector<double> etabins = {-3., -2.5, -2., -1.5, -1., -.5, 0., .5, 1., 1.5, 2., 2.5, 3.};
407  histoPSet.add<std::vector<double> >("muonetaBinning", etabins);
408 
409  std::vector<double> bins_2D = {0., 40., 80., 100., 120., 140., 160., 180., 200., 240., 280., 350., 450., 1000.};
410  std::vector<double> eta_bins_2D = {-3., -2., -1., 0., 1., 2., 3.};
411  std::vector<double> phi_bins_2D = {
412  -3.1415, -2.5132, -1.8849, -1.2566, -0.6283, 0, 0.6283, 1.2566, 1.8849, 2.5132, 3.1415};
413  histoPSet.add<std::vector<double> >("elePtBinning2D", bins_2D);
414  histoPSet.add<std::vector<double> >("muPtBinning2D", bins_2D);
415  histoPSet.add<std::vector<double> >("eleEtaBinning2D", eta_bins_2D);
416  histoPSet.add<std::vector<double> >("muEtaBinning2D", eta_bins_2D);
417 
420  histoPSet.add<edm::ParameterSetDescription>("lsPSet", lsPSet);
421 
422  desc.add<edm::ParameterSetDescription>("histoPSet", histoPSet);
423 
424  descriptions.add("muonMonitoring", desc);
425 }
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
Definition: MuonMonitor.cc:351
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
Definition: MuonMonitor.cc:357
void MuonMonitor::fillHistoLSPSetDescription ( edm::ParameterSetDescription pset)
static

Definition at line 357 of file MuonMonitor.cc.

References edm::ParameterSetDescription::add().

Referenced by fillDescriptions().

357  {
358  pset.add<unsigned int>("nbins", 2500);
359  pset.add<double>("xmin", 0.);
360  pset.add<double>("xmax", 2500.);
361 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void MuonMonitor::fillHistoPSetDescription ( edm::ParameterSetDescription pset)
static

Definition at line 351 of file MuonMonitor.cc.

References edm::ParameterSetDescription::add().

Referenced by fillDescriptions().

351  {
352  pset.add<unsigned int>("nbins");
353  pset.add<double>("xmin");
354  pset.add<double>("xmax");
355 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
MEbinning MuonMonitor::getHistoLSPSet ( edm::ParameterSet const &  pset)
staticprivate

Definition at line 81 of file MuonMonitor.cc.

References edm::ParameterSet::getParameter().

81  {
82  return MEbinning{pset.getParameter<unsigned>("nbins"), 0., double(pset.getParameter<int32_t>("nbins"))};
83 }
MEbinning MuonMonitor::getHistoPSet ( edm::ParameterSet const &  pset)
staticprivate

Definition at line 73 of file MuonMonitor.cc.

References edm::ParameterSet::getParameter().

73  {
74  return MEbinning{
75  pset.getParameter<unsigned>("nbins"),
76  pset.getParameter<double>("xmin"),
77  pset.getParameter<double>("xmax"),
78  };
79 }
void MuonMonitor::setTitle ( MuonME me,
const std::string &  titleX,
const std::string &  titleY 
)
protected

Definition at line 85 of file MuonMonitor.cc.

References MuonME::denominator, MuonME::numerator, and dqm::impl::MonitorElement::setAxisTitle().

Referenced by bookHistograms(), Vispa.Gui.PortWidget.PortWidget::setName(), and Vispa.Views.LineDecayView.LineDecayContainer::setPxlObject().

85  {
86  me.numerator->setAxisTitle(titleX, 1);
87  me.numerator->setAxisTitle(titleY, 2);
88  me.denominator->setAxisTitle(titleX, 1);
89  me.denominator->setAxisTitle(titleY, 2);
90 }
dqm::reco::MonitorElement * numerator
Definition: MuonMonitor.h:51
dqm::reco::MonitorElement * denominator
Definition: MuonMonitor.h:52
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)

Member Data Documentation

std::unique_ptr<GenericTriggerEventFlag> MuonMonitor::den_genTriggerEventFlag_
private

Definition at line 157 of file MuonMonitor.h.

Referenced by analyze(), and bookHistograms().

const MEbinning MuonMonitor::dxy_binning_ {N_dxy, -MAX_dxy, MAX_dxy}
private

Definition at line 127 of file MuonMonitor.h.

Referenced by bookHistograms().

MuonME MuonMonitor::eleEta_muEta_
private

Definition at line 153 of file MuonMonitor.h.

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

std::vector<double> MuonMonitor::eleEta_variable_binning_2D_
private

Definition at line 140 of file MuonMonitor.h.

Referenced by bookHistograms().

MuonME MuonMonitor::eleEtaME_
private

Definition at line 152 of file MuonMonitor.h.

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

MuonME MuonMonitor::eleME_variableBinning_
private

Definition at line 151 of file MuonMonitor.h.

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

MuonME MuonMonitor::elePt_muPt_
private

Definition at line 154 of file MuonMonitor.h.

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

std::vector<double> MuonMonitor::elePt_variable_binning_2D_
private

Definition at line 138 of file MuonMonitor.h.

Referenced by bookHistograms().

StringCutObjectSelector<reco::GsfElectron, true> MuonMonitor::eleSelection_
private

Definition at line 161 of file MuonMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<edm::View<reco::GsfElectron> > MuonMonitor::eleToken_
private

Definition at line 119 of file MuonMonitor.h.

Referenced by analyze().

const MEbinning MuonMonitor::eta_binning_ {N_ETA, -MAX_ETA, MAX_ETA}
private

Definition at line 131 of file MuonMonitor.h.

Referenced by bookHistograms().

std::string MuonMonitor::folderName_
private

Definition at line 113 of file MuonMonitor.h.

Referenced by bookHistograms().

std::string MuonMonitor::histoSuffix_
private

Definition at line 114 of file MuonMonitor.h.

MEbinning MuonMonitor::ls_binning_
private

Definition at line 136 of file MuonMonitor.h.

Referenced by bookHistograms().

double MuonMonitor::MAX_dxy = 2.5
staticprivate

Definition at line 125 of file MuonMonitor.h.

double MuonMonitor::MAX_ETA = 2.4
staticprivate

Definition at line 129 of file MuonMonitor.h.

double MuonMonitor::MAX_PHI = 3.2
staticprivate

Definition at line 121 of file MuonMonitor.h.

StringCutObjectSelector<reco::MET, true> MuonMonitor::metSelection_
private

Definition at line 159 of file MuonMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::PFMETCollection> MuonMonitor::metToken_
private

Definition at line 116 of file MuonMonitor.h.

Referenced by analyze().

std::vector<double> MuonMonitor::muEta_variable_binning_2D_
private

Definition at line 139 of file MuonMonitor.h.

Referenced by bookHistograms().

MEbinning MuonMonitor::muon_binning_
private

Definition at line 135 of file MuonMonitor.h.

Referenced by bookHistograms().

std::vector<double> MuonMonitor::muon_variable_binning_
private

Definition at line 133 of file MuonMonitor.h.

Referenced by bookHistograms().

MuonME MuonMonitor::muondxy_
private

Definition at line 148 of file MuonMonitor.h.

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

MuonME MuonMonitor::muondz_
private

Definition at line 149 of file MuonMonitor.h.

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

std::vector<double> MuonMonitor::muoneta_variable_binning_
private

Definition at line 134 of file MuonMonitor.h.

Referenced by bookHistograms().

MuonME MuonMonitor::muonEtaME_
private

Definition at line 143 of file MuonMonitor.h.

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

MuonME MuonMonitor::muonEtaME_variableBinning_
private

Definition at line 150 of file MuonMonitor.h.

Referenced by bookHistograms(), and MuonMonitor().

MuonME MuonMonitor::muonEtaPhiME_
private

Definition at line 147 of file MuonMonitor.h.

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

MuonME MuonMonitor::muonME_
private

Definition at line 142 of file MuonMonitor.h.

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

MuonME MuonMonitor::muonME_variableBinning_
private

Definition at line 145 of file MuonMonitor.h.

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

MuonME MuonMonitor::muonPhiME_
private

Definition at line 144 of file MuonMonitor.h.

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

StringCutObjectSelector<reco::Muon, true> MuonMonitor::muonSelection_
private

Definition at line 160 of file MuonMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::MuonCollection> MuonMonitor::muonToken_
private

Definition at line 117 of file MuonMonitor.h.

Referenced by analyze().

MuonME MuonMonitor::muonVsLS_
private

Definition at line 146 of file MuonMonitor.h.

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

std::vector<double> MuonMonitor::muPt_variable_binning_2D_
private

Definition at line 137 of file MuonMonitor.h.

Referenced by bookHistograms().

int MuonMonitor::N_dxy = 50
staticprivate

Definition at line 126 of file MuonMonitor.h.

int MuonMonitor::N_ETA = 68
staticprivate

Definition at line 130 of file MuonMonitor.h.

int MuonMonitor::N_PHI = 64
staticprivate

Definition at line 122 of file MuonMonitor.h.

unsigned int MuonMonitor::nelectrons_
private

Definition at line 164 of file MuonMonitor.h.

Referenced by analyze().

unsigned int MuonMonitor::njets_
private

Definition at line 162 of file MuonMonitor.h.

unsigned int MuonMonitor::nmuons_
private

Definition at line 163 of file MuonMonitor.h.

Referenced by analyze().

std::unique_ptr<GenericTriggerEventFlag> MuonMonitor::num_genTriggerEventFlag_
private

Definition at line 156 of file MuonMonitor.h.

Referenced by analyze(), and bookHistograms().

const MEbinning MuonMonitor::phi_binning_ {N_PHI, -MAX_PHI, MAX_PHI}
private

Definition at line 123 of file MuonMonitor.h.

Referenced by bookHistograms().

edm::EDGetTokenT<reco::VertexCollection> MuonMonitor::vtxToken_
private

Definition at line 118 of file MuonMonitor.h.

Referenced by analyze().