SOLARIS_Web_Simulation/simpleSim.html

261 lines
9.3 KiB
HTML
Raw Normal View History

2022-12-10 19:12:39 -05:00
<!DOCTYPE html>
<html>
<head>
</head>
<body>
2022-12-10 01:00:10 -05:00
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
</style>
<form action = "simpleInput.py" method = "POST" target = "uploaded">
<h3>Reaction:</h3>
<table>
2022-12-10 19:12:39 -05:00
<tr>
<td>Beam Energy</td>
<td><input type = "text" name = "KEA" size="5" value="10"/></td>
<td style="text-align:left">MeV/u</td>
</tr>
<tr>
<td>Beam </td>
2022-12-13 18:24:26 -05:00
<td><input type = "text" name = "beam_AZ" size="5" value="16O"/></td>
2022-12-11 00:53:52 -05:00
<td style="text-align:right">J<sup>&pi;</sup></td>
2022-12-10 19:12:39 -05:00
<td><input type = "text" name = "beam_Jpi" size="5" value="0+"/><td>
<td style="text-align:right">Ex:</td>
2022-12-10 19:12:39 -05:00
<td><input type = "text" name = "beam_Ex" size="5" value="0.00"/></td>
<td style="text-align:left">MeV</td>
</tr>
<tr>
<td>Target</td>
2022-12-13 18:24:26 -05:00
<td><input type = "text" name = "target_AZ" size="5" value="d"/></td>
</tr>
<tr>
<td>Light recoil</td>
2022-12-13 18:24:26 -05:00
<td><input type = "text" name = "lRecoil_AZ" size="5" value="p"/></td>
</tr>
</table>
<h3>Detector:</h3>
<table>
<tr>
2022-12-10 19:12:39 -05:00
<input type="radio" name="SSType" value="HELIOS"/>HELIOS
<br>
<input type="radio" name="SSType" value="SOLARIS" checked="checked"/>SOLARIS
</tr>
<tr>
<td>B-field </td>
2022-12-10 19:12:39 -05:00
<td><input type = "text" name = "BField" size="5" value="-2.5"/></td>
<td style="text-align:left">T (minus sign = field point to upstream)</td>
</tr>
<tr>
<td>Array Pos.</td>
2022-12-10 19:12:39 -05:00
<td><input type = "text" name = "posArray" size="5" value="-100"/></td>
<td style="text-align:left">mm (negative for upstream)</td>
</tr>
<tr>
<td>Recoil Pos.</td>
2022-12-10 19:12:39 -05:00
<td><input type = "text" name = "posRecoil" size="5" value="500"/></td>
<td style="text-align:left">mm (negative for upstream)</td>
</tr>
</table>
2022-12-11 00:53:52 -05:00
<h3>DWBA and E<sub>x</sub> List:</h3>
2022-12-10 02:35:56 -05:00
<table id="ExTable">
<tr>
2022-12-11 00:53:52 -05:00
<td> E<sub>x</sub> [MeV]</td>
<td> J<sup>&#960;</sup></td>
2022-12-10 02:35:56 -05:00
<td> Orbital </td>
</tr>
</tr>
2022-12-10 19:12:39 -05:00
<td><input type="text" name="Ex" size="5" value="0"/></td>
<td><input type="text" name="Jpi" size="5" value="3/2+"/></td>
<td><input type="text" name="Orb" size="5" value="0d3/2"/></td>
2022-12-10 02:35:56 -05:00
</tr>
<tr>
2022-12-10 02:35:56 -05:00
<td><button type="button" onclick="addRow()">Add Ex</button></td>
<td></td>
<td><button type="button" onclick="deleteRow()">Remove Ex</button></td>
</tr>
2022-12-10 02:35:56 -05:00
</table>
<p></p>
2022-12-11 00:53:52 -05:00
<input type="checkbox" name="DWBA" value="On"/>Cal. DWBA
2022-12-10 02:35:56 -05:00
<table>
<tr>
2022-12-10 02:35:56 -05:00
<td>Incoming Channel</td>
<td>
2022-12-10 19:12:39 -05:00
<select name="op1">
<option value="A" selected>D | An & Cai (2006), E < 183, 12 < A < 238</option>
<option value="H">D | Han, Shi, & Shen, (2006), E < 200 | 12 < A < 209</option>
<option value="B">D | Bojowald et al., (1988), 50 < E < 80 | 27 < A < 208</option>
<option value="K">P | Koning & Delaroche, (2009), E < 200 | 24 < A < 209 | Iso.Dep.</option>
<option value="V">P | Varner et al., (1991), 16 < E < 65 | 4 < A < 209</option>
<option value="M">P | Menet et al., (1971), 30 < E < 60 | 40 < A </option>
<option value="x">A=3 | Xu, Guo, Han, & Shen, (2011), E < 250 | 20 < A < 209 </option>
<option value="l">A=3 | Liang, Li, & Cai, (2009), E < 270 | All masses </option>
<option value="x">A=4 | Su & Han, (2015), E < 398 | 20 < A < 209 </option>
2022-12-10 02:35:56 -05:00
</select>
<td>
2022-12-10 02:35:56 -05:00
</tr>
<tr>
<td>Outgoing Channel</td>
2022-12-10 19:12:39 -05:00
<td>
<select name="op2">
<option value="A">D | An & Cai (2006), E < 183, 12 < A < 238</option>
<option value="H">D | Han, Shi, & Shen, (2006), E < 200 | 12 < A < 209</option>
<option value="B">D | Bojowald et al., (1988), 50 < E < 80 | 27 < A < 208</option>
<option value="K" selected>P | Koning & Delaroche, (2009), E < 200 | 24 < A < 209 | Iso.Dep.</option>
<option value="V">P | Varner et al., (1991), 16 < E < 65 | 4 < A < 209</option>
<option value="M">P | Menet et al., (1971), 30 < E < 60 | 40 < A </option>
<option value="x">A=3 | Xu, Guo, Han, & Shen, (2011), E < 250 | 20 < A < 209 </option>
<option value="l">A=3 | Liang, Li, & Cai, (2009), E < 270 | All masses </option>
<option value="x">A=4 | Su & Han, (2015), E < 398 | 20 < A < 209 </option>
</select>
<td>
</tr>
</table>
2022-12-10 02:35:56 -05:00
2022-12-10 19:12:39 -05:00
<h3> Plot config (still working on):</h3>
<input type="checkbox" name="plot" value="pEZ" checked/>E vs Z<br>
<input type="checkbox" name="plot" value="pExCal" checked/>Ex (cal.)<br>
<input type="checkbox" name="plot" value="pThetaCM" checked/>ThetaCM<br>
<input type="checkbox" name="plot" value="pThetaCM_Z" checked/>ThetaCM vs Z<br>
<input type="checkbox" name="plot" value="pRecoilXY" checked/>Recoil X vs Y<br>
<input type="checkbox" name="plot" value="pRecoilRThetaCM"/>Recoil-R vs ThetaCM<br>
<input type="checkbox" name="plot" value="pRecoilRZ"/>Recoil R vs Z<br>
<input type="checkbox" name="plot" value="pArrayXY"/>Array X vs Y<br>
<p></p>
<input type="checkbox" name="gate" value="hit==1" checked/>Array Hit<br>
<input type="checkbox" name="gate" value="loop<=1" checked/>Loop = 1<br>
<input type="checkbox" name="gate" value="thetaCM>10" checked/> ThetaCM > 10 deg<br>
2022-12-10 02:35:56 -05:00
<p></p>
2022-12-10 19:12:39 -05:00
<input type = "submit" value = "Submit and Run Simulation" style="width:200px;height:60px;" />
</form>
2022-12-15 17:28:32 -05:00
<hr style="height:4px;background-color:#F7CF3C; border-style:none; border-width:none">
<h2>Advanced control</h2>
<!-- ////////////////////////////////////////// -->
<table>
<tr>
<td>Download Sample files:</td>
<td style="text-align:left">
<a href="sample_files/reactionConfig_sample.txt" download="reactionConfig.txt">Reaction File</a>
</td>
</tr>
<tr>
<td></td>
<td style="text-align:left">
<a href="sample_files/detectorGeo_SOLARIS_sample.txt" download="detectorGeo_SOLAIRS.txt">DetectorGeo (SOLARIS) File</a>
</td>
</tr>
<tr>
<td></td>
<td style="text-align:left">
<a href="sample_files/detectorGeo_HELIOS_sample.txt" download="detectorGeo_HELIOS.txt">DetectorGeo (HELIOS) File</a>
</td>
</tr>
<tr>
<td></td>
<td style="text-align:left">
<a href="sample_files/Ex_sample.txt" download="Ex.txt">Ex File</a>
</td>
</tr>
<tr>
<td></td>
<td style="text-align:left">
<a href="sample_files/DWBA_sample.txt" download="DWBA">DWBA File</a>
</td>
</tr>
<tr>
<td></td>
<td style="text-align:left">
<a href="sample_files/PlotConfig_sample.txt" download="PlotConfig.txt">Plot Config File</a>
</td>
</tr>
</table>
<p></p><!-- ////////////////////////////////////////// -->
<form enctype = "multipart/form-data" action = "Simulation_gateway.py" method = "post" target="uploaded">
<table>
<tr>
<td style="text-align:right" width="200">Reaction File </td>
<td><input type = "file" name = "filename1" /> </td>
</tr>
<tr>
<td style="text-align:right" width="200">DetectorGeo File </th>
<td><input type = "file" name = "filename2" /> </td>
</tr>
<tr>
<td style="text-align:right" width="200">Ex File </th>
<td><input type = "file" name = "filename3" /> </td>
</tr>
<tr>
<td style="text-align:right" width="200">DWBA File ^ </th>
<td><input type = "file" name = "filename4" /> </td>
</tr>
<tr>
<td style="text-align:right" width="200">*.in File ^ </th>
<td><input type = "file" name = "filename4a" /> </td>
</tr>
<tr>
<td style="text-align:right" width="200">Plot Config File * </th>
<td><input type = "file" name = "filename5" /> </td>
</tr>
<tr>
<td>^ can be alone <br>* can be omitted</th>
<td><input type = "submit" value = "Upload & Run Simulation" style="height:50px; width:200px"/> </td>
</tr>
</table>
</form>
<ul>
<li>File name can be customized.</li>
<li>For kinematic simulation, only the reactionConfig.txt, detectorGeo.txt, and Ex.txt are needed.</li>
<li>For DWBA calculation, only the DWBA file is needed.</li>
<li>When the DWBA file is presented, the kinematic simulation will use the DWBA result and also the excitation energy. i.e. the user provide Ex.txt will not be used.</li>
<li>User can use a customs in File for DWBA calculation. Once the in File exist, it ignores the DWBA file.</li>
<li>To change DWBA angular range, download the in file, edit it. But becareful, DWBA for kinematic simulation must be 0 -180 deg.</li>
</ul>
</body>
2022-12-10 02:35:56 -05:00
<script>
function addRow() {
var table = document.getElementById("ExTable");
var nRow = table.rows.length;
var row = table.insertRow(nRow-1);
2022-12-11 00:53:52 -05:00
row.innerHTML = '<td><input type="text" name="Ex" size="5" /></td> \
2022-12-10 19:12:39 -05:00
<td><input type="text" name="Jpi" size="5"/></td> \
<td><input type="text" name="Orb" size="5"/></td>';
2022-12-10 02:35:56 -05:00
}
function deleteRow(){
var table = document.getElementById("ExTable");
var nRow = table.rows.length;
if ( nRow > 3){
table.deleteRow(nRow-2);
}
}
</script>
</html>