CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CandCommonVertexFitter.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_CandKalmanVertexFitter_h
2 #define RecoAlgos_CandKalmanVertexFitter_h
8 
9 namespace reco {
10  namespace modules {
11  template <typename Fitter>
13  static void init(CandCommonVertexFitter<Fitter>& fitter, const edm::Event& evt, const edm::EventSetup& es) {
15  es.get<IdealMagneticFieldRecord>().get(h);
16  fitter.set(h.product());
17  }
18  };
19 
20  template <typename Fitter>
23  };
24  } // namespace modules
25 } // namespace reco
26 
27 #endif
static void init(CandCommonVertexFitter< Fitter > &fitter, const edm::Event &evt, const edm::EventSetup &es)
void set(const MagneticField *bField)
T const * product() const
Definition: ESHandle.h:86
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