#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_, bTagMiniDQM_cff::discriminators, discriminators_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), PFTauPrimaryVertexProducerBase::DiscCutPair::inputToken_, TrackValidation_cff::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(), edm::ParameterSetDescription::addVPSet(), submitPVResolutionJobs::desc, reco::tau::RecoTauQualityCuts::fillDescriptions(), HLT_FULL_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_, beam_dqm_sourceclient-live_cfg::beamSpot, beamSpotToken_, beginEvent(), cut_, listHistos::discr, discriminators_, metsig::electron, HI_PhotonSkim_cff::electrons, electronToken_, edm::Event::getByToken(), edm::EventSetup::getData(), edm::Event::getRefBeforePut(), getTrack(), edm::Ptr< T >::isNonnull(), edm::HandleBase::isValid(), TransientVertex::isValid(), eostools::move(), HLT_FULL_cff::muon, patZpeak::muons, muonToken_, nonTauTracksInPV(), pfTaus_cff::pfTaus, pftauToken_, TransientVertex::position(), edm::Event::put(), pvToken_, edm::refToPtr(), removeElectronTracks_, removeMuonTracks_, AdaptiveVertexFitter::setWeightThreshold(), metsig::tau, HLT_FULL_cff::track, transTrackBuilderToken_, useBeamSpot_, useFrontPV, useInputPV, useSelectedTaus_, AdaptiveVertexFitter::vertex(), vertexAssociator_, beam_dqm_sourceclient-live_cfg::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().