LCFIVertex
0.7.2
|
Gaussian tube component of the vertex function. More...
#include <gausstube.h>
Public Member Functions | |
GaussTube (Track *Track) | |
Construct from a Track, makes a trackstate for its own use. More... | |
~GaussTube () | |
Delete tube and trackstate used. | |
double | valueAt (const Vector3 &Point) const |
Calculate the value of the tube at point. More... | |
GaussTube (Track *Track) | |
Construct from a Track, makes a trackstate for its own use. More... | |
~GaussTube () | |
Delete tube and trackstate used. | |
double | valueAt (const Vector3 &Point) const |
Calculate the value of the tube at point. More... | |
Gaussian tube component of the vertex function.
Gaussian Tube in detector space (usually representing a track) The track position and size are determined by the position and covariance matrix of a given Track by:
where r is the vector from to query point to the closest point on the track and V is the covariance matrix of the track. (Both in rPhi,z space)
Note this is a deliberatly unnormalised gaussian.
The Track is not modified at any point by this class
This guassian tube makes its own trackstate object from the track given at construction which it uses to perform the calculation.
Definition at line 31 of file include/vertex_lcfi/zvtop/include/gausstube.h.
vertex_lcfi::ZVTOP::GaussTube::GaussTube | ( | Track * | Track | ) |
Construct from a Track, makes a trackstate for its own use.
As a trackstate is made from the track, note that any changes to the track will not propogate to the tube.
Definition at line 8 of file gausstube.cpp.
vertex_lcfi::ZVTOP::GaussTube::GaussTube | ( | Track * | Track | ) |
|
virtual |
Calculate the value of the tube at point.
Swims the track to the point of closest approach and calculate the tube value.
Point | Vector3 of the spacial point |
Implements vertex_lcfi::ZVTOP::VertexFunctionElement.
Definition at line 14 of file gausstube.cpp.
References vertex_lcfi::TrackState::distanceTo(), vertex_lcfi::TrackState::distanceTo2(), vertex_lcfi::Track::helixRep(), vertex_lcfi::TrackState::inversePositionCovarMatrix(), vertex_lcfi::TrackState::parentTrack(), vertex_lcfi::TrackState::swimToStateNearest(), vertex_lcfi::TrackState::swimToStateNearestXY(), and vertex_lcfi::TrackState::xyDistanceTo().
|
virtual |
Calculate the value of the tube at point.
Swims the track to the point of closest approach and calculate the tube value.
Point | Vector3 of the spacial point |
Implements vertex_lcfi::ZVTOP::VertexFunctionElement.