00001
00009 #include "Alignment/LaserAlignment/plugins/LaserAlignment.h"
00010
00011 void LaserAlignment::alignmentAlgorithm(edm::ParameterSet const& theAlgorithmConf,
00012 AlignableTracker * theAlignableTracker)
00013 {
00014
00015
00016
00017
00018
00019
00020 if (theAlignPosTEC)
00021 {
00022
00023 theLASAlignPosTEC->alignment(theAlgorithmConf, theAlignableTracker,
00024 theNumberOfIterations,
00025 theNumberOfAlignmentIterations, theLaserPhi,
00026 theLaserPhiError);
00027 }
00028
00029 if (theAlignNegTEC)
00030 {
00031
00032 theLASAlignNegTEC->alignment(theAlgorithmConf, theAlignableTracker,
00033 theNumberOfIterations,
00034 theNumberOfAlignmentIterations,
00035 theLaserPhi, theLaserPhiError);
00036 }
00037
00038 if (theAlignTEC2TEC)
00039 {
00040
00041 theLASAlignTEC2TEC->alignment(theAlgorithmConf, theAlignableTracker,
00042 theNumberOfIterations,
00043 theNumberOfAlignmentIterations, theLaserPhi,
00044 theLaserPhiError);
00045 }
00046
00047
00048 theLaserPhi.clear();
00049 theLaserPhiError.clear();
00050
00051
00052 theNumberOfAlignmentIterations++;
00053 }
00054
00055