added ISS spec.

This commit is contained in:
Ryan@fsunuc 2023-01-24 11:40:45 -05:00
parent a57183f8bb
commit 0ee7ea6eaf
3 changed files with 14 additions and 6 deletions

View File

@ -247,10 +247,10 @@ function SetSSType(){
nDet = 10; nDet = 10;
} }
if ( iss == true ) { if ( iss == true ) {
perpDistant = 20; perpDistant = 28.75;
detGap = 5; detGap = 0.5;
detLen = 100; detLen = 125;
nDet = 5; nDet = 4;
} }
arrayLen = detLen * nDet + detGap * (nDet-1); arrayLen = detLen * nDet + detGap * (nDet-1);
@ -593,8 +593,8 @@ function CalThetaCM(){
let p1 = (arrayPos[i][0] + detLen * (100. - xGate)/200.); let p1 = (arrayPos[i][0] + detLen * (100. - xGate)/200.);
let p2 = (arrayPos[i][1] - detLen * (100. - xGate)/200.); let p2 = (arrayPos[i][1] - detLen * (100. - xGate)/200.);
row.insertCell().innerHTML = arrayPos[i][0] + "(" + p1 + ")"; row.insertCell().innerHTML = arrayPos[i][0].toFixed(1) + "(" + p1.toFixed(1) + ")";
row.insertCell().innerHTML = arrayPos[i][1] + "(" + p2 + ")"; row.insertCell().innerHTML = arrayPos[i][1].toFixed(1) + "(" + p2.toFixed(1) + ")";
///Search thetaCM for Z ///Search thetaCM for Z
let a1 = SearchThetaCM(p1, angGate, k_cm, qb); let a1 = SearchThetaCM(p1, angGate, k_cm, qb);

View File

@ -102,6 +102,12 @@ if SSType == "SOLARIS" :
nSide="6" nSide="6"
pos=['58.6', '117.9', '176.8', '235.8', '294.0', '353.2', '412.1', '471.0', '530.0'] pos=['58.6', '117.9', '176.8', '235.8', '294.0', '353.2', '412.1', '471.0', '530.0']
if SSType == "ISS":
nSide="6"
prepDistant="28.75"
detWidth="27"
detLength="125"
pos=['125.5', '251', '376.5']
fn2 = "sim_detectorGeo.txt" fn2 = "sim_detectorGeo.txt"
f = open(fn2, "w") f = open(fn2, "w")

View File

@ -56,6 +56,8 @@
<input type="radio" name="SSType" value="HELIOS"/>HELIOS <input type="radio" name="SSType" value="HELIOS"/>HELIOS
<br> <br>
<input type="radio" name="SSType" value="SOLARIS" checked="checked"/>SOLARIS <input type="radio" name="SSType" value="SOLARIS" checked="checked"/>SOLARIS
<br>
<input type="radio" name="SSType" value="ISS"/>ISS
</tr> </tr>
<tr> <tr>
<td>B-field </td> <td>B-field </td>