Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamLineToken_ |
bool | computeMiniIso_ |
bool | fixDxySign_ |
std::vector< double > | miniIsoParams_ [2] |
edm::EDGetTokenT < pat::PackedCandidateCollection > | pcToken_ |
bool | recomputeMuonBasicSelectors_ |
edm::EDGetTokenT< std::vector < T > > | src_ |
edm::EDGetTokenT< std::vector < reco::Vertex > > | vertices_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 19 of file LeptonUpdater.cc.
|
inlineexplicit |
Definition at line 21 of file LeptonUpdater.cc.
References pat::LeptonUpdater< T >::computeMiniIso_, edm::ParameterSet::getParameter(), pat::LeptonUpdater< T >::pcToken_, pat::LeptonUpdater< T >::readMiniIsoParams(), and pat::LeptonUpdater< T >::recomputeMuonBasicSelectors_.
|
inlineoverride |
Definition at line 38 of file LeptonUpdater.cc.
|
inlinestatic |
Definition at line 42 of file LeptonUpdater.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
inline |
Definition at line 73 of file LeptonUpdater.cc.
References pat::LeptonUpdater< T >::miniIsoParams_.
const std::vector< double > & pat::LeptonUpdater< pat::Electron >::miniIsoParams | ( | const pat::Electron & | lep | ) | const |
Definition at line 113 of file LeptonUpdater.cc.
References reco::GsfElectron::isEE().
|
overridevirtual |
Implements edm::global::EDProducerBase.
Definition at line 132 of file LeptonUpdater.cc.
References funct::abs(), beam_dqm_sourceclient-live_cfg::beamSpot, edm::Event::getByToken(), pat::getMiniPFIsolation(), mps_fire::i, edm::HandleBase::isValid(), eostools::move(), dqmiodumpmetadata::n, submitPVResolutionJobs::out, submitPVValidationJobs::params, reco::Vertex::position(), edm::Handle< T >::product(), edm::Event::put(), MetAnalyzer::pv(), edm::Event::run(), alcazmumu_cfi::src, and beam_dqm_sourceclient-live_cfg::vertices.
|
inline |
Definition at line 68 of file LeptonUpdater.cc.
References edm::ParameterSet::getParameter(), pat::LeptonUpdater< T >::miniIsoParams_, and findQualityFiles::size.
Referenced by pat::LeptonUpdater< T >::LeptonUpdater().
void pat::LeptonUpdater< pat::Electron >::readMiniIsoParams | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 104 of file LeptonUpdater.cc.
References edm::ParameterSet::getParameter(), and findQualityFiles::size.
void pat::LeptonUpdater< T >::recomputeMuonBasicSelectors | ( | T & | lep, |
const reco::Vertex & | pv, | ||
const bool | do_hip_mitigation_2016 | ||
) | const |
Definition at line 118 of file LeptonUpdater.cc.
void pat::LeptonUpdater< pat::Muon >::recomputeMuonBasicSelectors | ( | pat::Muon & | lep, |
const reco::Vertex & | pv, | ||
const bool | do_hip_mitigation_2016 | ||
) | const |
Definition at line 123 of file LeptonUpdater.cc.
References muon::makeSelectorBitset(), and reco::Muon::setSelectors().
|
inline |
Definition at line 66 of file LeptonUpdater.cc.
void pat::LeptonUpdater< pat::Electron >::setDZ | ( | pat::Electron & | anElectron, |
const reco::Vertex & | pv | ||
) | const |
Definition at line 92 of file LeptonUpdater.cc.
References pat::Electron::gsfTrack(), reco::Vertex::position(), pat::Electron::PVDZ, pat::Electron::setDB(), HLT_FULL_cff::track, and reco::Vertex::zError().
void pat::LeptonUpdater< pat::Muon >::setDZ | ( | pat::Muon & | aMuon, |
const reco::Vertex & | pv | ||
) | const |
Definition at line 98 of file LeptonUpdater.cc.
References pat::Muon::muonBestTrack(), reco::Vertex::position(), pat::Muon::PVDZ, pat::Muon::setDB(), HLT_FULL_cff::track, and reco::Vertex::zError().
|
private |
Definition at line 81 of file LeptonUpdater.cc.
|
private |
Definition at line 82 of file LeptonUpdater.cc.
Referenced by pat::LeptonUpdater< T >::LeptonUpdater().
|
private |
Definition at line 83 of file LeptonUpdater.cc.
|
private |
Definition at line 85 of file LeptonUpdater.cc.
Referenced by pat::LeptonUpdater< T >::miniIsoParams(), and pat::LeptonUpdater< T >::readMiniIsoParams().
|
private |
Definition at line 86 of file LeptonUpdater.cc.
Referenced by pat::LeptonUpdater< T >::LeptonUpdater().
|
private |
Definition at line 84 of file LeptonUpdater.cc.
Referenced by pat::LeptonUpdater< T >::LeptonUpdater().
|
private |
Definition at line 79 of file LeptonUpdater.cc.
|
private |
Definition at line 80 of file LeptonUpdater.cc.