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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
bool | checkClosestZVertex_ |
use the closest z vertex if a track is not in a vertex More... | |
bool | enable_ |
enable PFPileUp selection More... | |
double | fDzCutForChargedFromPUVtxs_ |
unsigned int | fNumOfPUVtxsForCharged_ |
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 85 of file PFPileUp.cc.
References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
|
override |
Definition at line 118 of file PFPileUp.cc.
|
static |
Definition at line 200 of file PFPileUp.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_2022v12_cff::InputTag.
|
override |
Definition at line 120 of file PFPileUp.cc.
References Exception, iEvent, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), eostools::move(), AlCaHLTBitMon_ParallelJobs::p, zmumugammaAnalyzer_cfi::pfCandidates, quality, and AlignmentTracksFromVertexSelector_cfi::vertices.
|
private |
use the closest z vertex if a track is not in a vertex
Definition at line 75 of file PFPileUp.cc.
|
private |
enable PFPileUp selection
Definition at line 69 of file PFPileUp.cc.
|
private |
Definition at line 82 of file PFPileUp.cc.
|
private |
Definition at line 81 of file PFPileUp.cc.
|
private |
Definition at line 79 of file PFPileUp.cc.
|
private |
Definition at line 58 of file PFPileUp.cc.
|
private |
PFCandidates to be analyzed.
Definition at line 61 of file PFPileUp.cc.
|
private |
fall-back token
Definition at line 63 of file PFPileUp.cc.
|
private |
Definition at line 77 of file PFPileUp.cc.
|
private |
Definition at line 78 of file PFPileUp.cc.
|
private |
vertices
Definition at line 66 of file PFPileUp.cc.
|
private |
verbose ?
Definition at line 72 of file PFPileUp.cc.
|
private |
Definition at line 80 of file PFPileUp.cc.