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,
14  const edm::Event & evt,
15  const edm::EventSetup& es) {
17  es.get<IdealMagneticFieldRecord>().get(h);
18  fitter.set(h.product());
20  es.getData(pdt);
21  fitter.set(pdt.product());
22  }
23  };
24 
25  template<>
28  };
29  }
30 }
31 
32 #endif
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void getData(T &iHolder) const
Definition: EventSetup.h:78
static void init(CandKinematicVertexFitter &fitter, const edm::Event &evt, const edm::EventSetup &es)
const T & get() const
Definition: EventSetup.h:55
void set(const MagneticField *bField)
fixed size matrix
T const * product() const
Definition: ESHandle.h:86