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 {
13  static void init(CandKinematicVertexFitter& fitter, const edm::Event& evt, const edm::EventSetup& es) {
15  es.get<IdealMagneticFieldRecord>().get(h);
16  fitter.set(h.product());
18  es.getData(pdt);
19  fitter.set(pdt.product());
20  }
21  };
22 
23  template <>
26  };
27  } // namespace modules
28 } // namespace reco
29 
30 #endif
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
bool getData(T &iHolder) const
Definition: EventSetup.h:113
static void init(CandKinematicVertexFitter &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