#include <SurveyAlignment.h>
Public Member Functions | |
void | iterate (unsigned int nIteration, const std::string &fileName, bool bias=false) |
Run the iteration: find residuals, write to output, shift sensors. More... | |
SurveyAlignment (const align::Alignables &sensors, const std::vector< align::StructureType > &levels) | |
Constructor to set the sensors and residual levels. More... | |
virtual | ~SurveyAlignment () |
Protected Member Functions | |
virtual void | findAlignPars (bool bias=false)=0 |
Find the alignment parameters for all sensors. More... | |
virtual void | shiftSensors () |
Apply the alignment parameters to all sensors. More... | |
Protected Attributes | |
const std::vector < align::StructureType > & | theLevels |
const align::Alignables & | theSensors |
Alignment using only survey info (no tracks) as a proof of principle.
Definition at line 16 of file SurveyAlignment.h.
SurveyAlignment::SurveyAlignment | ( | const align::Alignables & | sensors, |
const std::vector< align::StructureType > & | levels | ||
) |
Constructor to set the sensors and residual levels.
Definition at line 9 of file SurveyAlignment.cc.
|
inlinevirtual |
Definition at line 28 of file SurveyAlignment.h.
|
protectedpure virtual |
Find the alignment parameters for all sensors.
Implemented in SurveyAlignmentPoints, and SurveyAlignmentSensor.
Referenced by iterate().
void SurveyAlignment::iterate | ( | unsigned int | nIteration, |
const std::string & | fileName, | ||
bool | bias = false |
||
) |
Run the iteration: find residuals, write to output, shift sensors.
Definition at line 40 of file SurveyAlignment.cc.
References gather_cfg::cout, AlignmentParameters::covariance(), alignCSCRings::e, findAlignPars(), i, j, dbtoconf::out, AlignmentParameters::parameters(), shiftSensors(), theSensors, and SurveyOutput::write().
Referenced by SurveyAlignmentAlgorithm::initialize().
|
protectedvirtual |
Apply the alignment parameters to all sensors.
Definition at line 16 of file SurveyAlignment.cc.
References Alignable::alignmentParameters(), i, Alignable::move(), AlignmentParameters::parameters(), align::rectify(), makeMuonMisalignmentScenario::rot, Alignable::rotateInGlobalFrame(), Alignable::surface(), theSensors, AlignableSurface::toGlobal(), and align::toMatrix().
Referenced by iterate().
|
protected |
Definition at line 48 of file SurveyAlignment.h.
Referenced by SurveyAlignmentPoints::findAlignPars(), and SurveyAlignmentSensor::findAlignPars().
|
protected |
Definition at line 47 of file SurveyAlignment.h.
Referenced by SurveyAlignmentPoints::findAlignPars(), SurveyAlignmentSensor::findAlignPars(), iterate(), and shiftSensors().