1 #ifndef RecoAlgos_ObjectPairCollectionSelector_h
2 #define RecoAlgos_ObjectPairCollectionSelector_h
22 namespace edm {
class Event; }
24 template<
typename InputCollection,
typename Selector,
25 typename StoreContainer = std::vector<const typename InputCollection::value_type *>,
42 unsigned int s = c->size();
43 std::vector<bool>
v(s,
false);
44 for(
unsigned int i = 0;
i <
s; ++
i)
45 for(
unsigned int j =
i + 1;
j <
s; ++
j) {
50 for(
unsigned int i = 0;
i <
s; ++
i)
S make(const edm::ParameterSet &cfg)
const InputCollection::value_type * reference
const_iterator end() const
Container::value_type value_type
Functor that operates on <T>
InputCollection collection
const_iterator begin() const
void select(const edm::Handle< InputCollection > &c, const edm::Event &, const edm::EventSetup &)
ObjectPairCollectionSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
container::const_iterator const_iterator