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