1 #ifndef CommonTools_UtilAlgos_AssociationVector2ValueMap_h
2 #define CommonTools_UtilAlgos_AssociationVector2ValueMap_h
15 template<
typename KeyRefProd,
typename CVal>
34 template<
typename KeyRefProd,
typename CVal>
36 av_(consumes<
av_t>(cfg.
template getParameter<edm::InputTag>(
"src"))) {
40 template<
typename KeyRefProd,
typename CVal>
47 auto_ptr<vm_t> vm(
new vm_t);
50 size_t size = av->size();
transient_vector_type::const_iterator const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::ValueMap< value_t > vm_t
void insert(const H &h, I begin, I end)
edm::AssociationVector< KeyRefProd, CVal > av_t
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void produce(edm::Event &, const edm::EventSetup &) override
KeyRefProd::product_type CKey
Container::value_type value_type
edm::EDGetTokenT< av_t > av_
AssociationVector2ValueMap(const edm::ParameterSet &)
tuple size
Write out results.