Go to the documentation of this file. 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)) {
const_iterator end() const
void select(const edm::Handle< collection > &c, const edm::Event &event, const edm::EventSetup &es)
edm::RefToBaseVector< reco::Track > ref_container
RecoTrackViewRefSelector()
Constructors.
void push_back(const RefToBase< T > &)
ref_container ref_selected_
RecoTrackViewRefSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
void init(const edm::Event &event, const edm::EventSetup &es)
const_ref_iterator begin() const
ref_container::const_iterator const_ref_iterator
edm::View< reco::Track > collection
const_iterator begin() const
const_ref_iterator end() const