ATLAS Offline Software
InnerDetector
InDetAlignTools
InDetSurveyConstraintTool
src
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
14
#include "
InDetSurveyConstraintTool/SurveyConstraintPoint.h
"
15
#include <vector>
16
17
#include "
EventPrimitives/EventPrimitives.h
"
18
#include "
GeoPrimitives/GeoPrimitives.h
"
19
20
class
SimpleConstraintPointMinimizer
{
21
public
:
22
// describe the maximum distance from the origin to include in the
23
// minimization
24
SimpleConstraintPointMinimizer
(
double
proximity);
25
~SimpleConstraintPointMinimizer
() =
default
;
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
:
35
double
m_proximity
;
36
};
37
38
#endif
SimpleConstraintPointMinimizer::m_proximity
double m_proximity
Definition:
SimpleConstraintPointMinimizer.h:35
SimpleConstraintPointMinimizer
Definition:
SimpleConstraintPointMinimizer.h:20
SurveyConstraintPoint.h
GeoPrimitives.h
SimpleConstraintPointMinimizer::secondMinimum
double secondMinimum(const std::vector< SurveyConstraintPoint > &points, Amg::Vector3D &aRotat1, Amg::Vector3D &translate1, Amg::Vector3D &aRotat2, Amg::Vector3D &translate2)
Definition:
SimpleConstraintPointMinimizer.cxx:77
SimpleConstraintPointMinimizer::SimpleConstraintPointMinimizer
SimpleConstraintPointMinimizer(double proximity)
Definition:
SimpleConstraintPointMinimizer.cxx:18
EventPrimitives.h
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition:
GeoPrimitives.h:47
SimpleConstraintPointMinimizer::findMinimum
double findMinimum(const std::vector< SurveyConstraintPoint > &points, Amg::Vector3D &aRotat, Amg::Vector3D &translate)
Definition:
SimpleConstraintPointMinimizer.cxx:25
SimpleConstraintPointMinimizer::~SimpleConstraintPointMinimizer
~SimpleConstraintPointMinimizer()=default
jobOptions.points
points
Definition:
jobOptions.GenevaPy8_Zmumu.py:97
Generated on Sun Dec 22 2024 21:18:11 for ATLAS Offline Software by
1.8.18