11 produces<reco::CandidateCollection>();
19 auto refitted = std::make_unique<CandidateCollection>();
20 for( CandidateCollection::const_iterator
c = cands->
begin();
c != cands->
end(); ++
c ) {
23 refitted->push_back( clone );
edm::EDGetTokenT< reco::CandidateCollection > srcToken_
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::Event &, const edm::EventSetup &)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
std::unique_ptr< CandMassKinFitter > fitter_
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
MassKinFitterCandProducer(const edm::ParameterSet &, CandMassKinFitter *=0)