#include <SingleElementCollectionSelector.h>
Public Types | |
typedef InputCollection | collection |
typedef container::const_iterator | const_iterator |
typedef StoreContainer | container |
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 &) |
SingleElementCollectionSelector (const edm::ParameterSet &cfg) | |
Private Attributes | |
RefAdder | addRef_ |
selector | select_ |
container | selected_ |
Friends | |
class | reco::modules::SingleElementCollectionSelectorEventSetupInit< SingleElementCollectionSelector > |
selects a subset of a collection based on single element selection done via functor
Definition at line 27 of file SingleElementCollectionSelector.h.
typedef InputCollection SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::collection |
Definition at line 28 of file SingleElementCollectionSelector.h.
typedef container::const_iterator SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::const_iterator |
Definition at line 31 of file SingleElementCollectionSelector.h.
typedef StoreContainer SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::container |
Definition at line 29 of file SingleElementCollectionSelector.h.
typedef Selector SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::selector |
Definition at line 30 of file SingleElementCollectionSelector.h.
SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::SingleElementCollectionSelector | ( | const edm::ParameterSet & | cfg | ) | [inline] |
Definition at line 32 of file SingleElementCollectionSelector.h.
: select_(reco::modules::make<Selector>(cfg)) { }
const_iterator SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::begin | ( | void | ) | const [inline] |
Definition at line 34 of file SingleElementCollectionSelector.h.
{ return selected_.begin(); }
const_iterator SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::end | ( | void | ) | const [inline] |
Definition at line 35 of file SingleElementCollectionSelector.h.
{ return selected_.end(); }
void SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::select | ( | const edm::Handle< InputCollection > & | c, |
const edm::Event & | , | ||
const edm::EventSetup & | |||
) | [inline] |
friend class reco::modules::SingleElementCollectionSelectorEventSetupInit< SingleElementCollectionSelector > [friend] |
Definition at line 47 of file SingleElementCollectionSelector.h.
RefAdder SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::addRef_ [private] |
Definition at line 46 of file SingleElementCollectionSelector.h.
Referenced by SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >::select().
selector SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::select_ [private] |
Definition at line 45 of file SingleElementCollectionSelector.h.
Referenced by SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >::select().
container SingleElementCollectionSelector< InputCollection, Selector, OutputCollection, StoreContainer, RefAdder >::selected_ [private] |
Definition at line 44 of file SingleElementCollectionSelector.h.
Referenced by SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >::begin(), SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >::end(), and SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >::select().