MiniAOD implementation of the PFTauPrimaryVertexProducer plugin. More...
Public Member Functions | |
void | beginEvent (const edm::Event &, const edm::EventSetup &) override |
PFTauMiniAODPrimaryVertexProducer (const edm::ParameterSet &iConfig) | |
~PFTauMiniAODPrimaryVertexProducer () override | |
Public Member Functions inherited from PFTauPrimaryVertexProducerBase | |
PFTauPrimaryVertexProducerBase (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PFTauPrimaryVertexProducerBase () 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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from PFTauPrimaryVertexProducerBase | |
static edm::ParameterSetDescription | getDescriptionsBase () |
Protected Member Functions | |
void | nonTauTracksInPV (const reco::VertexRef &, const std::vector< edm::Ptr< reco::TrackBase > > &, std::vector< const reco::Track * > &) override |
Private Member Functions | |
void | nonTauTracksInPVFromPackedCands (const size_t &, const pat::PackedCandidateCollection &, const std::vector< edm::Ptr< reco::TrackBase > > &, std::vector< const reco::Track * > &) |
Additional Inherited Members | |
Public Types inherited from PFTauPrimaryVertexProducerBase | |
enum | Alg { useInputPV = 0, useFrontPV } |
typedef std::vector < DiscCutPair * > | DiscCutPairVec |
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 |
MiniAOD implementation of the PFTauPrimaryVertexProducer plugin.
Definition at line 7 of file PFTauMiniAODPrimaryVertexProducer.cc.
|
explicit |
Definition at line 30 of file PFTauMiniAODPrimaryVertexProducer.cc.
|
override |
Definition at line 37 of file PFTauMiniAODPrimaryVertexProducer.cc.
|
overridevirtual |
Reimplemented from PFTauPrimaryVertexProducerBase.
Definition at line 39 of file PFTauMiniAODPrimaryVertexProducer.cc.
References edm::Event::getByToken(), lostCands_, lostCandsToken_, packedCands_, and packedCandsToken_.
|
static |
Definition at line 95 of file PFTauMiniAODPrimaryVertexProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, PFTauPrimaryVertexProducerBase::getDescriptionsBase(), and HLT_FULL_cff::InputTag.
|
overrideprotectedvirtual |
Implements PFTauPrimaryVertexProducerBase.
Definition at line 45 of file PFTauMiniAODPrimaryVertexProducer.cc.
References edm::HandleBase::isValid(), edm::Ref< C, T, F >::key(), lostCands_, nonTauTracksInPVFromPackedCands(), and packedCands_.
|
private |
Definition at line 59 of file PFTauMiniAODPrimaryVertexProducer.cc.
References funct::abs(), srCondWrite_cfg::deltaPhi, reco::TrackBase::eta(), reco::TrackBase::phi(), reco::TrackBase::pt(), quality, HLT_FULL_cff::track, pat::PackedCandidate::UsedInFitLoose, and pat::PackedCandidate::UsedInFitTight.
Referenced by nonTauTracksInPV().
|
private |
Definition at line 27 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent(), and nonTauTracksInPV().
|
private |
Definition at line 26 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent().
|
private |
Definition at line 27 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent(), and nonTauTracksInPV().
|
private |
Definition at line 26 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent().