CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions
reco::modules::CandVertexFitterEventSetupInit< Fitter > Struct Template Reference

#include <CandCommonVertexFitter.h>

Static Public Member Functions

static void init (CandCommonVertexFitter< Fitter > &fitter, const edm::Event &evt, const edm::EventSetup &es)
 

Detailed Description

template<typename Fitter>
struct reco::modules::CandVertexFitterEventSetupInit< Fitter >

Definition at line 12 of file CandCommonVertexFitter.h.

Member Function Documentation

template<typename Fitter >
static void reco::modules::CandVertexFitterEventSetupInit< Fitter >::init ( CandCommonVertexFitter< Fitter > &  fitter,
const edm::Event evt,
const edm::EventSetup es 
)
inlinestatic

Definition at line 13 of file CandCommonVertexFitter.h.

References edm::EventSetup::get(), h, edm::ESHandle< class >::product(), and CandCommonVertexFitterBase::set().

13  {
15  es.get<IdealMagneticFieldRecord>().get(h);
16  fitter.set(h.product());
17  }
void set(const MagneticField *bField)
T const * product() const
Definition: ESHandle.h:86
T get() const
Definition: EventSetup.h:88
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4