# BEGIN ANSIBLE MANAGED BLOCK WIKIEDITOR #17.01.14-> wfLoadExtension( 'WikiEditor' ); # ## Enables/disables use of WikiEditor by default but still allow users to disable it in preferences #$wgDefaultUserOptions['usebetatoolbar'] = 1; #$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1; # ## Displays the Preview and Changes tabs #$wgDefaultUserOptions['wikieditor-preview'] = 0; # ## Displays the Publish and Cancel buttons on the top right side #$wgDefaultUserOptions['wikieditor-publish'] = 0; #17.01.14<- # END ANSIBLE MANAGED BLOCK WIKIEDITOR Changes - EIC

# Changes

,  15:11, 28 March 2017
no edit summary
Line 50: Line 50:
== Miscellaneous scripts ==

== Miscellaneous scripts ==
+
This section lists some useful scripts that can be used for diagnosing problems or simply cross-checking magnet implementations and such.  These macros and scripts can be found in the directory /direct/eic+u/rmpetti/workarea/roman_pots/macros.
+
+
Before any simulations are launched in any detail, it is important to ensure that the placement of the beam line and IR magnets are in the proper place, as problems of this nature have been observed in the past.  To test a specific magnet setup, launch the simulation (/direct/eic+u/rmpetti/workarea/roman_pots/sim/simulation.C) for one single event.  Also, change the input argument denoted "box" in the function simulation to "true".  This will generate nine tracks used as benchmarks, one proton at beam energy (this may need to be adjusted inside the script depending on what energy is being studied), one proton at beam energy, but emitted at an angle of 4 mrad, another at -4 mrad, one with 20% less than beam energy, two with 20% less than beam energy and at an angle of +/- 4mrad, one photon at zero degrees (for the neutral line) and two photon tracks at +/- 4 mrad indicating the nominal neutron cone needed.  Then run verifyParticleTracking_rr.C in the macro directory over the output of the simulation to produce a plot showing in the x-z plane the magnet apertures and the paths of each track.  The macro may have to be compiled first (run a the command line as root verifyParticleTracking_rr.C++).
154

edits