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>
14  void init(CandCommonVertexFitter<Fitter>& fitter, const edm::Event& evt, const edm::EventSetup& es) {
15  fitter.set(&es.getData(magToken_));
16  }
18  };
19 
20  template <typename Fitter>
23  };
24  } // namespace modules
25 } // namespace reco
26 
27 #endif
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
void init(CandCommonVertexFitter< Fitter > &fitter, const edm::Event &evt, const edm::EventSetup &es)
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magToken_
bool getData(T &iHolder) const
Definition: EventSetup.h:122
void set(const MagneticField *bField)
fixed size matrix