1 #ifndef CommonTools_ParticleFlow_PFCandidateFwdPtrFactory_h 2 #define CommonTools_ParticleFlow_PFCandidateFwdPtrFactory_h 17 class PFCandidateFwdPtrFactory :
public std::binary_function<edm::FwdPtr<reco::PFCandidate>, edm::View<reco::PFCandidate>, unsigned int > {
Ptr< value_type > ptrAt(size_type i) const
Creates a FwdPtr<PFCandidate> from an input PFCandidate. If the PFCandidate has a valid sourceCandida...
CandidatePtr sourceCandidatePtr(size_type i) const override
size_t numberOfSourceCandidatePtrs() const override
bool isNonnull() const
Checks for non-null.
edm::FwdPtr< reco::PFCandidate > operator()(edm::View< reco::PFCandidate > const &view, unsigned int i) const