CMS 3D CMS Logo

CandKinematicVertexFitter.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_CandKalmanVertexFitter_h
2 #define RecoAlgos_CandKalmanVertexFitter_h
9 
10 namespace reco {
11  namespace modules {
14  : magToken_(iC.esConsumes()), pdtToken_(iC.esConsumes()) {}
15 
16  void init(CandKinematicVertexFitter& fitter, const edm::Event& evt, const edm::EventSetup& es) {
17  fitter.set(&es.getData(magToken_));
18  fitter.set(&es.getData(pdtToken_));
19  }
20 
23  };
24 
25  template <>
28  };
29  } // namespace modules
30 } // namespace reco
31 
32 #endif
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magToken_
edm::ESGetToken< ParticleDataTable, edm::DefaultRecord > pdtToken_
bool getData(T &iHolder) const
Definition: EventSetup.h:122
void init(CandKinematicVertexFitter &fitter, const edm::Event &evt, const edm::EventSetup &es)
void set(const MagneticField *bField)
fixed size matrix