1 #ifndef CommonTools_UtilAlgos_FwdPtrProducer_h
2 #define CommonTools_UtilAlgos_FwdPtrProducer_h
23 template <
class T,
class H = FwdPtrFromProductFactory<T> >
28 produces<std::vector<edm::FwdPtr<T> > >();
43 pOutputFwdPtr->push_back(ptr);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~FwdPtrProducer() override
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
FwdPtrProducer(edm::ParameterSet const ¶ms)
Produces a list of FwdPtr's to an input collection.
edm::EDGetTokenT< edm::View< T > > srcToken_