#include <DiMuonMassBiasMonitor.h>
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< DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Private Attributes | |
const edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
const std::string | decayMotherName_ |
edm::ParameterSet | DiMuMassConfiguration_ |
const double | distanceScaleFactor_ |
DecayHists | histosZmm |
const std::string | MEFolderName_ |
const edm::EDGetTokenT< reco::TrackCollection > | tracksToken_ |
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > | ttbESToken_ |
const edm::EDGetTokenT< reco::VertexCollection > | vertexToken_ |
DiLepPlotHelp::PlotsVsKinematics | ZMassPlots = DiLepPlotHelp::PlotsVsKinematics(DiLepPlotHelp::MM) |
DQM/TrackerMonitorTrack/src/DiMuonMassBiasMonitor.cc Monitoring DiMuon mass bias
Definition at line 69 of file DiMuonMassBiasMonitor.h.
|
explicit |
Definition at line 29 of file DiMuonMassBiasMonitor.cc.
|
overridedefault |
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 57 of file DiMuonMassBiasMonitor.cc.
References beamSpotToken_, cms::cuda::bs, DecayHists::decayComponents, fillComponentHistograms(), fillDecayHistograms(), DiLepPlotHelp::PlotsVsKinematics::fillPlots(), histosZmm, iEvent, mumass2, mathSSE::sqrt(), FrontierCondition_GT_autoExpress_cfi::t0, RandomServiceHelper::t1, tracksToken_, vertexToken_, AlignmentTracksFromVertexSelector_cfi::vertices, and ZMassPlots.
void DiMuonMassBiasMonitor::bookComponentHists | ( | DQMStore::IBooker & | ibook, |
DecayHists & | histos, | ||
TString const & | componentName, | ||
float | distanceScaleFactor = 1. |
||
) | const |
Definition at line 128 of file DiMuonMassBiasMonitor.cc.
References dqm::implementation::IBooker::book1D(), AlCaHLTBitMon_QueryRunRegistry::comp, DiMuonMassBiasMonitor_cfi::distanceScaleFactor, combine::histos, and M_PI.
Referenced by bookDecayComponentHistograms().
void DiMuonMassBiasMonitor::bookDecayComponentHistograms | ( | DQMStore::IBooker & | ibook, |
DecayHists & | histos | ||
) | const |
Definition at line 123 of file DiMuonMassBiasMonitor.cc.
References bookComponentHists(), and combine::histos.
Referenced by bookHistograms().
void DiMuonMassBiasMonitor::bookDecayHists | ( | DQMStore::IBooker & | ibook, |
DecayHists & | decayHists, | ||
std::string const & | name, | ||
std::string const & | products, | ||
int | nMassBins, | ||
float | massMin, | ||
float | massMax, | ||
float | distanceScaleFactor = 1. |
||
) | const |
Definition at line 156 of file DiMuonMassBiasMonitor.cc.
References dqm::implementation::IBooker::book1D(), DiMuonMassBiasMonitor_cfi::distanceScaleFactor, DecayHists::h_ct, DecayHists::h_displ2D, DecayHists::h_eta, DecayHists::h_mass, DecayHists::h_phi, DecayHists::h_pointing, DecayHists::h_pt, DecayHists::h_sign2D, DecayHists::h_vertNormChi2, DecayHists::h_vertProb, B2GTnPMonitor_cfi::histTitle, M_PI, vertexSelectForHeavyFlavorDQM_cfi::massMax, vertexSelectForHeavyFlavorDQM_cfi::massMin, Skims_PA_cff::name, edm::es::products(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bookHistograms().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 39 of file DiMuonMassBiasMonitor.cc.
References bookDecayComponentHistograms(), bookDecayHists(), DiLepPlotHelp::PlotsVsKinematics::bookFromPSet(), decayMotherName_, DiMuMassConfiguration_, distanceScaleFactor_, edm::ParameterSet::getParameter(), histosZmm, MEFolderName_, dqm::implementation::NavigatorBase::setCurrentFolder(), and ZMassPlots.
void DiMuonMassBiasMonitor::fillComponentHistograms | ( | ComponentHists const & | histos, |
const reco::Track *const & | component, | ||
reco::BeamSpot const * | bs, | ||
reco::Vertex const * | pv | ||
) | const |
Definition at line 256 of file DiMuonMassBiasMonitor.cc.
References cms::cuda::bs, reco::TrackBase::chi2(), reco::TrackBase::dxy(), reco::TrackBase::dxyError(), reco::TrackBase::dz(), reco::TrackBase::dzError(), reco::TrackBase::eta(), combine::histos, reco::TrackBase::ndof(), reco::TrackBase::phi(), reco::TrackBase::pt(), and SiPixelPI::zero.
Referenced by analyze().
reco::Vertex const * DiMuonMassBiasMonitor::fillDecayHistograms | ( | DecayHists const & | histos, |
std::vector< const reco::Track *> const & | tracks, | ||
const reco::VertexCollection *const & | pvs, | ||
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 180 of file DiMuonMassBiasMonitor.cc.
References funct::abs(), TransientTrackBuilder::build(), ChiSquaredProbability(), VertexDistanceXY::distance(), edm::EventSetup::getData(), combine::histos, EgHLTOffHistBins_cfi::mass, mumass2, FSQDQM_cfi::pvs, Measurement1D::significance(), mathSSE::sqrt(), HLT_2024v10_cff::track, DiMuonV_cfg::tracks, ttbESToken_, Measurement1D::value(), HltBtagValidation_cff::Vertex, KalmanVertexFitter::vertex(), and reco::Vertex::z().
Referenced by analyze().
|
static |
Definition at line 283 of file DiMuonMassBiasMonitor.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 111 of file DiMuonMassBiasMonitor.h.
Referenced by analyze().
|
private |
Definition at line 114 of file DiMuonMassBiasMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 116 of file DiMuonMassBiasMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 115 of file DiMuonMassBiasMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 121 of file DiMuonMassBiasMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 113 of file DiMuonMassBiasMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 109 of file DiMuonMassBiasMonitor.h.
Referenced by analyze().
|
private |
Definition at line 108 of file DiMuonMassBiasMonitor.h.
Referenced by fillDecayHistograms().
|
private |
Definition at line 110 of file DiMuonMassBiasMonitor.h.
Referenced by analyze().
|
private |
Definition at line 119 of file DiMuonMassBiasMonitor.h.
Referenced by analyze(), and bookHistograms().