#include <MuonTCMETValueMapProducer.h>
Public Member Functions | |
MuonTCMETValueMapProducer (const edm::ParameterSet &) | |
~MuonTCMETValueMapProducer () 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 | |
bool | isGoodCaloMuon (const reco::Muon *, const unsigned int) |
bool | isGoodMuon (const reco::Muon *) |
bool | isGoodTrack (const reco::Muon *) |
bool | isValidVertex () |
int | nLayers (const reco::TrackRef) |
void | produce (edm::Event &, const edm::EventSetup &) override |
class TVector3 | propagateTrack (const reco::Muon *) |
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 43 of file MuonTCMETValueMapProducer.h.
|
explicit |
Definition at line 46 of file MuonTCMETValueMapProducer.cc.
References a, reco::TrackBase::algoByName(), hltPFPuppi_cfi::algos, beamSpotToken_, d0cuta_, d0cutb_, edm::ParameterSet::getParameter(), TCMETAlgo::getResponseFunction_fit(), TCMETAlgo::getResponseFunction_mode(), magFieldToken_, maxchi2_, maxchi2_tight_, maxd0cut_, maxeta_, maxpt_, maxpt_eta20_, maxpt_eta25_, maxPtErr_, maxPtErr_tight_, minhits_, minhits_tight_, minpt_, muon_dptrel_, muonchi2_, muond0_, muonDeltaR_, muoneta_, muonGlobal_, muonhits_, muonMinValidStaHits_, muonpt_, muonToken_, muonTracker_, nLayers_, nLayersTight_, response_function, rfType_, AlCaHLTBitMon_QueryRunRegistry::string, tcmetAlgo_, HcalDetIdTransform::transform(), trkAlgos_, trkQuality_, useCaloMuons_, usePvtxd0_, vertexMaxDZ_, vertexNdof_, vertexRho_, vertexToken_, and vertexZ_.
|
override |
Definition at line 112 of file MuonTCMETValueMapProducer.cc.
References tcmetAlgo_.
|
private |
Definition at line 243 of file MuonTCMETValueMapProducer.cc.
References funct::cos(), spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, PbPb_ZMuSkimMuonDPG_cff::deltaR, edm::Ref< C, T, F >::get(), isGoodTrack(), edm::Ref< C, T, F >::isNonnull(), amptDefaultParameters_cff::mu, muonDeltaR_, muons_, and custom_jme_cff::nMuons.
Referenced by produce().
|
private |
Definition at line 193 of file MuonTCMETValueMapProducer.cc.
References beamSpot_, hltPixelTracks_cff::chi2, d0, cutBasedMuonId_MuonPOG_V0_cff::globalTrack, edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), muon_dptrel_, muonchi2_, muond0_, muoneta_, muonGlobal_, muonhits_, muonMinValidStaHits_, muonpt_, muonTracker_, nhits, and reco::BeamSpot::position().
Referenced by produce().
|
private |
Definition at line 278 of file MuonTCMETValueMapProducer.cc.
References beamSpot_, DMR_cfg::cut, d0, d0cuta_, d0cutb_, PVValHelper::dz, spr::find(), hasValidVertex, mps_fire::i, edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), maxchi2_, maxchi2_tight_, maxd0cut_, maxeta_, maxpt_, maxpt_eta20_, maxpt_eta25_, maxPtErr_, maxPtErr_tight_, minhits_, minhits_tight_, nLayers(), nLayers_, nLayersTight_, reco::BeamSpot::position(), funct::pow(), mathSSE::sqrt(), trackAlgos_, trkAlgos_, trkQuality_, vertexMaxDZ_, and vertices_.
Referenced by isGoodCaloMuon(), and produce().
|
private |
Definition at line 434 of file MuonTCMETValueMapProducer.cc.
References funct::pow(), mathSSE::sqrt(), vertexNdof_, vertexRho_, vertexZ_, and vertices_.
Referenced by produce().
|
private |
Definition at line 428 of file MuonTCMETValueMapProducer.cc.
References AlCaHLTBitMon_ParallelJobs::p, and HLT_2022v15_cff::track.
Referenced by isGoodTrack().
|
overrideprivate |
Definition at line 115 of file MuonTCMETValueMapProducer.cc.
References beamSpot_, beamSpotToken_, bField, funct::cos(), edm::helper::Filler< Map >::fill(), edm::EventSetup::getHandle(), hasValidVertex, iEvent, edm::helper::Filler< Map >::insert(), isGoodCaloMuon(), isGoodMuon(), isGoodTrack(), edm::HandleBase::isValid(), isValidVertex(), magFieldToken_, minpt_, eostools::move(), amptDefaultParameters_cff::mu, reco::MuonMETCorrectionData::MuonCandidateValuesUsed, muons_, muonToken_, custom_jme_cff::nMuons, reco::MuonMETCorrectionData::NotUsed, edm::Handle< T >::product(), edm::ESHandle< T >::product(), propagateTrack(), response_function, funct::sin(), reco::MuonMETCorrectionData::TreatedAsPion, useCaloMuons_, usePvtxd0_, vertexHandle_, vertexToken_, and vertices_.
|
private |
Definition at line 377 of file MuonTCMETValueMapProducer.cc.
References alongMomentum, Reference_intrackfit_cff::barrel, bField, Plane::build(), Cylinder::build(), TCMET_cfi::corner, TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), M_PI, Pi, AnalyticalPropagator::propagate(), CosmicsPD_Skims::radius, HLT_2022v15_cff::track, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and TCMET_cfi::zdist.
Referenced by produce().
|
private |
Definition at line 52 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), isGoodTrack(), and produce().
|
private |
Definition at line 56 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 60 of file MuonTCMETValueMapProducer.h.
Referenced by produce(), and propagateTrack().
|
private |
Definition at line 91 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 92 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 69 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and produce().
|
private |
Definition at line 58 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 84 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 88 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 87 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 83 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 82 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 79 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 78 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 86 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 90 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 85 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 89 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 81 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 104 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 100 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 102 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 103 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodCaloMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 99 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 66 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 101 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 97 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 98 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 51 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodCaloMuon(), and produce().
|
private |
Definition at line 55 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 67 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodMuon(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 72 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 73 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 64 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 71 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer().
|
private |
Definition at line 105 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and ~MuonTCMETValueMapProducer().
|
private |
Definition at line 80 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack().
|
private |
Definition at line 95 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 94 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 68 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 93 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 53 of file MuonTCMETValueMapProducer.h.
Referenced by produce().
|
private |
Definition at line 77 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 74 of file MuonTCMETValueMapProducer.h.
Referenced by isValidVertex(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 76 of file MuonTCMETValueMapProducer.h.
Referenced by isValidVertex(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 57 of file MuonTCMETValueMapProducer.h.
Referenced by MuonTCMETValueMapProducer(), and produce().
|
private |
Definition at line 75 of file MuonTCMETValueMapProducer.h.
Referenced by isValidVertex(), and MuonTCMETValueMapProducer().
|
private |
Definition at line 62 of file MuonTCMETValueMapProducer.h.
Referenced by isGoodTrack(), isValidVertex(), and produce().