#include <MuonMETValueMapProducer.h>
Public Member Functions | |
MuonMETValueMapProducer (const edm::ParameterSet &) | |
~MuonMETValueMapProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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, 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_ |
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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 37 of file MuonMETValueMapProducer.h.
|
explicit |
Definition at line 57 of file MuonMETValueMapProducer.cc.
References beamSpotToken_, edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), muonToken_, trackAssociator_, trackAssociatorParameters_, and TrackDetectorAssociator::useDefaultPropagator().
|
inlineoverride |
Definition at line 40 of file MuonMETValueMapProducer.h.
|
private |
Definition at line 140 of file MuonMETValueMapProducer.cc.
References should_type_MuonCandidateValuesUsed().
Referenced by produce().
|
private |
Definition at line 117 of file MuonMETValueMapProducer.cc.
References TrackDetectorAssociator::associate(), TrackDetectorAssociator::getFreeTrajectoryState(), MuonMETAlgo::GetMuDepDeltas(), iEvent, info(), towerEtThreshold_, trackAssociator_, trackAssociatorParameters_, useHO_, useRecHits_, and useTrackAssociatorPositions_.
Referenced by produce().
|
overrideprivate |
Definition at line 81 of file MuonMETValueMapProducer.cc.
References pwdgSkimBPark_cfi::beamSpot, beamSpotToken_, decide_correction_type(), determine_deltax_deltay(), edm::EventSetup::get(), get, iEvent, HLT_2018_cff::magneticField, eostools::move(), HLT_2018_cff::muon, PDWG_BPHSkim_cff::muons, and muonToken_.
|
private |
Definition at line 149 of file MuonMETValueMapProducer.cc.
References isAlsoTkMu_, maxd0_, maxEta_, maxNormChi2_, minnHits_, minnValidStaHits_, and minPt_.
Referenced by decide_correction_type().
|
private |
Definition at line 69 of file MuonMETValueMapProducer.h.
Referenced by MuonMETValueMapProducer(), and produce().
|
private |
Definition at line 57 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 56 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 58 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 61 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 55 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 68 of file MuonMETValueMapProducer.h.
Referenced by MuonMETValueMapProducer(), and produce().
|
private |
Definition at line 65 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 72 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay(), and MuonMETValueMapProducer().
|
private |
Definition at line 71 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay(), and MuonMETValueMapProducer().
|
private |
Definition at line 64 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 66 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 63 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().