#include <RecoVertex/ConfigurableVertexReco/interface/ConfigurableVertexFitter.h>
Public Types | |
typedef CachingVertex < 5 >::RefCountedVertexTrack | RefCountedVertexTrack |
Public Member Functions | |
ConfigurableVertexFitter * | clone () const |
Fit vertex out of a VertexSeed. | |
ConfigurableVertexFitter (const ConfigurableVertexFitter &o) | |
ConfigurableVertexFitter (const edm::ParameterSet &) | |
CachingVertex< 5 > | vertex (const vector< RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const |
CachingVertex< 5 > | vertex (const vector< reco::TransientTrack > &tracks, const reco::BeamSpot &beamSpot) const |
Fit vertex out of a set of TransientTracks. | |
CachingVertex< 5 > | vertex (const vector< reco::TransientTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const |
Fit vertex out of a set of TransientTracks. | |
CachingVertex< 5 > | vertex (const vector< reco::TransientTrack > &tracks, const GlobalPoint &linPoint) const |
Fit vertex out of a set of TransientTracks. | |
CachingVertex< 5 > | vertex (const vector< RefCountedVertexTrack > &tracks) const |
CachingVertex< 5 > | vertex (const std::vector< reco::TransientTrack > &t) const |
~ConfigurableVertexFitter () | |
Private Attributes | |
AbstractConfFitter * | theFitter |
) 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 errorNoFitter(), VertexFitterManager::get(), edm::ParameterSet::getParameter(), VertexFitterManager::Instance(), and theFitter.
Referenced by clone().
00025 : theFitter ( 0 ) 00026 { 00027 string fitter=p.getParameter<string>("fitter"); 00028 theFitter = VertexFitterManager::Instance().get ( fitter ); 00029 if (!theFitter) 00030 { 00031 errorNoFitter ( fitter ); 00032 } 00033 theFitter->configure ( p ); 00034 }
ConfigurableVertexFitter::ConfigurableVertexFitter | ( | const ConfigurableVertexFitter & | o | ) |
ConfigurableVertexFitter::~ConfigurableVertexFitter | ( | ) |
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().
00047 { 00048 return new ConfigurableVertexFitter ( *this ); 00049 }
CachingVertex< 5 > ConfigurableVertexFitter::vertex | ( | const vector< RefCountedVertexTrack > & | tracks, | |
const GlobalPoint & | priorPos, | |||
const GlobalError & | priorError | |||
) | const |
Definition at line 83 of file ConfigurableVertexFitter.cc.
References theFitter, and AbstractConfFitter::vertex().
CachingVertex< 5 > ConfigurableVertexFitter::vertex | ( | const 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 >.
Definition at line 77 of file ConfigurableVertexFitter.cc.
References theFitter, and AbstractConfFitter::vertex().
CachingVertex< 5 > ConfigurableVertexFitter::vertex | ( | const 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 >.
Definition at line 70 of file ConfigurableVertexFitter.cc.
References theFitter, and AbstractConfFitter::vertex().
CachingVertex< 5 > ConfigurableVertexFitter::vertex | ( | const 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 >.
Definition at line 64 of file ConfigurableVertexFitter.cc.
References theFitter, and AbstractConfFitter::vertex().
CachingVertex< 5 > ConfigurableVertexFitter::vertex | ( | const vector< RefCountedVertexTrack > & | tracks | ) | const |
Definition at line 58 of file ConfigurableVertexFitter.cc.
References theFitter, and AbstractConfFitter::vertex().
CachingVertex< 5 > ConfigurableVertexFitter::vertex | ( | const std::vector< reco::TransientTrack > & | t | ) | const |
Definition at line 52 of file ConfigurableVertexFitter.cc.
References theFitter, and AbstractConfFitter::vertex().
Definition at line 41 of file ConfigurableVertexFitter.h.
Referenced by ConfigurableVertexFitter(), and vertex().