template<typename InputCollection, typename Selector, typename StoreContainer = std::vector<const typename InputCollection::value_type *>, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
class ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >
selects object pairs wose combination satiefies a specific selection for instance, could be based on invariant mass, deltaR , deltaPhi, etc.
- Author
- Luca Lista, INFN
- Version
- Revision
- 1.1
- Id
- ObjectPairCollectionSelector.h,v 1.1 2009/03/03 13:07:27 llista Exp
Definition at line 31 of file ObjectPairCollectionSelector.h.
template<typename InputCollection , typename Selector , typename StoreContainer = std::vector<const typename InputCollection::value_type *>, typename RefAdder = typename helper::SelectionAdderTrait<InputCollection, StoreContainer>::type>
Definition at line 45 of file ObjectPairCollectionSelector.h.
References ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::addRef_, c, mps_fire::i, dqmiolumiharvest::j, alignCSCRings::s, ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::select_, ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::selected_, and findQualityFiles::v.
46 unsigned int s =
c->size();
47 std::vector<bool>
v(
s,
false);
48 for (
unsigned int i = 0;
i <
s; ++
i)
49 for (
unsigned int j =
i + 1;
j <
s; ++
j) {
54 for (
unsigned int i = 0;
i <
s; ++
i)