CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
void getData(T &iHolder) const
Definition: EventSetup.h:67
static void init(CandKinematicVertexFitter &fitter, const edm::Event &evt, const edm::EventSetup &es)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:62
void set(const MagneticField *bField)