1 #ifndef CommonTools_ParticleFlow_PFCandidateSelectorDefinition
2 #define CommonTools_ParticleFlow_PFCandidateSelectorDefinition
6 #include "boost/iterator/transform_iterator.hpp"
18 struct Pointer :
public std::unary_function<reco::PFCandidate,const reco::PFCandidate *> {
22 typedef boost::transform_iterator<Pointer,container::const_iterator>
const_iterator;
std::vector< reco::PFCandidate > container
const_iterator end() const
const reco::PFCandidate * operator()(const reco::PFCandidate &c) const
edm::Handle< collection > HandleToCollection
boost::transform_iterator< Pointer, container::const_iterator > const_iterator
const container & selected() const
const_iterator begin() const
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
reco::PFCandidateCollection collection
Particle reconstructed by the particle flow algorithm.
PFCandidateSelectorDefinition()