#include <PFIsoDepositAlgo.h>
Public Types | |
typedef std::vector< reco::IsoDeposit > | IsoDeposits |
typedef reco::PFCandidate | Particle |
typedef std::vector< Particle > | ParticleCollection |
Public Member Functions | |
PFIsoDepositAlgo (const edm::ParameterSet &) | |
const IsoDeposits & | produce (const ParticleCollection &toBeIsolated, const ParticleCollection &forIsolation) |
~PFIsoDepositAlgo () | |
Private Member Functions | |
reco::IsoDeposit | buildIsoDeposit (const Particle &particle, const ParticleCollection &forIsolation) const |
build the IsoDeposit for "particle" More... | |
bool | sameParticle (const Particle &particle1, const Particle &particle2) const |
checks if the 2 particles are in fact the same More... | |
Private Attributes | |
IsoDeposits | isoDeposits_ |
IsoDeposits computed in the produce function. More... | |
bool | verbose_ |
Definition at line 26 of file PFIsoDepositAlgo.h.
typedef std::vector<reco::IsoDeposit> pf2pat::PFIsoDepositAlgo::IsoDeposits |
Definition at line 33 of file PFIsoDepositAlgo.h.
Definition at line 29 of file PFIsoDepositAlgo.h.
typedef std::vector<Particle> pf2pat::PFIsoDepositAlgo::ParticleCollection |
Definition at line 30 of file PFIsoDepositAlgo.h.
|
explicit |
Definition at line 15 of file PFIsoDepositAlgo.cc.
PFIsoDepositAlgo::~PFIsoDepositAlgo | ( | ) |
Definition at line 20 of file PFIsoDepositAlgo.cc.
|
private |
build the IsoDeposit for "particle"
Definition at line 43 of file PFIsoDepositAlgo.cc.
References gather_cfg::cout, HGC3DClusterGenMatchSelector_cfi::dR, reco::LeafCandidate::eta(), mps_fire::i, reco::LeafCandidate::p4(), reco::LeafCandidate::phi(), DiDispStaMuonMonitor_cfi::pt, sameParticle(), and verbose_.
Referenced by produce().
const PFIsoDepositAlgo::IsoDeposits & PFIsoDepositAlgo::produce | ( | const ParticleCollection & | toBeIsolated, |
const ParticleCollection & | forIsolation | ||
) |
all the filtering is done before could gain in performance by having a single loop, and by producing all isodeposits at the same time? however, would not gain in ease of maintenance, and in flexibility.
Definition at line 22 of file PFIsoDepositAlgo.cc.
References buildIsoDeposit(), gather_cfg::cout, mps_fire::i, isoDeposits_, and verbose_.
|
private |
checks if the 2 particles are in fact the same
Definition at line 81 of file PFIsoDepositAlgo.cc.
References MillePedeFileConverter_cfg::e, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), and reco::PFCandidate::particleId().
Referenced by buildIsoDeposit().
|
private |
IsoDeposits computed in the produce function.
Definition at line 53 of file PFIsoDepositAlgo.h.
Referenced by produce().
|
private |
Definition at line 55 of file PFIsoDepositAlgo.h.
Referenced by buildIsoDeposit(), and produce().