#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<> | |
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 |
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 | |
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 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_ |
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > | transTrackBuilderToken_ |
bool | useBeamSpot_ |
bool | useSelectedTaus_ |
std::unique_ptr< reco::tau::RecoTauVertexAssociator > | vertexAssociator_ |
Definition at line 43 of file PFTauPrimaryVertexProducerBase.h.
typedef std::vector<DiscCutPair*> PFTauPrimaryVertexProducerBase::DiscCutPairVec |
Definition at line 55 of file PFTauPrimaryVertexProducerBase.h.
Enumerator | |
---|---|
useInputPV | |
useFrontPV |
Definition at line 45 of file PFTauPrimaryVertexProducerBase.h.
|
explicit |
Definition at line 17 of file PFTauPrimaryVertexProducerBase.cc.
References PFTauPrimaryVertexProducerBase::DiscCutPair::cut_, cut_, PFTauPrimaryVertexProducerBase::DiscCutPair::cutFormula_, PDWG_TauSkim_cff::discriminators, discriminators_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), PFTauPrimaryVertexProducerBase::DiscCutPair::inputToken_, muonDTDigis_cfi::pset, qualityCutsPSet_, AlCaHLTBitMon_QueryRunRegistry::string, and vertexAssociator_.
|
override |
Definition at line 54 of file PFTauPrimaryVertexProducerBase.cc.
|
inlinevirtual |
Reimplemented in PFTauMiniAODPrimaryVertexProducer.
Definition at line 64 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
static |
Definition at line 225 of file PFTauPrimaryVertexProducerBase.cc.
References edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, reco::tau::RecoTauQualityCuts::fillDescriptions(), HLT_2022v14_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PFTauPrimaryVertexProducer::fillDescriptions(), and PFTauMiniAODPrimaryVertexProducer::fillDescriptions().
|
protectedpure virtual |
Implemented in PFTauMiniAODPrimaryVertexProducer, and PFTauPrimaryVertexProducer.
Referenced by produce().
|
override |
Definition at line 76 of file PFTauPrimaryVertexProducerBase.cc.
References algorithm_, pwdgSkimBPark_cfi::beamSpot, beamSpotToken_, beginEvent(), cut_, TtSemiLepEvtBuilder_cfi::disc, listHistos::discr, discriminators_, HPSPFTauProducerPuppi_cfi::electron, pwdgSkimBPark_cfi::electrons, electronToken_, edm::EventSetup::getData(), getTrack(), iEvent, edm::Ptr< T >::isNonnull(), edm::HandleBase::isValid(), TransientVertex::isValid(), eostools::move(), PDWG_BPHSkim_cff::muons, muonToken_, nonTauTracksInPV(), TriggerAnalyzer::passed, pfDeepBoostedJetPreprocessParams_cfi::pfcand, pftauToken_, TransientVertex::position(), pvToken_, edm::refToPtr(), removeElectronTracks_, removeMuonTracks_, AdaptiveVertexFitter::setWeightThreshold(), recoTrackAccumulator_cfi::signalTracks, metsig::tau, HLT_2022v14_cff::track, transTrackBuilderToken_, useBeamSpot_, useFrontPV, useInputPV, useSelectedTaus_, AdaptiveVertexFitter::vertex(), vertexAssociator_, AlignmentTracksFromVertexSelector_cfi::vertices, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 79 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 77 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 86 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase(), and produce().
|
private |
Definition at line 85 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase(), and produce().
|
private |
Definition at line 74 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 75 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 73 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 76 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 80 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase().
|
private |
Definition at line 84 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 83 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 78 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 81 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 82 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
private |
Definition at line 87 of file PFTauPrimaryVertexProducerBase.h.
Referenced by PFTauPrimaryVertexProducerBase(), and produce().