#include <PFPileUpAlgo.h>
Public Types | |
typedef std::vector< edm::FwdPtr< reco::PFCandidate > > | PFCollection |
Public Member Functions | |
int | chargedHadronVertex (const reco::VertexCollection &vertices, const reco::PFCandidate &pfcand) const |
const PFCollection & | getPFCandidatesFromPU () const |
const PFCollection & | getPFCandidatesFromVtx () const |
PFPileUpAlgo () | |
PFPileUpAlgo (bool checkClosestZVertex, bool verbose=false) | |
void | process (const PFCollection &pfCandidates, const reco::VertexCollection &vertices) |
void | setCheckClosestZVertex (bool val) |
void | setVerbose (bool verbose) |
~PFPileUpAlgo () | |
Private Attributes | |
bool | checkClosestZVertex_ |
use the closest z vertex if a track is not in a vertex More... | |
PFCollection | pfCandidatesFromPU_ |
PFCollection | pfCandidatesFromVtx_ |
bool | verbose_ |
verbose ? More... | |
Definition at line 12 of file PFPileUpAlgo.h.
typedef std::vector<edm::FwdPtr<reco::PFCandidate> > PFPileUpAlgo::PFCollection |
Definition at line 14 of file PFPileUpAlgo.h.
|
inline |
Definition at line 16 of file PFPileUpAlgo.h.
|
inline |
Definition at line 18 of file PFPileUpAlgo.h.
|
inline |
Definition at line 23 of file PFPileUpAlgo.h.
int PFPileUpAlgo::chargedHadronVertex | ( | const reco::VertexCollection & | vertices, |
const reco::PFCandidate & | pfcand | ||
) | const |
Definition at line 38 of file PFPileUpAlgo.cc.
References checkClosestZVertex_, PVValHelper::dz, gpuVertexFinder::iv, pfDeepBoostedJetPreprocessParams_cfi::pfcand, HLT_FULL_cff::track, AlignmentTracksFromVertexSelector_cfi::vertices, extraflags_cff::vtx, and w.
Referenced by process().
|
inline |
|
inline |
void PFPileUpAlgo::process | ( | const PFCollection & | pfCandidates, |
const reco::VertexCollection & | vertices | ||
) |
Definition at line 6 of file PFPileUpAlgo.cc.
References chargedHadronVertex(), gather_cfg::cout, reco::PFCandidate::h, mps_fire::i, zmumugammaAnalyzer_cfi::pfCandidates, pfCandidatesFromPU_, pfCandidatesFromVtx_, verbose_, and AlignmentTracksFromVertexSelector_cfi::vertices.
|
inline |
Definition at line 30 of file PFPileUpAlgo.h.
References checkClosestZVertex_, and heppy_batch::val.
|
inline |
|
private |
use the closest z vertex if a track is not in a vertex
Definition at line 40 of file PFPileUpAlgo.h.
Referenced by chargedHadronVertex(), and setCheckClosestZVertex().
|
private |
Definition at line 46 of file PFPileUpAlgo.h.
Referenced by getPFCandidatesFromPU(), and process().
|
private |
Definition at line 45 of file PFPileUpAlgo.h.
Referenced by getPFCandidatesFromVtx(), and process().
|
private |