1 #ifndef CommonTools_ParticleFlow_PFJetSelectorDefinition
2 #define CommonTools_ParticleFlow_PFJetSelectorDefinition
6 #include "boost/iterator/transform_iterator.hpp"
18 struct Pointer :
public std::unary_function<reco::PFJet,const reco::PFJet *> {
22 typedef boost::transform_iterator<Pointer,container::const_iterator>
const_iterator;
reco::PFJetCollection collection
const reco::PFJet * operator()(const reco::PFJet &c) const
Jets made from PFObjects.
const_iterator begin() const
PFJetSelectorDefinition()
std::vector< reco::PFJet > container
const_iterator end() const
std::vector< PFJet > PFJetCollection
collection of PFJet objects
const container & selected() const
edm::Handle< collection > HandleToCollection
boost::transform_iterator< Pointer, container::const_iterator > const_iterator