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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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<> | |
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 |
MiniAOD implementation of the PFTauPrimaryVertexProducer plugin.
Definition at line 7 of file PFTauMiniAODPrimaryVertexProducer.cc.
|
explicit |
Definition at line 32 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(), DEFINE_FWK_MODULE, and PFTauPrimaryVertexProducerBase::getDescriptionsBase().
|
overrideprotectedvirtual |
Implements PFTauPrimaryVertexProducerBase.
Definition at line 46 of file PFTauMiniAODPrimaryVertexProducer.cc.
References edm::HandleBase::isValid(), edm::Ref< C, T, F >::key(), lostCands_, nonTauTracksInPVFromPackedCands(), and packedCands_.
|
private |
Definition at line 61 of file PFTauMiniAODPrimaryVertexProducer.cc.
References funct::abs(), hiPixelPairStep_cff::deltaPhi, reco::TrackBase::eta(), electrons_cff::matched, reco::TrackBase::phi(), reco::TrackBase::pt(), jets_cff::quality, HiIsolationCommonParameters_cff::track, pat::PackedCandidate::UsedInFitLoose, and pat::PackedCandidate::UsedInFitTight.
Referenced by nonTauTracksInPV().
|
private |
Definition at line 28 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent(), and nonTauTracksInPV().
|
private |
Definition at line 27 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent().
|
private |
Definition at line 28 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent(), and nonTauTracksInPV().
|
private |
Definition at line 27 of file PFTauMiniAODPrimaryVertexProducer.cc.
Referenced by beginEvent().