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