Creates a FwdPtr<PFCandidate> from an input PFCandidate. If the PFCandidate has a valid sourceCandidatePtr, that is used for the FwdPtr's "backPtr". More...
#include "CommonTools/ParticleFlow/interface/PFCandidateFwdPtrFactory.h"
Public Member Functions | |
edm::FwdPtr< reco::PFCandidate > | operator() (edm::View< reco::PFCandidate > const &view, unsigned int i) const |
Creates a FwdPtr<PFCandidate> from an input PFCandidate. If the PFCandidate has a valid sourceCandidatePtr, that is used for the FwdPtr's "backPtr".
Definition at line 17 of file PFCandidateFwdPtrFactory.h.
|
inline |
Definition at line 18 of file PFCandidateFwdPtrFactory.h.
References mps_fire::i, edm::Ptr< T >::isAvailable(), edm::Ptr< T >::isNonnull(), reco::PFCandidate::numberOfSourceCandidatePtrs(), edm::View< T >::ptrAt(), and reco::PFCandidate::sourceCandidatePtr().