9 const std::vector<align::StructureType>&
levels):
18 for (
unsigned int i = 0;
i < nSensor; ++
i)
29 if ( !res.
valid() )
continue;
33 unsigned int nPoints = residuals.size();
35 for (
unsigned int j = 0; j < nPoints; ++j)
43 e(1) = lr.
x();
e(2) = lr.
y();
e(3) = lr.
z();
45 sumJVe += J * (V *
e);
46 sumJVJT += V.similarity(J);
51 sumJVJT.invert(dummy);
52 sumJVe = -sumJVJT * sumJVe;
const align::Alignables & theSensors
const std::vector< align::StructureType > & theLevels
void findAlignPars(bool bias=false) override
Find the alignment parameters for all sensors.
const SurveyDet * survey() const
Return survey info.
AlgebraicMatrix derivatives(unsigned int index) const
void setAlignmentParameters(AlignmentParameters *dap)
Set the AlignmentParameters.
CLHEP::HepMatrix AlgebraicMatrix
CLHEP::HepVector AlgebraicVector
align::LocalVectors pointsResidual() const
std::vector< Alignable * > Alignables
std::vector< LocalVector > LocalVectors
CLHEP::HepSymMatrix AlgebraicSymMatrix
SurveyAlignmentPoints(const align::Alignables &sensors, const std::vector< align::StructureType > &levels)
Constructor to set the sensors and residual levels in base class.