CMS 3D CMS Logo

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