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() );
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
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
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
~CloneProducer()
destructor
def template(fileName, svg, replaceme="REPLACEME")
edm::EDGetTokenT< C > srcToken_
labels of the collection to be converted