1 #ifndef RecoAlgos_SingleElementCollectionRefSelector_h
2 #define RecoAlgos_SingleElementCollectionRefSelector_h
26 typename OutputCollection = typename ::helper::SelectedOutputCollectionTrait<edm::View<InputType> >
::type,
28 typename RefAdder = typename ::helper::SelectionAdderTrait<edm::View<InputType>, StoreContainer>
::type>
41 for(
size_t idx = 0;
idx < c->size(); ++
idx) {
57 struct SingleElementCollectionRefSelectorEventSetupInit {
64 template<
typename I,
typename S,
typename O,
typename C,
typename R>
SingleElementCollectionRefSelectorEventSetupInit< SingleElementCollectionRefSelector< I, S, O, C, R > > type
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
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
SingleElementCollectionRefSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
container::const_iterator const_iterator
static void init(S &s, const edm::Event &ev, const edm::EventSetup &es)