1 #ifndef CommonTools_UtilAlgos_MasterCollectionHelper_h
2 #define CommonTools_UtilAlgos_MasterCollectionHelper_h
21 template <
typename C1>
26 size_t index(
size_t i)
const {
return i; }
56 return getRef(idx).template castTo<R>();
ref_type getRef(size_t idx) const
size_t index(size_t i) const
edm::RefToBase< T > ref_type
R getConcreteRef(size_t idx) const
MasterCollection(const edm::Handle< edm::View< T > > &handle, edm::Event const &event)
edm::RefToBaseProd< T > ref_
size_t index(size_t i) const
edm::Handle< edm::View< T > > handle_
R getConcreteRef(size_t idx) const
ref_type getRef(size_t idx) const
RefToBaseProd< T > makeRefToBaseProdFrom(RefToBase< T > const &iRef, Event const &iEvent)
MasterCollection(const edm::Handle< C1 > &handle, edm::Event const &event)
edm::Handle< C1 > handle_