1 #ifndef RecoAlgos_SingleElementCollectionRefSelector_h
2 #define RecoAlgos_SingleElementCollectionRefSelector_h
35 typename OutputCollection = typename ::helper::SelectedOutputCollectionTrait<edm::View<InputType> >
::type,
37 typename RefAdder = typename ::helper::SelectionAdderTrait<edm::View<InputType>, StoreContainer>
::type>
50 for (
size_t idx = 0; idx < c->size(); ++idx) {
68 struct SingleElementCollectionRefSelectorEventSetupInit {
75 template <
typename I,
typename S,
typename O,
typename C,
typename R>
SingleElementCollectionRefSelectorEventSetupInit< SingleElementCollectionRefSelector< I, S, O, C, R > > type
const edm::EventSetup & c
void init(S &s, const edm::Event &ev, const edm::EventSetup &es)
InputCollection collection
S make(const edm::ParameterSet &cfg)
edm::View< InputType > InputCollection
const_iterator begin() const
void select(const edm::Handle< InputCollection > &c, const edm::Event &, const edm::EventSetup &)
const std::complex< double > I
Functor that operates on <T>
const_iterator end() const
SingleElementCollectionRefSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
EventSetupInit< typename S::selector >::type ESI
container::const_iterator const_iterator
SingleElementCollectionRefSelectorEventSetupInit(edm::ConsumesCollector iC)