CMS 3D CMS Logo

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) {
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
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
CandKinematicVertexFitter.h
CandKinematicVertexFitter::set
void set(const MagneticField *bField)
Definition: CandKinematicVertexFitter.h:31
ESHandle.h
modules
Definition: ZHLTMatchFilter.cc:17
h
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
Definition: L1TUtmAlgorithmRcd.h:4
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::modules::EventSetupInit
Definition: EventSetupInitTrait.h:33
EventSetupInitTrait.h
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
reco::modules::CandKinematicVertexFitterEventSetupInit::init
static void init(CandKinematicVertexFitter &fitter, const edm::Event &evt, const edm::EventSetup &es)
Definition: CandKinematicVertexFitter.h:13
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
CandKinematicVertexFitter
Definition: CandKinematicVertexFitter.h:24
h
ParticleDataTable.h
reco::modules::EventSetupInit< CandKinematicVertexFitter >::type
CandKinematicVertexFitterEventSetupInit type
Definition: CandKinematicVertexFitter.h:25
edm::EventSetup
Definition: EventSetup.h:57
reco::get
T get(const Candidate &c)
Definition: component.h:60
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:120
EventSetup.h
edm::Event
Definition: Event.h:73
reco::modules::CandKinematicVertexFitterEventSetupInit
Definition: CandKinematicVertexFitter.h:12