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::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().

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