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 > {
Creates a FwdPtr<PFCandidate> from an input PFCandidate. If the PFCandidate has a valid sourceCandidate...
Ptr< value_type > ptrAt(size_type i) const
bool isNonnull() const
Checks for non-null.
edm::FwdPtr< reco::PFCandidate > operator()(edm::View< reco::PFCandidate > const &view, unsigned int i) const