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