diff --git a/Software/Arduino/ResetAndControlStepperMotors216/ResetAndControlStepperMotors216.ino b/Software/Arduino/ResetAndControlStepperMotors216/ResetAndControlStepperMotors216.ino index e240169..b18dde0 100644 --- a/Software/Arduino/ResetAndControlStepperMotors216/ResetAndControlStepperMotors216.ino +++ b/Software/Arduino/ResetAndControlStepperMotors216/ResetAndControlStepperMotors216.ino @@ -74,14 +74,20 @@ // Hans410 sensor. // Move the laser 3.60 cm (7200 steps) away from the x micro switch // const int stepsFromXSwitch = 7200; -// Move the laser 1.80 cm (3600) away from the z micro switch +// Move the laser 1.80 cm (3600 steps) away from the z micro switch // const int stepsFromZSwitch = 3600; // Hans320 sensor. // Move the laser 5.40 cm (10800 steps) away from the x micro switch -const int stepsFromXSwitch = 10800; -// Move the laser 1.80 cm (3600) away from the z micro switch -const int stepsFromZSwitch = 3600; +// const int stepsFromXSwitch = 10800; +// Move the laser 1.80 cm (3600 steps) away from the z micro switch +// const int stepsFromZSwitch = 3600; + +// ATLAS sensor. +// Move the laser ? cm (? steps) away from the x micro switch +const int stepsFromXSwitch = 10600; +// Move the laser ? cm (? steps) away from the z micro switch +const int stepsFromZSwitch = 2200; // Total number of steps we need along x. // const int totStepsX = 200; diff --git a/Software/LaserDelayScan/LaserDelayScan.C b/Software/LaserDelayScan/LaserDelayScan.C index e26e488..9a4f19e 100644 --- a/Software/LaserDelayScan/LaserDelayScan.C +++ b/Software/LaserDelayScan/LaserDelayScan.C @@ -203,8 +203,8 @@ // Fit with a polynomial function of degree 2 and get the delay and the signal at the peak. // gStyle->SetOptFit(0011); - float minFit = 55.; - float maxFit = 90.; + float minFit = 47.; + float maxFit = 75.; TF1 *fpol2 = new TF1("fpol2","pol2",minFit,maxFit); glaserDelayScan->Fit("fpol2","R");