Identifies pile-up candidates from a collection of PFCandidates, and produces the corresponding collection of PileUpCandidates. More...
Public Types | |
typedef edm::Association < reco::VertexCollection > | CandToVertex |
typedef std::vector < edm::FwdPtr < reco::PFCandidate > > | PFCollection |
typedef std::vector < reco::PFCandidate > | PFCollectionByValue |
typedef edm::View < reco::PFCandidate > | PFView |
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 | |
PFPileUp (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PFPileUp () 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 |
Private Attributes | |
bool | checkClosestZVertex_ |
use the closest z vertex if a track is not in a vertex More... | |
bool | enable_ |
enable PFPileUp selection More... | |
bool | fUseVertexAssociation |
PFPileUpAlgo | pileUpAlgo_ |
edm::EDGetTokenT< PFCollection > | tokenPFCandidates_ |
PFCandidates to be analyzed. More... | |
edm::EDGetTokenT< PFView > | tokenPFCandidatesView_ |
fall-back token More... | |
edm::EDGetTokenT< CandToVertex > | tokenVertexAssociation_ |
edm::EDGetTokenT < edm::ValueMap< int > > | tokenVertexAssociationQuality_ |
edm::EDGetTokenT < reco::VertexCollection > | tokenVertices_ |
vertices More... | |
bool | verbose_ |
verbose ? More... | |
int | vertexAssociationQuality_ |
Identifies pile-up candidates from a collection of PFCandidates, and produces the corresponding collection of PileUpCandidates.
Definition at line 42 of file PFPileUp.cc.
Definition at line 47 of file PFPileUp.cc.
typedef std::vector<edm::FwdPtr<reco::PFCandidate> > PFPileUp::PFCollection |
Definition at line 44 of file PFPileUp.cc.
typedef std::vector<reco::PFCandidate> PFPileUp::PFCollectionByValue |
Definition at line 46 of file PFPileUp.cc.
typedef edm::View<reco::PFCandidate> PFPileUp::PFView |
Definition at line 45 of file PFPileUp.cc.
|
explicit |
Definition at line 81 of file PFPileUp.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
|
override |
Definition at line 114 of file PFPileUp.cc.
|
override |
Definition at line 116 of file PFPileUp.cc.
References Exception, edm::Event::get(), edm::Event::getByToken(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), eostools::move(), AlCaHLTBitMon_ParallelJobs::p, slimmedMuons_cfi::pfCandidates, edm::Handle< T >::product(), edm::Event::put(), quality, and beam_dqm_sourceclient-live_cfg::vertices.
|
private |
use the closest z vertex if a track is not in a vertex
Definition at line 73 of file PFPileUp.cc.
|
private |
enable PFPileUp selection
Definition at line 67 of file PFPileUp.cc.
|
private |
Definition at line 77 of file PFPileUp.cc.
|
private |
Definition at line 56 of file PFPileUp.cc.
|
private |
PFCandidates to be analyzed.
Definition at line 59 of file PFPileUp.cc.
|
private |
fall-back token
Definition at line 61 of file PFPileUp.cc.
|
private |
Definition at line 75 of file PFPileUp.cc.
|
private |
Definition at line 76 of file PFPileUp.cc.
|
private |
vertices
Definition at line 64 of file PFPileUp.cc.
|
private |
verbose ?
Definition at line 70 of file PFPileUp.cc.
|
private |
Definition at line 78 of file PFPileUp.cc.