#include <PFTauPrimaryVertexProducerBase.h>
Classes | |
struct | DiscCutPair |
Public Types | |
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 |
Public Member Functions | |
virtual void | beginEvent (const edm::Event &, const edm::EventSetup &) |
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 edm::ParameterSetDescription | getDescriptionsBase () |
Protected Member Functions | |
virtual void | nonTauTracksInPV (const reco::VertexRef &, const std::vector< edm::Ptr< reco::TrackBase > > &, std::vector< const reco::Track * > &)=0 |
Private Attributes | |
int | algorithm_ |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
std::unique_ptr< StringCutObjectSelector< reco::PFTau > > | cut_ |
DiscCutPairVec | discriminators_ |
edm::EDGetTokenT< edm::View< reco::Electron > > | electronToken_ |
edm::EDGetTokenT< edm::View< reco::Muon > > | muonToken_ |
edm::EDGetTokenT< std::vector< reco::PFTau > > | pftauToken_ |
edm::EDGetTokenT< reco::VertexCollection > | pvToken_ |
edm::ParameterSet | qualityCutsPSet_ |
bool | removeElectronTracks_ |
bool | removeMuonTracks_ |
bool | useBeamSpot_ |
bool | useSelectedTaus_ |
std::unique_ptr< reco::tau::RecoTauVertexAssociator > | vertexAssociator_ |
Definition at line 39 of file PFTauPrimaryVertexProducerBase.h.
typedef std::vector<DiscCutPair*> PFTauPrimaryVertexProducerBase::DiscCutPairVec |
Definition at line 51 of file PFTauPrimaryVertexProducerBase.h.
Enumerator | |
---|---|
useInputPV | |
useFrontPV |
Definition at line 41 of file PFTauPrimaryVertexProducerBase.h.
|
explicit |
Definition at line 20 of file PFTauPrimaryVertexProducerBase.cc.
References PFTauPrimaryVertexProducerBase::DiscCutPair::cut_, cut_, PFTauPrimaryVertexProducerBase::DiscCutPair::cutFormula_, pfDeepCMVADiscriminatorsJetTags_cfi::discriminators, discriminators_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), PFTauPrimaryVertexProducerBase::DiscCutPair::inputToken_, muonDTDigis_cfi::pset, qualityCutsPSet_, AlCaHLTBitMon_QueryRunRegistry::string, and vertexAssociator_.
|
override |
Definition at line 53 of file PFTauPrimaryVertexProducerBase.cc.
References getTrack(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNonnull(), edm::refToPtr(), and reco::PFCandidate::trackRef().
|
inlinevirtual |
Reimplemented in PFTauMiniAODPrimaryVertexProducer.
Definition at line 60 of file PFTauPrimaryVertexProducerBase.h.
References nonTauTracksInPV().
Referenced by produce().
|
static |
Definition at line 205 of file PFTauPrimaryVertexProducerBase.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), edm::ParameterSetDescription::addVPSet(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PFTauPrimaryVertexProducer::fillDescriptions(), and PFTauMiniAODPrimaryVertexProducer::fillDescriptions().
|
protectedpure virtual |
Implemented in PFTauMiniAODPrimaryVertexProducer, and PFTauPrimaryVertexProducer.
Referenced by beginEvent(), and produce().
|
override |
Definition at line 72 of file PFTauPrimaryVertexProducerBase.cc.
References algorithm_, ecalDrivenElectronSeedsParameters_cff::beamSpot, beamSpotToken_, beginEvent(), TransientTrackBuilder::build(), cut_, TtSemiLepEvtBuilder_cfi::disc, listHistos::discr, discriminators_, metsig::electron, nano_cff::electrons, electronToken_, edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), getTrack(), edm::Ptr< T >::isNonnull(), edm::HandleBase::isValid(), TransientVertex::isValid(), eostools::move(), extraflags_cff::muons, muonToken_, nonTauTracksInPV(), TriggerAnalyzer::passed, pfDeepBoostedJetPreprocessParams_cfi::pfcand, pftauToken_, TransientVertex::position(), edm::Event::put(), pvToken_, edm::refToPtr(), removeElectronTracks_, removeMuonTracks_, AdaptiveVertexFitter::setWeightThreshold(), metsig::tau, HiIsolationCommonParameters_cff::track, useBeamSpot_, useFrontPV, useInputPV, useSelectedTaus_, AdaptiveVertexFitter::vertex(), vertexAssociator_, electrons_cff::vertices, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 74 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 73 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 81 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase(), and produce().
|
private |
Definition at line 80 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase(), and produce().
|
private |
Definition at line 70 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 71 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 69 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 72 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 75 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase().
|
private |
Definition at line 79 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 78 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 76 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 77 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 82 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase(), and produce().