50 produces<reco::VertexCompositeCandidateCollection>(
"Kshort");
51 produces<reco::VertexCompositeCandidateCollection>(
"Lambda");
64 auto kShortCandidates = std::make_unique<reco::VertexCompositeCandidateCollection>();
66 auto lambdaCandidates = std::make_unique<reco::VertexCompositeCandidateCollection>();
70 theVees.
fitAll(iEvent, iSetup, *kShortCandidates, *lambdaCandidates);
73 kShortCandidates->shrink_to_fit();
75 lambdaCandidates->shrink_to_fit();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
V0Producer(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &, const edm::EventSetup &) override
void fitAll(const edm::Event &iEvent, const edm::EventSetup &iSetup, reco::VertexCompositeCandidateCollection &k, reco::VertexCompositeCandidateCollection &l)