CMS 3D CMS Logo

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

◆ init()

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.

13  {
16  fitter.set(h.product());
17  }

References reco::get(), edm::EventSetup::get(), h, and CandCommonVertexFitterBase::set().

h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
edm::ESHandle< MagneticField >
h
reco::get
T get(const Candidate &c)
Definition: component.h:60
CandCommonVertexFitterBase::set
void set(const MagneticField *bField)
Definition: CandCommonVertexFitter.h:24