#include <KalmanVertexFitter.h>
Public Types | |
typedef CachingVertex < 5 >::RefCountedVertexTrack | RefCountedVertexTrack |
Public Member Functions | |
KalmanVertexFitter * | clone () const |
KalmanVertexFitter (bool useSmoothing=false) | |
KalmanVertexFitter (const edm::ParameterSet &pSet, bool useSmoothing=false) | |
KalmanVertexFitter (const KalmanVertexFitter &other) | |
virtual CachingVertex< 5 > | vertex (const std::vector< reco::TransientTrack > &tracks) const |
virtual CachingVertex< 5 > | vertex (const std::vector< RefCountedVertexTrack > &tracks) const |
virtual CachingVertex< 5 > | vertex (const std::vector< RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) const |
virtual CachingVertex< 5 > | vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &linPoint) const |
virtual CachingVertex< 5 > | vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const |
virtual CachingVertex< 5 > | vertex (const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &beamSpot) const |
virtual CachingVertex< 5 > | vertex (const std::vector< RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const |
virtual | ~KalmanVertexFitter () |
Public Member Functions inherited from VertexFitter< 5 > | |
virtual CachingVertex< N > | vertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks) const =0 |
virtual CachingVertex< N > | vertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) const =0 |
virtual CachingVertex< N > | vertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const =0 |
VertexFitter () | |
virtual | ~VertexFitter () |
Private Member Functions | |
edm::ParameterSet | defaultParameters () const |
void | setup (const edm::ParameterSet &pSet, bool useSmoothing) |
Private Attributes | |
const SequentialVertexFitter< 5 > * | theSequentialFitter |
Least-squares vertex fitter implemented in the Kalman Filter formalism Fits vertex position and, if smoothing is requested at construction, constrains track parameters at the vertex. A beam spot constraint can also be specified in form of a 3D point and a 3D matrix describing a Gaussian beam spread. References:
`Vertex fitting with the Kalman filter formalism', T.speer, K.Prokofiev, R.Fruehwirth, CMS IN 2003/008
T.Speer, K.Prokofiev, R.Fruhwirth, W.Waltenberger, P.Vanlaer, "Vertex Fitting in the CMS Tracker", CMS Note 2006/032
P.Billoir, S.Qian, "Fast vertex fitting...", NIM A311 (1992) 139.
R.Fruhwirth, R.Kubinec, W.Mitaroff, M.Regler, Comp. Physics Comm. 96, 189 (1996)
P.Avery, lectures on track and vertex fitting"
Definition at line 22 of file KalmanVertexFitter.h.
Definition at line 54 of file KalmanVertexFitter.h.
KalmanVertexFitter::KalmanVertexFitter | ( | bool | useSmoothing = false | ) |
The constructor, setting everything up to have a VertexFitter using the Kalman algorithm.
useSmoothing | Specifies whether the tracks should be refit or not. |
Definition at line 11 of file KalmanVertexFitter.cc.
References defaultParameters(), and setup().
Referenced by clone().
KalmanVertexFitter::KalmanVertexFitter | ( | const edm::ParameterSet & | pSet, |
bool | useSmoothing = false |
||
) |
Same as above, using a ParameterSet to set the convergence criteria
Definition at line 17 of file KalmanVertexFitter.cc.
References setup().
|
inline |
Definition at line 39 of file KalmanVertexFitter.h.
|
inlinevirtual |
Definition at line 42 of file KalmanVertexFitter.h.
References theSequentialFitter.
|
inlinevirtual |
Fit vertex out of a VertexSeed
Implements VertexFitter< 5 >.
Definition at line 47 of file KalmanVertexFitter.h.
References KalmanVertexFitter().
|
private |
Definition at line 44 of file KalmanVertexFitter.cc.
References edm::ParameterSet::addParameter().
Referenced by KalmanVertexFitter().
|
private |
Default convergence criteria
Definition at line 22 of file KalmanVertexFitter.cc.
References theSequentialFitter.
Referenced by KalmanVertexFitter().
|
inlinevirtual |
Fit vertex out of a set of RecTracks
Implements VertexFitter< 5 >.
Definition at line 59 of file KalmanVertexFitter.h.
References theSequentialFitter, and SequentialVertexFitter< N >::vertex().
Referenced by KVFTest::analyze(), KineExample::analyze(), MultiVertexFitter::createSeed(), PFRecoTauDiscriminationByFlight::discriminate(), V0Fitter::fitAll(), PFDisplacedVertexFinder::fitVertexFromSeed(), HLTmmkkFilter::hltFilter(), HLTmmkFilter::hltFilter(), HLTDisplacedmumumuVtxProducer::produce(), HLTDisplacedmumuVtxProducer::produce(), HLTmumutkVtxProducer::produce(), PFTauSecondaryVertexProducer::produce(), HPSPFRecoTauAlgorithm::refitThreeProng(), ConversionVertexFinder::run(), CaloRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), PFRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), and MultiVertexFitter::updateSeeds().
|
inlinevirtual |
Fit vertex out of a set of VertexTracks
Definition at line 67 of file KalmanVertexFitter.h.
References theSequentialFitter, and SequentialVertexFitter< N >::vertex().
|
inlinevirtual |
Definition at line 73 of file KalmanVertexFitter.h.
References theSequentialFitter, and SequentialVertexFitter< N >::vertex().
|
inlinevirtual |
Fit vertex out of a set of RecTracks. Uses the specified linearization point.
Implements VertexFitter< 5 >.
Definition at line 84 of file KalmanVertexFitter.h.
References theSequentialFitter, and SequentialVertexFitter< N >::vertex().
|
inlinevirtual |
Fit vertex out of a set of RecTracks. 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 96 of file KalmanVertexFitter.h.
References theSequentialFitter, and SequentialVertexFitter< N >::vertex().
|
inlinevirtual |
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 108 of file KalmanVertexFitter.h.
References theSequentialFitter, and SequentialVertexFitter< N >::vertex().
|
inlinevirtual |
Fit vertex out of a set of VertexTracks. Uses the specified point and error as the prior estimate of the vertex. This position is not used to relinearize the tracks.
Definition at line 120 of file KalmanVertexFitter.h.
References theSequentialFitter, and SequentialVertexFitter< N >::vertex().
|
private |
Definition at line 137 of file KalmanVertexFitter.h.
Referenced by setup(), vertex(), and ~KalmanVertexFitter().