#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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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.
|
explicit |
Definition at line 20 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 56 of file PFTauPrimaryVertexProducerBase.cc.
|
inlinevirtual |
Reimplemented in PFTauMiniAODPrimaryVertexProducer.
Definition at line 60 of file PFTauPrimaryVertexProducerBase.h.
Referenced by produce().
|
static |
Definition at line 220 of file PFTauPrimaryVertexProducerBase.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), edm::ParameterSetDescription::addVPSet(), HLT_2018_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 78 of file PFTauPrimaryVertexProducerBase.cc.
References algorithm_, pwdgSkimBPark_cfi::beamSpot, beamSpotToken_, beginEvent(), TransientTrackBuilder::build(), cut_, TtSemiLepEvtBuilder_cfi::disc, listHistos::discr, discriminators_, metsig::electron, pwdgSkimBPark_cfi::electrons, electronToken_, edm::EventSetup::get(), get, getTrack(), iEvent, edm::Ptr< T >::isNonnull(), edm::HandleBase::isValid(), eostools::move(), PDWG_BPHSkim_cff::muons, muonToken_, nonTauTracksInPV(), TriggerAnalyzer::passed, pfDeepBoostedJetPreprocessParams_cfi::pfcand, pftauToken_, pvToken_, edm::refToPtr(), removeElectronTracks_, removeMuonTracks_, AdaptiveVertexFitter::setWeightThreshold(), recoTrackAccumulator_cfi::signalTracks, metsig::tau, HLT_2018_cff::track, useBeamSpot_, useFrontPV, useInputPV, useSelectedTaus_, AdaptiveVertexFitter::vertex(), vertexAssociator_, and pwdgSkimBPark_cfi::vertices.
|
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().