#include <MuonProducer.h>
Public Types | |
typedef std::vector< edm::InputTag > | InputTags |
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 |
Public Member Functions | |
MuonProducer (const edm::ParameterSet &) | |
Constructor. More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
reconstruct muons More... | |
~MuonProducer () override | |
Destructor. More... | |
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 | |
template<typename TYPE > | |
void | fillMuonMap (edm::Event &event, const edm::OrphanHandle< reco::MuonCollection > &muonHandle, const std::vector< TYPE > &muonExtra, const std::string &label) |
std::string | labelOrInstance (const edm::InputTag &) const |
void | setAlias (std::string alias) |
See header file.
Producer meant for the Post PF reconstruction.
This class takes the muon collection produced before the PF is run (muons1Step) and the information calculated after that the entire event has been reconstructed. The collections produced here are meant to be used for the final analysis (or as PAT input). The previous muon collection is meant to be transient.
Definition at line 48 of file MuonProducer.h.
typedef std::vector<edm::InputTag> MuonProducer::InputTags |
Definition at line 59 of file MuonProducer.h.
MuonProducer::MuonProducer | ( | const edm::ParameterSet & | pSet | ) |
Constructor.
Definition at line 29 of file MuonProducer.cc.
References computeStandardSelectors_, fastLabelling_, fillCosmicsIdMap_, fillDetectorBasedIsolation_, fillPFIsolation_, fillPFMomentum_, fillSelectors_, fillShoweringInfo_, fillTimingInfo_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ProducerED_cfi::InputTag, edm::InputTag::instance(), dqmiolumiharvest::j, label, edm::InputTag::label(), labelOrInstance(), genParticles_cff::map, pfIsoMapNames, pfIsoMapTokens_, setAlias(), AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, theAlias, theCosmicCompMapName, theCosmicCompMapToken_, theCosmicIdMapToken_, theEcalDepositName, theEcalDepositToken_, theHcalDepositName, theHcalDepositToken_, theHoDepositName, theHoDepositToken_, theJetDepositName, theJetDepositToken_, theMuonsCollectionLabel, theMuonsCollectionToken_, theMuToMuMapName, thePFCandLabel, thePFCandToken_, thePFIsoHelper, theSelectorMapNames, theSelectorMapTokens_, theShowerMapName, theShowerMapToken_, theTrackDepositName, theTrackDepositToken_, timeMapCmbToken_, timeMapCSCToken_, timeMapDTToken_, and vertexes_.
|
override |
Destructor.
Definition at line 174 of file MuonProducer.cc.
References fillPFIsolation_, and thePFIsoHelper.
|
private |
Definition at line 483 of file MuonProducer.cc.
References trigObjTnPSource_cfi::filler, label, and eostools::move().
|
private |
Definition at line 498 of file MuonProducer.cc.
References fastLabelling_, input, edm::InputTag::label(), and theMuonsCollectionLabel.
Referenced by MuonProducer(), and produce().
|
override |
reconstruct muons
Definition at line 180 of file MuonProducer.cc.
References funct::abs(), MuPFIsoHelper::beginEvent(), computeStandardSelectors_, dout, MuPFIsoHelper::embedPFIsolation(), edmPickEvents::event, fillCosmicsIdMap_, fillDetectorBasedIsolation_, fillPFIsolation_, fillPFMomentum_, fillSelectors_, fillShoweringInfo_, fillTimingInfo_, mps_fire::i, edm::Ref< C, T, F >::id(), calomuons_cfi::inputMuons, edm::InputTag::instance(), reco::Muon::isGlobalMuon(), reco::Muon::isPFMuon(), reco::Muon::isStandAloneMuon(), reco::Muon::isTrackerMuon(), dqmiolumiharvest::j, edm::Ref< C, T, F >::key(), labelOrInstance(), muon::makeSelectorBitset(), genParticles_cff::map, metname, eostools::move(), custom_jme_cff::nMuons, reco::LeafCandidate::p4(), zmumugammaAnalyzer_cfi::pfCandidates, pfIsoMapNames, pfIsoMapTokens_, reco::Muon::pfP4(), HLT_2023v12_cff::primaryVertices, alignCSCRings::s, reco::Muon::setBestTrack(), reco::LeafCandidate::setCharge(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setPdgId(), reco::Muon::setPFP4(), reco::Muon::setSelectors(), AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, theCosmicCompMapName, theCosmicCompMapToken_, theCosmicIdMapToken_, theEcalDepositName, theEcalDepositToken_, theHcalDepositName, theHcalDepositToken_, theHoDepositName, theHoDepositToken_, theJetDepositName, theJetDepositToken_, theMuonsCollectionToken_, theMuToMuMapName, thePFCandToken_, thePFIsoHelper, theSelectorMapNames, theSelectorMapTokens_, theShowerMapName, theShowerMapToken_, theTrackDepositName, theTrackDepositToken_, timeMapCmbToken_, timeMapCSCToken_, timeMapDTToken_, bphysicsOniaDQM_cfi::vertex, and vertexes_.
|
inlineprivate |
Definition at line 71 of file MuonProducer.h.
References SiStripOfflineCRack_cfg::alias, and theAlias.
Referenced by MuonProducer().
|
private |
Definition at line 97 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 79 of file MuonProducer.h.
|
private |
Definition at line 80 of file MuonProducer.h.
Referenced by labelOrInstance(), and MuonProducer().
|
private |
Definition at line 91 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 94 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 88 of file MuonProducer.h.
|
private |
Definition at line 93 of file MuonProducer.h.
Referenced by MuonProducer(), produce(), and ~MuonProducer().
|
private |
Definition at line 92 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 90 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 95 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 96 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 128 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 129 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 69 of file MuonProducer.h.
Referenced by MuonProducer(), and setAlias().
|
private |
Definition at line 117 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 119 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 118 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 100 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 106 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 101 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 107 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 102 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 108 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 103 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 109 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 82 of file MuonProducer.h.
Referenced by labelOrInstance(), and MuonProducer().
|
private |
Definition at line 83 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 120 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 85 of file MuonProducer.h.
Referenced by MuonProducer().
|
private |
Definition at line 86 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 122 of file MuonProducer.h.
Referenced by MuonProducer(), produce(), and ~MuonProducer().
|
private |
Definition at line 111 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 112 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 114 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 115 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 99 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 105 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 124 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 126 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 125 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 131 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().
|
private |
Definition at line 89 of file MuonProducer.h.