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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 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 92 of file PFTauMiniAODPrimaryVertexProducer.cc.
References edm::ConfigurationDescriptions::add(), DEFINE_FWK_MODULE, PFTauPrimaryVertexProducerBase::getDescriptionsBase(), and HLT_2018_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(), SiPixelRawToDigiRegional_cfi::deltaPhi, reco::TrackBase::eta(), muonTagProbeFilters_cff::matched, reco::TrackBase::phi(), reco::TrackBase::pt(), qcdUeDQM_cfi::quality, HLT_2018_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().