#include <ConfigurableVertexFitter.h>
A VertexFitter whose concrete implementation (kalman filter, adaptive method, etc.) is completely definable at runtime via a ParameterSet. Note that every fitter registers as a finder, also.
Definition at line 17 of file ConfigurableVertexFitter.h.
Definition at line 21 of file ConfigurableVertexFitter.h.
ConfigurableVertexFitter::ConfigurableVertexFitter | ( | const edm::ParameterSet & | p | ) |
Definition at line 24 of file ConfigurableVertexFitter.cc.
References VertexFitterManager::get(), edm::ParameterSet::getParameter(), VertexFitterManager::Instance(), and theFitter.
Referenced by clone().
: theFitter ( 0 ) { string fitter=p.getParameter<string>("fitter"); theFitter = VertexFitterManager::Instance().get ( fitter ); if (!theFitter) { errorNoFitter ( fitter ); } theFitter->configure ( p ); }
ConfigurableVertexFitter::ConfigurableVertexFitter | ( | const ConfigurableVertexFitter & | o | ) |
Definition at line 41 of file ConfigurableVertexFitter.cc.
ConfigurableVertexFitter::~ConfigurableVertexFitter | ( | ) |
Definition at line 36 of file ConfigurableVertexFitter.cc.
{ }
ConfigurableVertexFitter * ConfigurableVertexFitter::clone | ( | void | ) | const [virtual] |
Fit vertex out of a VertexSeed
Implements VertexFitter< 5 >.
Definition at line 46 of file ConfigurableVertexFitter.cc.
References ConfigurableVertexFitter().
{ return new ConfigurableVertexFitter ( *this ); }
CachingVertex<5> ConfigurableVertexFitter::vertex | ( | const std::vector< RefCountedVertexTrack > & | tracks, |
const GlobalPoint & | priorPos, | ||
const GlobalError & | priorError | ||
) | const |
CachingVertex<5> ConfigurableVertexFitter::vertex | ( | const std::vector< reco::TransientTrack > & | tracks, |
const reco::BeamSpot & | beamSpot | ||
) | const [virtual] |
Fit vertex out of a set of TransientTracks. The specified BeamSpot will be used as priot, but NOT for the linearization. The specified LinearizationPointFinder will be used to find the linearization point.
Implements VertexFitter< 5 >.
CachingVertex<5> ConfigurableVertexFitter::vertex | ( | const std::vector< reco::TransientTrack > & | tracks, |
const GlobalPoint & | priorPos, | ||
const GlobalError & | priorError | ||
) | const [virtual] |
Fit vertex out of a set of TransientTracks. Uses the specified point as both the linearization point AND as prior estimate of the vertex position. The error is used for the weight of the prior estimate.
Implements VertexFitter< 5 >.
CachingVertex<5> ConfigurableVertexFitter::vertex | ( | const std::vector< reco::TransientTrack > & | tracks, |
const GlobalPoint & | linPoint | ||
) | const [virtual] |
Fit vertex out of a set of TransientTracks. The specified point will be used as linearization point, but will NOT be used as prior.
Implements VertexFitter< 5 >.
CachingVertex<5> ConfigurableVertexFitter::vertex | ( | const std::vector< RefCountedVertexTrack > & | tracks, |
const reco::BeamSpot & | spot | ||
) | const |
CachingVertex<5> ConfigurableVertexFitter::vertex | ( | const std::vector< RefCountedVertexTrack > & | tracks | ) | const |
CachingVertex< 5 > ConfigurableVertexFitter::vertex | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const [virtual] |
Fit vertex out of a set of TransientTracks
Implements VertexFitter< 5 >.
Definition at line 52 of file ConfigurableVertexFitter.cc.
References theFitter, and AbstractConfFitter::vertex().
Definition at line 43 of file ConfigurableVertexFitter.h.
Referenced by ConfigurableVertexFitter(), and vertex().