#include <MuonMETValueMapProducer.h>
Public Member Functions | |
MuonMETValueMapProducer (const edm::ParameterSet &) | |
~MuonMETValueMapProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
reco::MuonMETCorrectionData::Type | decide_correction_type (const reco::Muon &muon, const math::XYZPoint &beamSpotPosition) |
void | determine_deltax_deltay (double &deltax, double &deltay, const reco::Muon &muon, double bfield, const MagneticField &magneticField, edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | produce (edm::Event &, const edm::EventSetup &) override |
bool | should_type_MuonCandidateValuesUsed (const reco::Muon &muon, const math::XYZPoint &beamSpotPosition) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
bool | isAlsoTkMu_ |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magFieldToken_ |
double | maxd0_ |
double | maxEta_ |
double | maxNormChi2_ |
int | minnHits_ |
int | minnValidStaHits_ |
double | minPt_ |
edm::EDGetTokenT< edm::View < reco::Muon > > | muonToken_ |
double | towerEtThreshold_ |
TrackDetectorAssociator | trackAssociator_ |
TrackAssociatorParameters | trackAssociatorParameters_ |
bool | useHO_ |
bool | useRecHits_ |
bool | useTrackAssociatorPositions_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 40 of file MuonMETValueMapProducer.h.
|
explicit |
Definition at line 55 of file MuonMETValueMapProducer.cc.
References beamSpotToken_, edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), magFieldToken_, muonToken_, trackAssociator_, trackAssociatorParameters_, and TrackDetectorAssociator::useDefaultPropagator().
|
inlineoverride |
Definition at line 43 of file MuonMETValueMapProducer.h.
|
private |
Definition at line 139 of file MuonMETValueMapProducer.cc.
References should_type_MuonCandidateValuesUsed().
Referenced by produce().
|
private |
Definition at line 115 of file MuonMETValueMapProducer.cc.
References TrackDetectorAssociator::associate(), TrackDetectorAssociator::getFreeTrajectoryState(), MuonMETAlgo::GetMuDepDeltas(), reco::Muon::globalTrack(), info(), reco::Muon::innerTrack(), reco::Muon::isGEMMuon(), reco::Muon::isGlobalMuon(), reco::Muon::isME0Muon(), reco::Muon::isRPCMuon(), reco::Muon::isTrackerMuon(), reco::Muon::outerTrack(), towerEtThreshold_, trackAssociator_, trackAssociatorParameters_, useHO_, useRecHits_, and useTrackAssociatorPositions_.
Referenced by produce().
|
overrideprivate |
Definition at line 80 of file MuonMETValueMapProducer.cc.
References beam_dqm_sourceclient-live_cfg::beamSpot, beamSpotToken_, decide_correction_type(), determine_deltax_deltay(), edm::Event::getByToken(), edm::EventSetup::getData(), MagneticField::inTesla(), magFieldToken_, HLT_FULL_cff::magneticField, eostools::move(), HLT_FULL_cff::muon, patZpeak::muons, muonToken_, edm::Event::put(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 148 of file MuonMETValueMapProducer.cc.
References reco::LeafCandidate::eta(), reco::Muon::globalTrack(), reco::Muon::innerTrack(), isAlsoTkMu_, reco::Muon::isGlobalMuon(), reco::Muon::isTrackerMuon(), maxd0_, maxEta_, maxNormChi2_, minnHits_, minnValidStaHits_, minPt_, and reco::LeafCandidate::pt().
Referenced by decide_correction_type().
|
private |
Definition at line 73 of file MuonMETValueMapProducer.h.
Referenced by MuonMETValueMapProducer(), and produce().
|
private |
Definition at line 61 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 74 of file MuonMETValueMapProducer.h.
Referenced by MuonMETValueMapProducer(), and produce().
|
private |
Definition at line 63 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 60 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 62 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 64 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 65 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 59 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 72 of file MuonMETValueMapProducer.h.
Referenced by MuonMETValueMapProducer(), and produce().
|
private |
Definition at line 69 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 77 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay(), and MuonMETValueMapProducer().
|
private |
Definition at line 76 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay(), and MuonMETValueMapProducer().
|
private |
Definition at line 68 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 70 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 67 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().