1 #ifndef RecoAlgos_ObjectPairCollectionSelector_h
2 #define RecoAlgos_ObjectPairCollectionSelector_h
21 namespace edm {
class Event; }
24 typename StoreContainer = std::vector<const typename InputCollection::value_type *>,
41 unsigned int s = c->size();
42 std::vector<bool>
v(s,
false);
43 for(
unsigned int i = 0;
i <
s; ++
i)
44 for(
unsigned int j =
i + 1;
j <
s; ++
j) {
49 for(
unsigned int i = 0;
i <
s; ++
i)
std::vector< InputItem > InputCollection
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>
ObjectPairCollectionSelector(const edm::ParameterSet &cfg)
InputCollection collection
const_iterator begin() const
void select(const edm::Handle< InputCollection > &c, const edm::Event &, const edm::EventSetup &)
container::const_iterator const_iterator