Changes

Jump to navigation Jump to search
Line 113: Line 113:     
==Fitting the Position of Each Bundle Support Mounting Rod to a Straight Line==
 
==Fitting the Position of Each Bundle Support Mounting Rod to a Straight Line==
At this point the exact location for each bundle support rod is known. These locations place the scintillating fibers of each bundle support at their optimal location. Unfortunately these locations deviate slightly from a straight line. To correct this deviation and find a compromise the their location that's within the TAGM required tolerance, we must use ROOT and fit a first order polynomial to the calculated locations. A template [https://zeus.phys.uconn.edu/halld/tagger/TAGM-4-2021/TAGM_9_2GeV_Bundle_Rod_Fit.C C++ file] has been written for this purpose. Once the arrays used for the rods' x and y locations are updated for the desired tagging energy spectrum, then the macro can be run or the code can be copy & pasted directly into ROOT's command line. The generated histograms, for the forward and rear rods, can then be fitted to a first order polynomial (pol1) using the Fitting Tool. Several fit equations are already recorded in a text file [http (TAGM_Weights.txt)]. The fits are then utilized back in the Excel file to determine the "Y-Fit" location for each rod X location. This way the parallel rails can be orientated based on these numbers and the three rail components required for the TAGM move can be designed.
+
At this point the exact location for each bundle support rod is known. These locations place the scintillating fibers of each bundle support at their optimal location. Unfortunately these locations deviate slightly from a straight line. To correct this deviation and find a compromise the their location that's within the TAGM required tolerance, we must use ROOT and fit a first order polynomial to the calculated locations. A template [https://zeus.phys.uconn.edu/halld/tagger/TAGM-4-2021/TAGM_9_2GeV_Bundle_Rod_Fit.C C++ file] has been written for this purpose. Once the arrays used for the rods' x and y locations are updated for the desired tagging energy spectrum, then the macro can be run or the code can be copy & pasted directly into ROOT's command line. The generated histograms, for the forward and rear rods, can then be fitted to a first order polynomial (pol1) using the Fitting Tool. Several fit equations are already recorded in a [https://zeus.phys.uconn.edu/halld/tagger/TAGM-4-2021/TAGM_Weights.C fit function repository file]. The fits are then utilized back in the Excel file to determine the "Y-Fit" location for each rod X location. This way the parallel rails can be orientated based on these numbers and the three rail components required for the TAGM move can be designed.
     
581

edits

Navigation menu