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 C++ file [http: (TAGM_8GeV_Bundle_Rod_Fit.C)] 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 C++ [https://zeus.phys.uconn.edu/halld/tagger/TAGM-4-2021/TAGM_9_2GeV_Bundle_Rod_Fit.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.
      Line 123: Line 123:     
<ul>
 
<ul>
   <li style="padding-bottom: 16px;">Copy and paste the locations for the bundle support rods into the the fitting file [http: (TAGM_8GeV_Bundle_Rod_Fit.C)] and run in ROOT.</li>
+
   <li style="padding-bottom: 16px;">Copy and paste the locations for the bundle support rods into the the fitting [https://zeus.phys.uconn.edu/halld/tagger/TAGM-4-2021/TAGM_9_2GeV_Bundle_Rod_Fit.C file] and run in ROOT.</li>
   <li>Fit the histograms to a straight line and input the resulting fit equations into both [http TAGM_Weights.txt] and the Excel file [http (Bundle-Support-4-2021).] </li>
+
   <li>Fit the histograms to a straight line and input the resulting fit equations into both [https://zeus.phys.uconn.edu/halld/tagger/TAGM-4-2021/TAGM_Weights.C fit function repository file] and the [https://zeus.phys.uconn.edu/halld/tagger/TAGM-4-2021/Bundle-Support-4-2021.xlsx Excel file] for calculating bundle support locations </li>
 
   <ul>
 
   <ul>
 
       <li style="padding-bottom: 16px;">The Excel file will provide the "Fit-Y" locations that are used in the CAD drawing to design the three unique parallel rail pieces that are needed for each TAGM move.</li>
 
       <li style="padding-bottom: 16px;">The Excel file will provide the "Fit-Y" locations that are used in the CAD drawing to design the three unique parallel rail pieces that are needed for each TAGM move.</li>
581

edits

Navigation menu