CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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,
14  const edm::Event & evt,
15  const edm::EventSetup& es) {
17  es.get<IdealMagneticFieldRecord>().get(h);
18  fitter.set(h.product());
19  }
20  };
21 
22  template<typename Fitter>
25  };
26  }
27 }
28 
29 #endif
static void init(CandCommonVertexFitter< Fitter > &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
void set(const MagneticField *bField)
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:86