12 fitter_ = std::make_unique<CandMassKinFitter>(
cfg.getParameter<
double>(
"mass"));
13 produces<reco::CandidateCollection>();
21 auto refitted = std::make_unique<CandidateCollection>();
25 refitted->push_back(
clone);
edm::EDGetTokenT< reco::CandidateCollection > srcToken_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MassKinFitterCandProducer(const edm::ParameterSet &, CandMassKinFitter *=nullptr)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
void produce(edm::Event &, const edm::EventSetup &) override
std::unique_ptr< CandMassKinFitter > fitter_
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects