#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 22 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 36 of file SurveyAlignment.cc.
References gather_cfg::cout, AlignmentParameters::covariance(), MillePedeFileConverter_cfg::e, MillePedeFileConverter_cfg::fileName, findAlignPars(), mps_fire::i, dqmiolumiharvest::j, MillePedeFileConverter_cfg::out, AlignmentParameters::parameters(), shiftSensors(), theSensors, and tolerance.
|
protectedvirtual |
Apply the alignment parameters to all sensors.
Definition at line 12 of file SurveyAlignment.cc.
References Alignable::alignmentParameters(), mps_fire::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 39 of file SurveyAlignment.h.
Referenced by SurveyAlignmentPoints::findAlignPars(), and SurveyAlignmentSensor::findAlignPars().
|
protected |
Definition at line 38 of file SurveyAlignment.h.
Referenced by SurveyAlignmentPoints::findAlignPars(), SurveyAlignmentSensor::findAlignPars(), iterate(), and shiftSensors().