#include <SingleElementCollectionRefSelector.h>
Public Types | |
typedef InputCollection | collection |
typedef container::const_iterator | const_iterator |
typedef StoreContainer | container |
typedef edm::View< InputType > | InputCollection |
typedef Selector | selector |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
void | select (const edm::Handle< InputCollection > &c, const edm::Event &, const edm::EventSetup &) |
SingleElementCollectionRefSelector (const edm::ParameterSet &cfg) | |
Private Attributes | |
RefAdder | addRef_ |
selector | select_ |
container | selected_ |
Friends | |
class | reco::modules::SingleElementCollectionRefSelectorEventSetupInit< SingleElementCollectionRefSelector > |
selects a subset of a collection based on single element selection done via functor
Definition at line 28 of file SingleElementCollectionRefSelector.h.
typedef InputCollection SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::collection |
Definition at line 30 of file SingleElementCollectionRefSelector.h.
typedef container::const_iterator SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::const_iterator |
Definition at line 33 of file SingleElementCollectionRefSelector.h.
typedef StoreContainer SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::container |
Definition at line 31 of file SingleElementCollectionRefSelector.h.
typedef edm::View<InputType> SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::InputCollection |
Definition at line 29 of file SingleElementCollectionRefSelector.h.
typedef Selector SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::selector |
Definition at line 32 of file SingleElementCollectionRefSelector.h.
SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::SingleElementCollectionRefSelector | ( | const edm::ParameterSet & | cfg | ) | [inline] |
Definition at line 34 of file SingleElementCollectionRefSelector.h.
: select_(reco::modules::make<Selector>(cfg)) { }
const_iterator SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::begin | ( | void | ) | const [inline] |
Definition at line 36 of file SingleElementCollectionRefSelector.h.
{ return selected_.begin(); }
const_iterator SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::end | ( | void | ) | const [inline] |
Definition at line 37 of file SingleElementCollectionRefSelector.h.
{ return selected_.end(); }
void SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::select | ( | const edm::Handle< InputCollection > & | c, |
const edm::Event & | , | ||
const edm::EventSetup & | |||
) | [inline] |
Definition at line 38 of file SingleElementCollectionRefSelector.h.
References SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::addRef_, SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::select_, and SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::selected_.
friend class reco::modules::SingleElementCollectionRefSelectorEventSetupInit< SingleElementCollectionRefSelector > [friend] |
Definition at line 48 of file SingleElementCollectionRefSelector.h.
RefAdder SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::addRef_ [private] |
Definition at line 47 of file SingleElementCollectionRefSelector.h.
Referenced by SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::select().
selector SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::select_ [private] |
Definition at line 46 of file SingleElementCollectionRefSelector.h.
Referenced by SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::select().
container SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::selected_ [private] |
Definition at line 45 of file SingleElementCollectionRefSelector.h.
Referenced by SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::begin(), SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::end(), and SingleElementCollectionRefSelector< InputType, Selector, OutputCollection, StoreContainer, RefAdder >::select().