1 #ifndef CandAlgos_ShallowCloneProducer_h
2 #define CandAlgos_ShallowCloneProducer_h
39 src_( 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
edm::InputTag src_
labels of the collection to be converted
virtual void produce(edm::Event &, const edm::EventSetup &)
process an event
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
~ShallowCloneProducer()
destructor