CMS 3D CMS Logo

CandCommonVertexFitter.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_CandKalmanVertexFitter_h
2 #define RecoAlgos_CandKalmanVertexFitter_h
8 
9 namespace reco {
10  namespace modules {
11  template <typename Fitter>
13  static void init(CandCommonVertexFitter<Fitter>& fitter, const edm::Event& evt, const edm::EventSetup& es) {
15  es.get<IdealMagneticFieldRecord>().get(h);
16  fitter.set(h.product());
17  }
18  };
19 
20  template <typename Fitter>
23  };
24  } // namespace modules
25 } // namespace reco
26 
27 #endif
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
static void init(CandCommonVertexFitter< Fitter > &fitter, const edm::Event &evt, const edm::EventSetup &es)
void set(const MagneticField *bField)
fixed size matrix
T get() const
Definition: EventSetup.h:73
T const * product() const
Definition: ESHandle.h:86