CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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< class >::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
T const * product() const
Definition: ESHandle.h:86
void set(const MagneticField *bField)