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: MuonCleanerBySegments.cc:35
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::modules::EventSetupInit
Definition: EventSetupInitTrait.h:33
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
EventSetupInitTrait.h
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
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:58
reco::get
T get(const Candidate &c)
Definition: component.h:60
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
EventSetup.h
edm::Event
Definition: Event.h:73
reco::modules::CandKinematicVertexFitterEventSetupInit
Definition: CandKinematicVertexFitter.h:12