ATLAS Offline Software
Loading...
Searching...
No Matches
SimpleConstraintPointMinimizer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5// ------------------------------------------------------------------------------
6// Description: class SimpleConstraintPointMinimizer. Simple implementation
7// of the constraint point minimizer
8//
9// Authors: Tobias Golling, 10/27/2005
10// ------------------------------------------------------------------------------
11#ifndef SIMPLECONSTRAINTPOINTMINIMIZER_HH
12#define SIMPLECONSTRAINTPOINTMINIMIZER_HH
13
15#include <vector>
16
19
21 public:
22 // describe the maximum distance from the origin to include in the
23 // minimization
24 SimpleConstraintPointMinimizer(double proximity);
26 // minimize via a trivial algorithm which weights all points and dimensions
27 // equally
28 double findMinimum(const std::vector<SurveyConstraintPoint>& points,
29 Amg::Vector3D& aRotat, Amg::Vector3D& translate);
30 double secondMinimum(
31 const std::vector<SurveyConstraintPoint>& points,
32 Amg::Vector3D& aRotat1, Amg::Vector3D& translate1,
33 Amg::Vector3D& aRotat2, Amg::Vector3D& translate2);
34 private:
36};
37
38#endif
double findMinimum(const std::vector< SurveyConstraintPoint > &points, Amg::Vector3D &aRotat, Amg::Vector3D &translate)
double secondMinimum(const std::vector< SurveyConstraintPoint > &points, Amg::Vector3D &aRotat1, Amg::Vector3D &translate1, Amg::Vector3D &aRotat2, Amg::Vector3D &translate2)
Eigen::Matrix< double, 3, 1 > Vector3D