|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONR4__MuonSegmentFitHelperFunctions__H
6 #define MUONR4__MuonSegmentFitHelperFunctions__H
9 #include "Acts/Seeding/HoughTransformUtils.hpp"
15 class CalibratedSpacePoint;
18 namespace SegmentFitHelpers{
66 const double timeShift,
67 std::optional<double> arrivalTime,
92 const double timeShift,
93 std::optional<double> arrivalTime,
116 const std::vector<const SpacePoint*>& uncalibHits,
151 std::optional<double> arrivalTime,
152 std::vector<std::unique_ptr<CalibratedSpacePoint>>&
hits,
157 #endif // MUONR4__MuonSegmentFitHelperFunctions__H
std::vector< int > driftSigns(const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const std::vector< const SpacePoint * > &uncalibHits, MsgStream &msg)
Calculates whether a segement line travereses the tube measurements on the left (-1) or right (1) sid...
AmgVector(toInt(ParamDefs::nPars)) Parameters
std::pair< std::vector< double >, double > postFitChi2PerMas(const SegmentFit::Parameters &segPars, std::optional< double > arrivalTime, std::vector< std::unique_ptr< CalibratedSpacePoint >> &hits, MsgStream &msg)
Calculates the chi2 per measurement and the chi2 itself after the fit is finished.
double chiSqTerm(const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &measurement, MsgStream &msg)
Calculates the chi2 contribuation to a linear segment line from an uncalibrated measurement.
int driftSign(const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &uncalibHit, MsgStream &msg)
Calculates whether a segement line travereses the tube measurement on the left (-1) or right (1) side...
double chiSqTermStrip(const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &measurement, MsgStream &msg)
Calculates the chi2 contribuation to a linear segment line from an uncalibrated strip measurement.
double chiSqTermMdt(const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &measurement, MsgStream &msg)
Calculates the chi2 contribuation to a linear segment line from an uncalibrated Mdt measurement.
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Eigen::Matrix< double, 3, 1 > Vector3D
This header ties the generic definitions in this package.
The calibrated Space point is created during the calibration process.
double chiSqTermBeamspot(const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const CalibratedSpacePoint &beamSpotMeas, MsgStream &msg)
Calculates the chi2 contribution from an external beam spot constraint.