CMS 3D CMS Logo

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
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
static void init(CandCommonVertexFitter< Fitter > &fitter, const edm::Event &evt, const edm::EventSetup &es)
void set(const MagneticField *bField)
const T & get() const
Definition: EventSetup.h:55
fixed size matrix
T const * product() const
Definition: ESHandle.h:86