ATLAS Offline Software
Loading...
Searching...
No Matches
SurveyConstraintModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5//--------------------------------------------------------------------------
6// Description:
7// Class SurveyConstraintModule: Provides Bookkeeping for Survey
8// Constraint, Represents a single module
9//
10// Author List:
11// Tobias Golling
12//------------------------------------------------------------------------
13#ifndef SURVEYCONSTRAINTMODULE_HH
14#define SURVEYCONSTRAINTMODULE_HH
15
16#include "Identifier/Identifier.h"
20
21
22#include <vector>
23
25
26 public:
28
29 //constructor
34
36
37 //destructor
39
40 // get methods
43 Identifier moduleID() const;
44 bool isPixel();
46 unsigned int nModulePoints();
47 unsigned int nStavePoints();
48
49 // Selectors (const)
50 void getPoints( std::vector<SurveyConstraintPoint>&,
51 ModuleStatus mstat) const;
52
53 // Modifiers
54 void addStaveConstraintPoint( std::vector<SurveyConstraintPoint>& cPoints );
56 void set_globaltolocal(Amg::Transform3D& globaltolocal);
58
59 private:
60
66 std::vector<SurveyConstraintPoint> m_StavePoints;
67 std::vector<SurveyConstraintPoint> m_ModulePoints;
68};
69
70 // inline
80 {
81 return m_ModuleID;
82 }
84 {
85 return m_isPixel;
86 }
92 {
93 return m_ModulePoints.size();
94 }
96 {
97 return m_StavePoints.size();
98 }
99
100#endif
void addModuleConstraintPoint(const SurveyConstraintPoint &cPoint)
void set_DOCA_Vector(Amg::VectorX &DOCA_Vector)
std::vector< SurveyConstraintPoint > m_ModulePoints
void getPoints(std::vector< SurveyConstraintPoint > &, ModuleStatus mstat) const
Amg::VectorX DOCA_Vector() const
Amg::Transform3D get_globaltolocal()
std::vector< SurveyConstraintPoint > m_StavePoints
Amg::MatrixX DOCA_Matrix() const
void set_globaltolocal(Amg::Transform3D &globaltolocal)
void addStaveConstraintPoint(std::vector< SurveyConstraintPoint > &cPoints)
SurveyConstraintModule & operator=(const SurveyConstraintModule &)
assignment operator
SurveyConstraintModule()
defaukt constructor
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Affine3d Transform3D
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.