CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EfficiencyAnalyzer Class Reference

#include <EfficiencyAnalyzer.h>

Inheritance diagram for EfficiencyAnalyzer:
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

void analyze (const edm::Event &event, const edm::EventSetup &eventSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 EfficiencyAnalyzer (const edm::ParameterSet &pset)
 
 ~EfficiencyAnalyzer () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
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)
 

Private Attributes

int _numPV
 
bool doPVCheck_
 
int etaBin_
 
double etaMax_
 
double etaMin_
 
MonitorElementh_allProbes_EB_ID_nVtx
 
MonitorElementh_allProbes_EB_ID_pt
 
MonitorElementh_allProbes_EB_pt
 
MonitorElementh_allProbes_EE_ID_nVtx
 
MonitorElementh_allProbes_EE_ID_pt
 
MonitorElementh_allProbes_EE_pt
 
MonitorElementh_allProbes_eta
 
MonitorElementh_allProbes_hp_eta
 
MonitorElementh_allProbes_ID_nVtx
 
MonitorElementh_allProbes_ID_pt
 
MonitorElementh_allProbes_inner_eta
 
MonitorElementh_allProbes_inner_phi
 
MonitorElementh_allProbes_inner_pt
 
MonitorElementh_allProbes_phi
 
MonitorElementh_allProbes_pt
 
MonitorElementh_failProbes_ID_eta
 
MonitorElementh_failProbes_ID_phi
 
MonitorElementh_failProbes_ID_pt
 
MonitorElementh_passProbes_detIsoID_nVtx
 
MonitorElementh_passProbes_detIsoID_pt
 
MonitorElementh_passProbes_EB_detIsoID_nVtx
 
MonitorElementh_passProbes_EB_detIsoID_pt
 
MonitorElementh_passProbes_EB_pfIsodBID_nVtx
 
MonitorElementh_passProbes_EB_pfIsodBID_pt
 
MonitorElementh_passProbes_EB_pfIsoID_nVtx
 
MonitorElementh_passProbes_EB_pfIsoID_pt
 
MonitorElementh_passProbes_EE_detIsoID_nVtx
 
MonitorElementh_passProbes_EE_detIsoID_pt
 
MonitorElementh_passProbes_EE_pfIsodBID_nVtx
 
MonitorElementh_passProbes_EE_pfIsodBID_pt
 
MonitorElementh_passProbes_EE_pfIsoID_nVtx
 
MonitorElementh_passProbes_EE_pfIsoID_pt
 
MonitorElementh_passProbes_ID_EB_pt
 
MonitorElementh_passProbes_ID_EE_pt
 
MonitorElementh_passProbes_ID_eta
 
MonitorElementh_passProbes_ID_hp_eta
 
MonitorElementh_passProbes_ID_inner_eta
 
MonitorElementh_passProbes_ID_inner_phi
 
MonitorElementh_passProbes_ID_inner_pt
 
MonitorElementh_passProbes_ID_phi
 
MonitorElementh_passProbes_ID_pt
 
MonitorElementh_passProbes_pfIsodBID_nVtx
 
MonitorElementh_passProbes_pfIsodBID_pt
 
MonitorElementh_passProbes_pfIsoID_nVtx
 
MonitorElementh_passProbes_pfIsoID_pt
 
std::string ID_
 
std::string metname
 
edm::ParameterSet parameters
 
int phiBin_
 
double phiMax_
 
double phiMin_
 
int ptBin_
 
double ptMax_
 
double ptMin_
 
edm::EDGetTokenT< reco::BeamSpottheBeamSpotLabel_
 
std::string theFolder
 
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
 
MuonServiceProxytheService
 
edm::EDGetTokenT< reco::TrackCollectiontheTrackCollectionLabel_
 
edm::EDGetTokenT< reco::VertexCollectiontheVertexLabel_
 
int vtxBin_
 
double vtxMax_
 
double vtxMin_
 

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
 
- 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 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)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Class EfficiencyAnalyzer

DQM monitoring for dimuon mass

Author: S.Folgueras, A. Calderon

Definition at line 32 of file EfficiencyAnalyzer.h.

Constructor & Destructor Documentation

EfficiencyAnalyzer::EfficiencyAnalyzer ( const edm::ParameterSet pset)

Definition at line 29 of file EfficiencyAnalyzer.cc.

References MuonServiceProxy_cff::MuonServiceProxy.

29  {
30  parameters = pSet;
31 
32  theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));
33 
34  // DATA
35  theMuonCollectionLabel_ = consumes<edm::View<reco::Muon> >(parameters.getParameter<edm::InputTag>("MuonCollection"));
36  theTrackCollectionLabel_ = consumes<reco::TrackCollection>(parameters.getParameter<edm::InputTag>("TrackCollection"));
37  theVertexLabel_ = consumes<reco::VertexCollection>(parameters.getParameter<edm::InputTag>("VertexLabel"));
38  theBeamSpotLabel_ = mayConsume<reco::BeamSpot>(parameters.getParameter<edm::InputTag>("BeamSpotLabel"));
39 
40  //Vertex requirements
41  doPVCheck_ = parameters.getParameter<bool>("doPrimaryVertexCheck");
42 
43  ptBin_ = parameters.getParameter<int>("ptBin");
44  ptMin_ = parameters.getParameter<double>("ptMin");
45  ptMax_ = parameters.getParameter<double>("ptMax");
46 
47  etaBin_ = parameters.getParameter<int>("etaBin");
48  etaMin_ = parameters.getParameter<double>("etaMin");
49  etaMax_ = parameters.getParameter<double>("etaMax");
50 
51  phiBin_ = parameters.getParameter<int>("phiBin");
52  phiMin_ = parameters.getParameter<double>("phiMin");
53  phiMax_ = parameters.getParameter<double>("phiMax");
54 
55  vtxBin_ = parameters.getParameter<int>("vtxBin");
56  vtxMin_ = parameters.getParameter<double>("vtxMin");
57  vtxMax_ = parameters.getParameter<double>("vtxMax");
58 
59  ID_ = parameters.getParameter<string>("ID");
60  theFolder = parameters.getParameter<string>("folder");
61 }
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionLabel_
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
MuonServiceProxy * theService
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
EfficiencyAnalyzer::~EfficiencyAnalyzer ( )
override

Definition at line 63 of file EfficiencyAnalyzer.cc.

63 { delete theService; }
MuonServiceProxy * theService

Member Function Documentation

void EfficiencyAnalyzer::analyze ( const edm::Event event,
const edm::EventSetup eventSetup 
)
override

to be read from output as "generalTracks"

Definition at line 160 of file EfficiencyAnalyzer.cc.

References reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), taus_cff::chargedIso, reco::MuonIsolation::emEt, relativeConstraints::error, edm::Event::getByToken(), reco::MuonIsolation::hadEt, muon::isLooseMuon(), muon::isMediumMuon(), muon::isTightMuon(), edm::HandleBase::isValid(), LogTrace, SiStripPI::max, metname, PDWG_BPHSkim_cff::muons, taus_cff::neutralIso, gedPhotonSequence_cff::photonIso, reco::BeamSpot::position(), position, edm::Handle< T >::product(), muons2muons_cfi::pu, reco::BeamSpot::sigmaZ(), reco::MuonIsolation::sumPt, PDWG_EXOHSCP_cff::tracks, findQualityFiles::v, bphysicsOniaDQM_cfi::vertex, and spclusmultinvestigator_cfi::vertexCollection.

160  {
161  LogTrace(metname) << "[EfficiencyAnalyzer] Analyze the mu in different eta regions";
162  theService->update(iSetup);
163  // ==========================================================
164  // BEGIN READ DATA:
165  // Muon information
167  iEvent.getByToken(theMuonCollectionLabel_, muons);
168 
169  // Tracks information
171  iEvent.getByToken(theTrackCollectionLabel_, tracks);
172 
173  //Vertex information
175  iEvent.getByToken(theVertexLabel_, vertex);
176  // END READ DATA
177  // ==========================================================
178 
179  _numPV = 0;
180  bool bPrimaryVertex = true;
181  if (doPVCheck_) {
182  bPrimaryVertex = false;
183 
184  if (!vertex.isValid()) {
185  LogTrace(metname) << "[EfficiencyAnalyzer] Could not find vertex collection" << std::endl;
186  bPrimaryVertex = false;
187  }
188 
189  if (vertex.isValid()) {
190  const reco::VertexCollection& vertexCollection = *(vertex.product());
191  int vertex_number = vertexCollection.size();
192 
193  reco::VertexCollection::const_iterator v = vertexCollection.begin();
194  for (; v != vertexCollection.end(); ++v) {
195  double vertex_chi2 = v->normalizedChi2();
196  double vertex_ndof = v->ndof();
197  bool fakeVtx = v->isFake();
198  double vertex_Z = v->z();
199 
200  if (!fakeVtx && vertex_number >= 1 && vertex_ndof > 4 && vertex_chi2 < 999 && fabs(vertex_Z) < 24.) {
201  bPrimaryVertex = true;
202  ++_numPV;
203  }
204  }
205  }
206  }
207 
208  // =================================================================================
209  // Look for the Primary Vertex (and use the BeamSpot instead, if you can't find it):
210  reco::Vertex::Point posVtx;
211  reco::Vertex::Error errVtx;
212  unsigned int theIndexOfThePrimaryVertex = 999.;
213  if (vertex.isValid()) {
214  for (unsigned int ind = 0; ind < vertex->size(); ++ind) {
215  if ((*vertex)[ind].isValid() && !((*vertex)[ind].isFake())) {
216  theIndexOfThePrimaryVertex = ind;
217  break;
218  }
219  }
220  }
221 
222  if (theIndexOfThePrimaryVertex < 100) {
223  posVtx = ((*vertex)[theIndexOfThePrimaryVertex]).position();
224  errVtx = ((*vertex)[theIndexOfThePrimaryVertex]).error();
225  } else {
226  LogInfo("RecoMuonValidator") << "reco::PrimaryVertex not found, use BeamSpot position instead\n";
227 
228  edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
229  iEvent.getByToken(theBeamSpotLabel_, recoBeamSpotHandle);
230  reco::BeamSpot bs = *recoBeamSpotHandle;
231 
232  posVtx = bs.position();
233  errVtx(0, 0) = bs.BeamWidthX();
234  errVtx(1, 1) = bs.BeamWidthY();
235  errVtx(2, 2) = bs.sigmaZ();
236  }
237 
238  const reco::Vertex thePrimaryVertex(posVtx, errVtx);
239  // ==========================================================
240 
241  if (!muons.isValid())
242  return;
243 
244  // Loop on muon collection
245  TLorentzVector Mu1, Mu2;
246 
247  bool isMB = false;
248  bool isME = false;
249 
250  for (edm::View<reco::Muon>::const_iterator muon1 = muons->begin(); muon1 != muons->end(); ++muon1) {
251  LogTrace(metname) << "[EfficiencyAnalyzer] loop over first muons" << endl;
252 
253  //--- Define combined isolation
254  reco::MuonIsolation Iso_muon = muon1->isolationR03();
255  float combIso = (Iso_muon.emEt + Iso_muon.hadEt + Iso_muon.sumPt);
256 
257  //--- Is Global Muon
258  if (!muon1->isGlobalMuon())
259  continue;
260 
261  // get the track combinig the information from both the Tracker and the Spectrometer
262  reco::TrackRef recoCombinedGlbTrack1 = muon1->combinedMuon();
263  float muPt1 = recoCombinedGlbTrack1->pt();
264  Mu1.SetPxPyPzE(recoCombinedGlbTrack1->px(),
265  recoCombinedGlbTrack1->py(),
266  recoCombinedGlbTrack1->pz(),
267  recoCombinedGlbTrack1->p());
268 
269  //--- Define if it is a tight muon
270  // Change the Tight muon definition by using the implemented method in: MuonSelectors.cc
271  if (ID_ == "Loose" && !muon::isLooseMuon(*muon1))
272  continue;
273  if (ID_ == "Medium" && !muon::isMediumMuon(*muon1))
274  continue;
275  if (ID_ == "Tight" && !muon::isTightMuon(*muon1, thePrimaryVertex))
276  continue;
277 
278  //-- is isolated muon
279  if (muPt1 <= 15)
280  continue;
281  if (combIso / muPt1 > 0.1)
282  continue;
283 
284  for (edm::View<reco::Muon>::const_iterator muon2 = muons->begin(); muon2 != muons->end(); ++muon2) {
285  LogTrace(metname) << "[EfficiencyAnalyzer] loop over second muon" << endl;
286  if (muon2 == muon1)
287  continue;
288 
289  if (muon2->eta() < 1.479)
290  isMB = true;
291  if (muon2->eta() >= 1.479)
292  isME = true;
293 
294  //--> should we apply track quality cuts???
295  Mu2.SetPxPyPzE(muon2->px(), muon2->py(), muon2->pz(), muon2->p());
296 
297  float Minv = (Mu1 + Mu2).M();
298  if (!muon2->isTrackerMuon())
299  continue;
300  if (muon2->pt() < 5)
301  continue;
302  if ((muon1->charge()) * (muon2->charge()) > 0)
303  continue;
304  if (Minv < 70 || Minv > 110)
305  continue;
306 
307  h_allProbes_pt->Fill(muon2->pt());
308  h_allProbes_eta->Fill(muon2->eta());
309  h_allProbes_phi->Fill(muon2->phi());
310  if (muon2->innerTrack()->extra().isAvailable()) {
311  h_allProbes_inner_pt->Fill(muon2->innerTrack()->innerMomentum().Rho());
312  h_allProbes_inner_eta->Fill(muon2->innerTrack()->innerPosition().Eta());
313  h_allProbes_inner_phi->Fill(muon2->innerTrack()->innerPosition().Phi());
314  }
315  if (isMB)
316  h_allProbes_EB_pt->Fill(muon2->pt());
317  if (isME)
318  h_allProbes_EE_pt->Fill(muon2->pt());
319  if (muon2->pt() > 20)
320  h_allProbes_hp_eta->Fill(muon2->eta());
321 
322  // Probes passing the tight muon criteria
323  if (ID_ == "Loose" && !muon::isLooseMuon(*muon2))
324  continue;
325  if (ID_ == "Medium" && !muon::isMediumMuon(*muon2))
326  continue;
327  if (ID_ == "Tight" && !muon::isTightMuon(*muon2, thePrimaryVertex))
328  continue;
329 
330  h_passProbes_ID_pt->Fill(muon2->pt());
331  h_passProbes_ID_eta->Fill(muon2->eta());
332  h_passProbes_ID_phi->Fill(muon2->phi());
333  if (muon2->innerTrack()->extra().isAvailable()) {
334  h_passProbes_ID_inner_pt->Fill(muon2->innerTrack()->innerMomentum().Rho());
335  h_passProbes_ID_inner_eta->Fill(muon2->innerTrack()->innerPosition().Eta());
336  h_passProbes_ID_inner_phi->Fill(muon2->innerTrack()->innerPosition().Phi());
337  }
338 
339  if (isMB)
340  h_passProbes_ID_EB_pt->Fill(muon2->pt());
341  if (isME)
342  h_passProbes_ID_EE_pt->Fill(muon2->pt());
343  if (muon2->pt() > 20)
344  h_passProbes_ID_hp_eta->Fill(muon2->eta());
345 
346  h_allProbes_ID_pt->Fill(muon2->pt());
347  if (isMB)
348  h_allProbes_EB_ID_pt->Fill(muon2->pt());
349  if (isME)
350  h_allProbes_EE_ID_pt->Fill(muon2->pt());
351 
352  //------- For PU monitoring -------//
353  if (bPrimaryVertex)
355  if (bPrimaryVertex && isMB)
357  if (bPrimaryVertex && isME)
359 
360  //-- Define det relative isolation
361  float tkIso = muon2->isolationR03().sumPt;
362  float emIso = muon2->isolationR03().emEt;
363  float hadIso = muon2->isolationR03().hadEt + muon2->isolationR03().hoEt;
364  float relDetIso = (tkIso + emIso + hadIso) / (muon2->pt());
365 
366  if (relDetIso < 0.05) {
367  h_passProbes_detIsoID_pt->Fill(muon2->pt());
368  if (isMB)
369  h_passProbes_EB_detIsoID_pt->Fill(muon2->pt());
370  if (isME)
371  h_passProbes_EE_detIsoID_pt->Fill(muon2->pt());
372 
373  if (bPrimaryVertex)
375  if (bPrimaryVertex && isMB)
377  if (bPrimaryVertex && isME)
379  }
380 
381  //-- Define PF relative isolation
382  float chargedIso = muon2->pfIsolationR04().sumChargedHadronPt;
383  float neutralIso = muon2->pfIsolationR04().sumNeutralHadronEt;
384  float photonIso = muon2->pfIsolationR04().sumPhotonEt;
385  float relPFIso = (chargedIso + neutralIso + photonIso) / (muon2->pt());
386 
387  float pu = muon2->pfIsolationR04().sumPUPt;
388  float neutralphotonPUCorrected = std::max(0.0, (neutralIso + photonIso - 0.5 * pu));
389  float relPFIsoPUCorrected = (chargedIso + neutralphotonPUCorrected) / (muon2->pt());
390 
391  if (relPFIso < 0.12) {
392  h_passProbes_pfIsoID_pt->Fill(muon2->pt());
393  if (isMB)
394  h_passProbes_EB_pfIsoID_pt->Fill(muon2->pt());
395  if (isME)
396  h_passProbes_EE_pfIsoID_pt->Fill(muon2->pt());
397 
398  if (bPrimaryVertex)
400  if (bPrimaryVertex && isMB)
402  if (bPrimaryVertex && isME)
404  }
405 
406  // Apply deltaBeta PU corrections to the PF isolation eficiencies.
407  if (relPFIsoPUCorrected < 0.12) {
408  h_passProbes_pfIsodBID_pt->Fill(muon2->pt());
409  if (isMB)
410  h_passProbes_EB_pfIsodBID_pt->Fill(muon2->pt());
411  if (isME)
412  h_passProbes_EE_pfIsodBID_pt->Fill(muon2->pt());
413 
414  if (bPrimaryVertex)
416  if (bPrimaryVertex && isMB)
418  if (bPrimaryVertex && isME)
420  }
421  }
422  }
423 }
MonitorElement * h_allProbes_ID_nVtx
float hadEt
hcal sum-Et
Definition: MuonIsolation.h:8
MonitorElement * h_passProbes_EB_pfIsodBID_nVtx
MonitorElement * h_passProbes_EE_pfIsoID_pt
MonitorElement * h_allProbes_inner_eta
MonitorElement * h_allProbes_EB_ID_nVtx
MonitorElement * h_passProbes_ID_pt
float sumPt
sum-pt of tracks
Definition: MuonIsolation.h:6
bool isMediumMuon(const reco::Muon &, bool run2016_hip_mitigation=false)
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionLabel_
MonitorElement * h_allProbes_eta
MonitorElement * h_passProbes_EE_detIsoID_pt
MonitorElement * h_passProbes_ID_eta
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
MonitorElement * h_passProbes_ID_phi
MonitorElement * h_allProbes_EE_ID_nVtx
math::Error< dimension >::type Error
covariance error matrix (3x3)
Definition: Vertex.h:43
MonitorElement * h_allProbes_ID_pt
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
MonitorElement * h_allProbes_inner_phi
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
MonitorElement * h_passProbes_EB_pfIsoID_nVtx
MonitorElement * h_passProbes_pfIsoID_pt
bool isLooseMuon(const reco::Muon &)
MonitorElement * h_allProbes_inner_pt
void Fill(long long x)
MonitorElement * h_allProbes_pt
MonitorElement * h_allProbes_EE_ID_pt
MonitorElement * h_passProbes_pfIsodBID_nVtx
MonitorElement * h_allProbes_EB_pt
int iEvent
Definition: GenABIO.cc:224
MuonServiceProxy * theService
MonitorElement * h_passProbes_EB_pfIsodBID_pt
MonitorElement * h_allProbes_EE_pt
neutralIso
Definition: taus_cff.py:75
float emEt
ecal sum-Et
Definition: MuonIsolation.h:7
MonitorElement * h_passProbes_pfIsodBID_pt
MonitorElement * h_passProbes_ID_EB_pt
math::XYZPoint Point
point in the space
Definition: Vertex.h:39
double BeamWidthX() const
beam width X
Definition: BeamSpot.h:82
MonitorElement * h_passProbes_ID_inner_phi
MonitorElement * h_passProbes_ID_hp_eta
bool isValid() const
Definition: HandleBase.h:70
#define LogTrace(id)
MonitorElement * h_passProbes_pfIsoID_nVtx
MonitorElement * h_passProbes_EE_pfIsodBID_nVtx
MonitorElement * h_passProbes_EE_pfIsoID_nVtx
MonitorElement * h_passProbes_ID_inner_eta
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
MonitorElement * h_passProbes_detIsoID_nVtx
MonitorElement * h_passProbes_EB_detIsoID_pt
MonitorElement * h_passProbes_EB_detIsoID_nVtx
T const * product() const
Definition: Handle.h:69
double sigmaZ() const
sigma z
Definition: BeamSpot.h:76
double BeamWidthY() const
beam width Y
Definition: BeamSpot.h:84
MonitorElement * h_passProbes_EE_pfIsodBID_pt
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
MonitorElement * h_allProbes_EB_ID_pt
static int position[264][3]
Definition: ReadPGInfo.cc:289
MonitorElement * h_passProbes_detIsoID_pt
MonitorElement * h_passProbes_ID_EE_pt
const Point & position() const
position
Definition: BeamSpot.h:59
MonitorElement * h_passProbes_ID_inner_pt
MonitorElement * h_allProbes_hp_eta
MonitorElement * h_passProbes_EE_detIsoID_nVtx
MonitorElement * h_allProbes_phi
bool isTightMuon(const reco::Muon &, const reco::Vertex &)
MonitorElement * h_passProbes_EB_pfIsoID_pt
chargedIso
Definition: taus_cff.py:74
void EfficiencyAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 65 of file EfficiencyAnalyzer.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::cd(), gather_cfg::cout, and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().

67  {
68  ibooker.cd();
69  ibooker.setCurrentFolder(theFolder + ID_);
70 
71  h_allProbes_pt = ibooker.book1D("allProbes_pt", "All Probes Pt", ptBin_, ptMin_, ptMax_);
72  h_allProbes_inner_pt = ibooker.book1D("allProbes_inner_pt", "All Probes inner Pt", ptBin_, ptMin_, ptMax_);
73  h_allProbes_inner_eta = ibooker.book1D("allProbes_inner_eta", "All Probes inner eta", etaBin_, etaMin_, etaMax_);
74  h_allProbes_inner_phi = ibooker.book1D("allProbes_inner_phi", "All Probes inner phi", phiBin_, phiMin_, phiMax_);
75  h_allProbes_EB_pt = ibooker.book1D("allProbes_EB_pt", "Barrel: all Probes Pt", ptBin_, ptMin_, ptMax_);
76  h_allProbes_EE_pt = ibooker.book1D("allProbes_EE_pt", "Endcap: all Probes Pt", ptBin_, ptMin_, ptMax_);
77  h_allProbes_eta = ibooker.book1D("allProbes_eta", "All Probes Eta", etaBin_, etaMin_, etaMax_);
78  h_allProbes_hp_eta = ibooker.book1D("allProbes_hp_eta", "High Pt all Probes Eta", etaBin_, etaMin_, etaMax_);
79  h_allProbes_phi = ibooker.book1D("allProbes_phi", "All Probes Phi", phiBin_, phiMin_, phiMax_);
80 
81  h_allProbes_ID_pt = ibooker.book1D("allProbes_ID_pt", "All ID Probes Pt", ptBin_, ptMin_, ptMax_);
82  h_allProbes_EB_ID_pt = ibooker.book1D("allProbes_EB_ID_pt", "Barrel: all ID Probes Pt", ptBin_, ptMin_, ptMax_);
83  h_allProbes_EE_ID_pt = ibooker.book1D("allProbes_EE_ID_pt", "Endcap: all ID Probes Pt", ptBin_, ptMin_, ptMax_);
84  h_allProbes_ID_nVtx = ibooker.book1D("allProbes_ID_nVtx", "All Probes (ID) nVtx", vtxBin_, vtxMin_, vtxMax_);
86  ibooker.book1D("allProbes_EB_ID_nVtx", "Barrel: All Probes (ID) nVtx", vtxBin_, vtxMin_, vtxMax_);
88  ibooker.book1D("allProbes_EE_ID_nVtx", "Endcap: All Probes (ID) nVtx", vtxBin_, vtxMin_, vtxMax_);
89 
90  h_passProbes_ID_pt = ibooker.book1D("passProbes_ID_pt", "ID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
92  ibooker.book1D("passProbes_ID_inner_pt", "ID Passing Probes inner Pt", ptBin_, ptMin_, ptMax_);
94  ibooker.book1D("passProbes_ID_inner_eta", "ID Passing Probes inner eta", etaBin_, etaMin_, etaMax_);
96  ibooker.book1D("passProbes_ID_inner_phi", "ID Passing Probes inner phi", phiBin_, phiMin_, phiMax_);
97  h_passProbes_ID_EB_pt = ibooker.book1D("passProbes_ID_EB_pt", "Barrel: ID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
98  h_passProbes_ID_EE_pt = ibooker.book1D("passProbes_ID_EE_pt", "Endcap: ID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
99  h_passProbes_ID_eta = ibooker.book1D("passProbes_ID_eta", "ID Passing Probes #eta", etaBin_, etaMin_, etaMax_);
101  ibooker.book1D("passProbes_ID_hp_eta", "High Pt ID Passing Probes #eta", etaBin_, etaMin_, etaMax_);
102  h_passProbes_ID_phi = ibooker.book1D("passProbes_ID_phi", "ID Passing Probes #phi", phiBin_, phiMin_, phiMax_);
103 
105  ibooker.book1D("passProbes_detIsoID_pt", "detIsoID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
107  ibooker.book1D("passProbes_EB_detIsoID_pt", "Barrel: detIsoID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
109  ibooker.book1D("passProbes_EE_detIsoID_pt", "Endcap: detIsoID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
110 
112  ibooker.book1D("passProbes_pfIsoID_pt", "pfIsoID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
114  ibooker.book1D("passProbes_EB_pfIsoID_pt", "Barrel: pfIsoID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
116  ibooker.book1D("passProbes_EE_pfIsoID_pt", "Endcap: pfIsoID Passing Probes Pt", ptBin_, ptMin_, ptMax_);
117 
119  ibooker.book1D("passProbes_detIsoID_nVtx", "detIsoID Passing Probes nVtx (R03)", vtxBin_, vtxMin_, vtxMax_);
121  ibooker.book1D("passProbes_pfIsoID_nVtx", "pfIsoID Passing Probes nVtx (R04)", vtxBin_, vtxMin_, vtxMax_);
122  h_passProbes_EB_detIsoID_nVtx = ibooker.book1D(
123  "passProbes_EB_detIsoID_nVtx", "Barrel: detIsoID Passing Probes nVtx (R03)", vtxBin_, vtxMin_, vtxMax_);
124  h_passProbes_EE_detIsoID_nVtx = ibooker.book1D(
125  "passProbes_EE_detIsoID_nVtx", "Endcap: detIsoID Passing Probes nVtx (R03)", vtxBin_, vtxMin_, vtxMax_);
126  h_passProbes_EB_pfIsoID_nVtx = ibooker.book1D(
127  "passProbes_EB_pfIsoID_nVtx", "Barrel: pfIsoID Passing Probes nVtx (R04)", vtxBin_, vtxMin_, vtxMax_);
128  h_passProbes_EE_pfIsoID_nVtx = ibooker.book1D(
129  "passProbes_EE_pfIsoID_nVtx", "Endcap: pfIsoID Passing Probes nVtx (R04)", vtxBin_, vtxMin_, vtxMax_);
130 
131  // Apply deltaBeta PU corrections to the PF isolation eficiencies.
132 
133  h_passProbes_pfIsodBID_pt = ibooker.book1D(
134  "passProbes_pfIsodBID_pt", "pfIsoID Passing Probes Pt (deltaB PU correction)", ptBin_, ptMin_, ptMax_);
135  h_passProbes_EB_pfIsodBID_pt = ibooker.book1D(
136  "passProbes_EB_pfIsodBID_pt", "Barrel: pfIsoID Passing Probes Pt (deltaB PU correction)", ptBin_, ptMin_, ptMax_);
137  h_passProbes_EE_pfIsodBID_pt = ibooker.book1D(
138  "passProbes_EE_pfIsodBID_pt", "Endcap: pfIsoID Passing Probes Pt (deltaB PU correction)", ptBin_, ptMin_, ptMax_);
139  h_passProbes_pfIsodBID_nVtx = ibooker.book1D("passProbes_pfIsodBID_nVtx",
140  "pfIsoID Passing Probes nVtx (R04) (deltaB PU correction)",
141  vtxBin_,
142  vtxMin_,
143  vtxMax_);
144  h_passProbes_EB_pfIsodBID_nVtx = ibooker.book1D("passProbes_EB_pfIsodBID_nVtx",
145  "Barrel: pfIsoID Passing Probes nVtx (R04) (deltaB PU correction)",
146  vtxBin_,
147  vtxMin_,
148  vtxMax_);
149  h_passProbes_EE_pfIsodBID_nVtx = ibooker.book1D("passProbes_EE_pfIsodBID_nVtx",
150  "Endcap: pfIsoID Passing Probes nVtx (R04) (deltaB PU correction)",
151  vtxBin_,
152  vtxMin_,
153  vtxMax_);
154 
155 #ifdef DEBUG
156  cout << "[EfficiencyAnalyzer] Parameters initialization DONE" << endl;
157 #endif
158 }
MonitorElement * h_allProbes_ID_nVtx
MonitorElement * h_passProbes_EB_pfIsodBID_nVtx
MonitorElement * h_passProbes_EE_pfIsoID_pt
MonitorElement * h_allProbes_inner_eta
MonitorElement * h_allProbes_EB_ID_nVtx
MonitorElement * h_passProbes_ID_pt
MonitorElement * h_allProbes_eta
MonitorElement * h_passProbes_EE_detIsoID_pt
MonitorElement * h_passProbes_ID_eta
MonitorElement * h_passProbes_ID_phi
MonitorElement * h_allProbes_EE_ID_nVtx
MonitorElement * h_allProbes_ID_pt
MonitorElement * h_allProbes_inner_phi
MonitorElement * h_passProbes_EB_pfIsoID_nVtx
MonitorElement * h_passProbes_pfIsoID_pt
MonitorElement * h_allProbes_inner_pt
MonitorElement * h_allProbes_pt
MonitorElement * h_allProbes_EE_ID_pt
MonitorElement * h_passProbes_pfIsodBID_nVtx
MonitorElement * h_allProbes_EB_pt
MonitorElement * h_passProbes_EB_pfIsodBID_pt
MonitorElement * h_allProbes_EE_pt
MonitorElement * h_passProbes_pfIsodBID_pt
MonitorElement * h_passProbes_ID_EB_pt
MonitorElement * h_passProbes_ID_inner_phi
MonitorElement * h_passProbes_ID_hp_eta
MonitorElement * h_passProbes_pfIsoID_nVtx
MonitorElement * h_passProbes_EE_pfIsodBID_nVtx
MonitorElement * h_passProbes_EE_pfIsoID_nVtx
MonitorElement * h_passProbes_ID_inner_eta
MonitorElement * h_passProbes_detIsoID_nVtx
MonitorElement * h_passProbes_EB_detIsoID_pt
MonitorElement * h_passProbes_EB_detIsoID_nVtx
MonitorElement * h_passProbes_EE_pfIsodBID_pt
MonitorElement * h_allProbes_EB_ID_pt
MonitorElement * h_passProbes_detIsoID_pt
MonitorElement * h_passProbes_ID_EE_pt
MonitorElement * h_passProbes_ID_inner_pt
MonitorElement * h_allProbes_hp_eta
MonitorElement * h_passProbes_EE_detIsoID_nVtx
MonitorElement * h_allProbes_phi
MonitorElement * h_passProbes_EB_pfIsoID_pt

Member Data Documentation

int EfficiencyAnalyzer::_numPV
private

Definition at line 121 of file EfficiencyAnalyzer.h.

bool EfficiencyAnalyzer::doPVCheck_
private

Definition at line 128 of file EfficiencyAnalyzer.h.

int EfficiencyAnalyzer::etaBin_
private

Definition at line 52 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::etaMax_
private

Definition at line 60 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::etaMin_
private

Definition at line 59 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_EB_ID_nVtx
private

Definition at line 110 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_EB_ID_pt
private

Definition at line 107 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_EB_pt
private

Definition at line 98 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_EE_ID_nVtx
private

Definition at line 111 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_EE_ID_pt
private

Definition at line 108 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_EE_pt
private

Definition at line 99 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_eta
private

Definition at line 100 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_hp_eta
private

Definition at line 101 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_ID_nVtx
private

Definition at line 109 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_ID_pt
private

Definition at line 103 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_inner_eta
private

Definition at line 105 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_inner_phi
private

Definition at line 106 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_inner_pt
private

Definition at line 104 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_phi
private

Definition at line 102 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_allProbes_pt
private

Definition at line 97 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_failProbes_ID_eta
private

Definition at line 94 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_failProbes_ID_phi
private

Definition at line 95 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_failProbes_ID_pt
private

Definition at line 93 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_detIsoID_nVtx
private

Definition at line 86 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_detIsoID_pt
private

Definition at line 80 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EB_detIsoID_nVtx
private

Definition at line 88 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EB_detIsoID_pt
private

Definition at line 81 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EB_pfIsodBID_nVtx
private

Definition at line 118 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EB_pfIsodBID_pt
private

Definition at line 115 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EB_pfIsoID_nVtx
private

Definition at line 90 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EB_pfIsoID_pt
private

Definition at line 84 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EE_detIsoID_nVtx
private

Definition at line 89 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EE_detIsoID_pt
private

Definition at line 82 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EE_pfIsodBID_nVtx
private

Definition at line 119 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EE_pfIsodBID_pt
private

Definition at line 116 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EE_pfIsoID_nVtx
private

Definition at line 91 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_EE_pfIsoID_pt
private

Definition at line 85 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_EB_pt
private

Definition at line 75 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_EE_pt
private

Definition at line 76 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_eta
private

Definition at line 77 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_hp_eta
private

Definition at line 78 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_inner_eta
private

Definition at line 73 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_inner_phi
private

Definition at line 74 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_inner_pt
private

Definition at line 72 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_phi
private

Definition at line 79 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_ID_pt
private

Definition at line 71 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_pfIsodBID_nVtx
private

Definition at line 117 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_pfIsodBID_pt
private

Definition at line 114 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_pfIsoID_nVtx
private

Definition at line 87 of file EfficiencyAnalyzer.h.

MonitorElement* EfficiencyAnalyzer::h_passProbes_pfIsoID_pt
private

Definition at line 83 of file EfficiencyAnalyzer.h.

std::string EfficiencyAnalyzer::ID_
private

Definition at line 69 of file EfficiencyAnalyzer.h.

std::string EfficiencyAnalyzer::metname
private

Definition at line 49 of file EfficiencyAnalyzer.h.

edm::ParameterSet EfficiencyAnalyzer::parameters
private
int EfficiencyAnalyzer::phiBin_
private

Definition at line 53 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::phiMax_
private

Definition at line 63 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::phiMin_
private

Definition at line 62 of file EfficiencyAnalyzer.h.

int EfficiencyAnalyzer::ptBin_
private

Definition at line 54 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::ptMax_
private

Definition at line 57 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::ptMin_
private

Definition at line 56 of file EfficiencyAnalyzer.h.

edm::EDGetTokenT<reco::BeamSpot> EfficiencyAnalyzer::theBeamSpotLabel_
private

Definition at line 130 of file EfficiencyAnalyzer.h.

std::string EfficiencyAnalyzer::theFolder
private

Definition at line 132 of file EfficiencyAnalyzer.h.

edm::EDGetTokenT<edm::View<reco::Muon> > EfficiencyAnalyzer::theMuonCollectionLabel_
private

Definition at line 124 of file EfficiencyAnalyzer.h.

MuonServiceProxy* EfficiencyAnalyzer::theService
private

Definition at line 46 of file EfficiencyAnalyzer.h.

edm::EDGetTokenT<reco::TrackCollection> EfficiencyAnalyzer::theTrackCollectionLabel_
private

Definition at line 125 of file EfficiencyAnalyzer.h.

edm::EDGetTokenT<reco::VertexCollection> EfficiencyAnalyzer::theVertexLabel_
private

Definition at line 129 of file EfficiencyAnalyzer.h.

int EfficiencyAnalyzer::vtxBin_
private

Definition at line 65 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::vtxMax_
private

Definition at line 67 of file EfficiencyAnalyzer.h.

double EfficiencyAnalyzer::vtxMin_
private

Definition at line 66 of file EfficiencyAnalyzer.h.