Definition at line 25 of file MuonMiniAOD.h.
Inizialize parameters for histo binning.
Reimplemented from DQMEDAnalyzer.
Definition at line 76 of file MuonMiniAOD.cc.
92 unsigned int theIndexOfThePrimaryVertex = 999.;
94 LogTrace(
metname) <<
"[EfficiencyAnalyzer] Could not find vertex collection" << std::endl;
95 for (
unsigned int ind = 0; ind <
vertex->size(); ++ind) {
96 if ((*
vertex)[ind].isValid() && !((*vertex)[ind].isFake())) {
97 theIndexOfThePrimaryVertex = ind;
103 if (theIndexOfThePrimaryVertex < 100) {
104 posVtx = ((*vertex)[theIndexOfThePrimaryVertex]).
position();
105 errVtx = ((*vertex)[theIndexOfThePrimaryVertex]).
error();
107 LogInfo(
"RecoMuonValidator") <<
"reco::PrimaryVertex not found, use BeamSpot position instead\n";
113 posVtx =
bs.position();
114 errVtx(0, 0) =
bs.BeamWidthX();
115 errVtx(1, 1) =
bs.BeamWidthY();
116 errVtx(2, 2) =
bs.sigmaZ();
126 if (
PassesCut_A(muon1, thePrimaryVertex, (*monitor)->getName()))
130 if (
PassesCut_B(muon1, thePrimaryVertex, (*monitor)->getName()))
135 (*monitor)->Fill(Pass_A, Pass_B);
References cms::cuda::bs, relativeConstraints::error, iEvent, LogTrace, metname, beam_dqm_sourceclient-live_cfg::monitor, PDWG_BPHSkim_cff::muons, position, bphysicsOniaDQM_cfi::vertex, and PDWG_TauSkim_cff::workingPoints.