1 #ifndef CommonTools_RecoAlgos_RecoTrackViewRefSelector_h 2 #define CommonTools_RecoAlgos_RecoTrackViewRefSelector_h 25 for (
unsigned int i = 0;
i <
c->size();
i++) {
26 auto trk =
c->refAt(
i);
27 if (
operator()(*trk)) {
void init(const edm::Event &event, const edm::EventSetup &es)
RecoTrackViewRefSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
void select(const edm::Handle< collection > &c, const edm::Event &event, const edm::EventSetup &es)
const_ref_iterator begin() const
const_iterator begin() const
edm::View< reco::Track > collection
ref_container::const_iterator const_ref_iterator
const_iterator end() const
void push_back(const RefToBase< T > &)
const_ref_iterator end() const
RecoTrackViewRefSelector()
Constructors.
edm::RefToBaseVector< reco::Track > ref_container
ref_container ref_selected_