CMS 3D CMS Logo

List of all members | Static Public Member Functions
reco::modules::CandKinematicVertexFitterEventSetupInit Struct Reference

#include <CandKinematicVertexFitter.h>

Static Public Member Functions

static void init (CandKinematicVertexFitter &fitter, const edm::Event &evt, const edm::EventSetup &es)
 

Detailed Description

Definition at line 12 of file CandKinematicVertexFitter.h.

Member Function Documentation

static void reco::modules::CandKinematicVertexFitterEventSetupInit::init ( CandKinematicVertexFitter fitter,
const edm::Event evt,
const edm::EventSetup es 
)
inlinestatic

Definition at line 13 of file CandKinematicVertexFitter.h.

References edm::EventSetup::get(), edm::EventSetup::getData(), h, edm::ESHandle< T >::product(), and CandKinematicVertexFitter::set().

15  {
17  es.get<IdealMagneticFieldRecord>().get(h);
18  fitter.set(h.product());
20  es.getData(pdt);
21  fitter.set(pdt.product());
22  }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void getData(T &iHolder) const
Definition: EventSetup.h:79
const T & get() const
Definition: EventSetup.h:56
void set(const MagneticField *bField)
T const * product() const
Definition: ESHandle.h:86