1 #ifndef CandAlgos_ShallowCloneProducer_h
2 #define CandAlgos_ShallowCloneProducer_h
39 srcToken_( consumes<
C>(par.
template getParameter<edm::InputTag>(
"src" ) ) ) {
40 produces<reco::CandidateCollection>();
52 for(
size_t i = 0;
i < masterCollection->size(); ++
i ) {
ShallowCloneProducer(const edm::ParameterSet &)
constructor from parameter set
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)
process an event
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< C > srcToken_
labels of the collection to be converted
~ShallowCloneProducer()
destructor