26 template<DoFitTime FlagFitTime = DoFitTime::Y>
88 std::shared_ptr<const Setup<double>>
fKfSetup{};
Common constant definitions for the Kalman Filter library.
Setup representation for the Kalman-filter framework (header)
header file for the kf::Vertex class
KF-framework representation of the detector setup.
TrackParam classes of different types.
double fBeamX
Width of beamline constraint in X [cm].
double fBeamSigmaY
Sigma of beamline constraint in Y [cm].
void SetNofIterations(int n)
Set N of iterations for vertex fitting.
VertexFitter(std::shared_ptr< const Setup< double > > kfSetup)
VertexD GetGuessFromTheTarget() const
void SetNoConstrainToTargetZ()
Unset flag to constrain vertex to target.
bool IsConstrainToTargetZ() const
Getters.
~VertexFitter()=default
Destructor.
bool fConstrainToTargetZ
Flag to constrain vertex to target.
void SetNoRmsCut()
Unset cut in standard deviation for track inclusion.
double fBeamY
Width of beamline constraint in Y [cm].
void SetConstrainToTargetZ()
Set flag to constrain vertex to target.
std::shared_ptr< const Setup< double > > GetKfSetup() const
std::tuple< VertexD, std::vector< char > > FitVertex(const std::vector< const TrackParam< T > * > &tracks, const std::vector< const TrackParam< T > * > &linearizations, const VertexD &vtxGuess) const
Fit vertex from the given tracks.
void SetNoConstrainToBeamXY()
Unset flag to constrain vertex to beamline.
std::shared_ptr< const Setup< double > > fKfSetup
Kalman Filter setup.
void SetConstrainToBeamXY(double x, double y, double sigmaX, double sigmaY)
Set flag and values to constrain vertex to beamline.
VertexFitter()=default
Default constructor.
void dummy()
template instantiation dummy function
double fBeamSigmaX
Sigma of beamline constraint in X [cm].
double fRmsCut
Cut in standard deviation for track to be included in vertex fit.
void SetRmsCut(double c)
Set cut in standard deviation for track inclusion.
bool IsConstrainToBeamXY() const
void SetKfSetup(std::shared_ptr< const Setup< double > > kfSetup)
Set Kalman Filter setup.
int GetNofIterations() const
int fNofIterations
N of iterations for vertex fitting.
bool fConstrainToBeamXY
Flag to constrain vertex to beamline.