#include <ObjectPairCollectionSelector.h>
Public Types | |
typedef InputCollection | collection |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
ObjectPairCollectionSelector (const edm::ParameterSet &cfg) | |
void | select (const edm::Handle< InputCollection > &c, const edm::Event &, const edm::EventSetup &) |
Private Types | |
typedef container::const_iterator | const_iterator |
typedef StoreContainer | container |
typedef const InputCollection::value_type * | reference |
Private Attributes | |
RefAdder | addRef_ |
Selector | select_ |
StoreContainer | selected_ |
selects object pairs wose combination satiefies a specific selection for instance, could be based on invariant mass, deltaR , deltaPhi, etc.
Definition at line 26 of file ObjectPairCollectionSelector.h.
typedef InputCollection ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::collection |
Definition at line 28 of file ObjectPairCollectionSelector.h.
typedef container::const_iterator ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::const_iterator [private] |
Definition at line 33 of file ObjectPairCollectionSelector.h.
typedef StoreContainer ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::container [private] |
Definition at line 32 of file ObjectPairCollectionSelector.h.
typedef const InputCollection::value_type* ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::reference [private] |
Definition at line 31 of file ObjectPairCollectionSelector.h.
ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::ObjectPairCollectionSelector | ( | const edm::ParameterSet & | cfg | ) | [inline] |
Definition at line 36 of file ObjectPairCollectionSelector.h.
: select_(reco::modules::make<Selector>(cfg)) { }
const_iterator ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::begin | ( | void | ) | const [inline] |
Definition at line 38 of file ObjectPairCollectionSelector.h.
References ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::selected_.
{ return selected_.begin(); }
const_iterator ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::end | ( | void | ) | const [inline] |
Definition at line 39 of file ObjectPairCollectionSelector.h.
References ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::selected_.
{ return selected_.end(); }
void ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::select | ( | const edm::Handle< InputCollection > & | c, |
const edm::Event & | , | ||
const edm::EventSetup & | |||
) | [inline] |
Definition at line 40 of file ObjectPairCollectionSelector.h.
References ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::addRef_, i, j, asciidump::s, ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::select_, ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::selected_, and v.
RefAdder ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::addRef_ [private] |
Definition at line 57 of file ObjectPairCollectionSelector.h.
Referenced by ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::select().
Selector ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::select_ [private] |
Definition at line 55 of file ObjectPairCollectionSelector.h.
Referenced by ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::select().
StoreContainer ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::selected_ [private] |
Definition at line 56 of file ObjectPairCollectionSelector.h.
Referenced by ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::begin(), ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::end(), and ObjectPairCollectionSelector< InputCollection, Selector, StoreContainer, RefAdder >::select().