|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONR4__MUONPATTERNHELPERS_CALIBSEGMENTCHI2MINIMZER_H
5 #define MUONR4__MUONPATTERNHELPERS_CALIBSEGMENTCHI2MINIMZER_H
8 #include "Acts/Seeding/HoughTransformUtils.hpp"
17 #include <Math/Minimizer.h>
20 class ISpacePointCalibrator;
24 using HitType = std::unique_ptr<CalibratedSpacePoint>;
29 const EventContext& ctx,
36 double DoEval(
const double*
pars)
const override final;
80 #endif // MUONR4__MuonSegmentFitHelperFunctions__H
const Amg::Transform3D & localToGlobTrans() const
Returns the local to global transformation.
CalibSegmentChi2Minimizer(const std::string &name, const EventContext &ctx, const Amg::Transform3D &locToGlobTrf, HitVec &&hits, const ISpacePointCalibrator *calibrator, bool doT0Fit)
Constructor taking the input hits to fit.
std::vector< HitType > HitVec
bool const RAWDATA *ch2 const
CalibSegmentChi2Minimizer * Clone() const override final
Clone of the object.
std::unique_ptr< CalibratedSpacePoint > HitType
double segmentChi2TermMdt(const CalibratedSpacePoint &hit, const Amg::Vector3D &chamberIsect, const Amg::Vector3D &segmentDir) const
double DoEval(const double *pars) const override final
Evaluate the chi2 for the given set of parameters.
Eigen::Affine3d Transform3D
bool doTimeFit() const
Does the fit include the time.
bool hasPhiMeas() const
Are phi measurements in the collection.
Class to provide easy MsgStream access and capabilities.
HitVec m_hits ATLAS_THREAD_SAFE
HitVec release(const double *pars)
Releases all measurements.
unsigned int NDim() const override final
Degrees of freedom.
double segmentChi2TermStrip(const CalibratedSpacePoint &hit, const Amg::Vector3D &chamberIsect, const Amg::Vector3D &segmentDir) const
Definition of ATLAS Math & Geometry primitives (Amg)
const HitVec & measurements() const
Returns the used measurements.
Interface class to refine the space point calibration with an external seed.
Eigen::Matrix< double, 3, 1 > Vector3D
This header ties the generic definitions in this package.
int nDoF() const
Returns the degrees of freedom from the measurements & beamspot constraint.
The calibrated Space point is created during the calibration process.
Amg::Transform3D m_locToGlob
const EventContext & m_ctx
const ISpacePointCalibrator * m_calibrator
std::vector< double > chi2Terms(const double *pars) const
Returns the contribution of each measurement to the chi2.