#include <CandKinematicVertexFitter.h>
Static Public Member Functions | |
static void | init (CandKinematicVertexFitter &fitter, const edm::Event &evt, const edm::EventSetup &es) |
Definition at line 12 of file CandKinematicVertexFitter.h.
static void reco::modules::CandKinematicVertexFitterEventSetupInit::init | ( | CandKinematicVertexFitter & | fitter, |
const edm::Event & | evt, | ||
const edm::EventSetup & | es | ||
) | [inline, static] |
Definition at line 13 of file CandKinematicVertexFitter.h.
References edm::EventSetup::get(), edm::EventSetup::getData(), h, edm::ESHandle< T >::product(), and CandKinematicVertexFitter::set().
{ edm::ESHandle<MagneticField> h; es.get<IdealMagneticFieldRecord>().get(h); fitter.set(h.product()); edm::ESHandle<ParticleDataTable> pdt; es.getData(pdt); fitter.set(pdt.product()); }