file |
description |
fusrbv.f |
|
LEv12.f |
|
magnetic_fields/bmagfld.f |
Magnetic field routine (from Vasilis) not specific for any IR? |
magnetic_fields/bmagfld.ftn |
not standalone code (no linking needed) - it is included by above |
magnetic_fields/*.dat |
Field maps for the different magnets |
magnetic_fields/usrglo.f |
Custom global initialization for magnetic field routines |
mgdraw_DS.R3.f |
Dump primary particles exiting from the beam vacuum |
mgdraw_DS.R7.f |
Dump primary particles exiting from the beam vacuum |
stuprf.f |
Eventually needed from mgdraw.f |
mgdraw_Dump.R3.f |
|
beamgas/source_beamgaslattice.f |
Sample beam-gas interaction (former name: source_beamgas.f) |
beamgas/source_beamgasgeneral.f |
new beam-gas interaction routine: sample gas densities per molecule species |
beamgas/mgdraw_idealPath.f |
routine to dump ideal path positions and direction cosines. To be used for above |
source_losses.f |
Load losses from the collimator loss map (all collimators) |
source_tcryo.f |
Load losses from the collimator loss map (TCryo collimators) |
Bnv's Magnetic Field Routine
Example of cards:
*
* meaning of WHATs:
* - first card:
* WHAT(1)=100.0: initialisation;
* WHAT(2), WHAT(3), WHAT(4): NLATT start, end, step;
* WHAT(5): field intensity (T, T/cm...);
* WHAT(6): not used;
* SDUM: name of the map (without .dat extension);
* - second card:
* WHAT(1), WHAT(2), WHAT(3): poisition of the magnet in real geometry [cm];
* WHAT(4), WHAT(5), WHAT(6): orientation angles of the magnet in real geometry;
* (Rx, Ry, Rz) [rad]
*
* example of USRGCALL card
*
* 1. MQY.4R6 --------------------------------------------------------
USRGCALL 100. 1. 0.70100418 MQTL
USRGCALL 0.0 0.0 1.718E+04 0.0 0.0 0.0&
*
* 19. MB.A9R6 --------------------------------------------------------
USRGCALL 100. 19. 5.3533354 MB
USRGCALL -33.682278 0.031630.8346 0.0-0.01275 0.0&
*
* 22. MB.B9R6 --------------------------------------------------------
USRGCALL 100. 22. 5.3533354 MB
USRGCALL -57.640945 0.033196.6421 0.0-0.01785 0.0&
*
* 25. MQMC.9R6 -------------------------------------------------------
USRGCALL 100. 25. -.93610252 MQTL
USRGCALL -76.787683 0.034224.4607 0.0-0.0204 0.0&
*
* 26. MQM.9R6 --------------------------------------------------------
USRGCALL 100. 26. -.93609375 MQTL
USRGCALL -83.449845 0.034550.9927 0.0-0.0204 0.0&
*
--
VittorioBoccone - 06-Sep-2011 --
ReginaKwee - 19-Oct-2012