From 0ee7ea6eaf44cd9108aa616019bab85195a3c20d Mon Sep 17 00:00:00 2001 From: "Ryan@fsunuc" Date: Tue, 24 Jan 2023 11:40:45 -0500 Subject: [PATCH] added ISS spec. --- heliosmatics.js | 12 ++++++------ simpleInput.py | 6 ++++++ simpleSim.html | 2 ++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/heliosmatics.js b/heliosmatics.js index f9d41f7..4af596f 100644 --- a/heliosmatics.js +++ b/heliosmatics.js @@ -247,10 +247,10 @@ function SetSSType(){ nDet = 10; } if ( iss == true ) { - perpDistant = 20; - detGap = 5; - detLen = 100; - nDet = 5; + perpDistant = 28.75; + detGap = 0.5; + detLen = 125; + nDet = 4; } arrayLen = detLen * nDet + detGap * (nDet-1); @@ -593,8 +593,8 @@ function CalThetaCM(){ let p1 = (arrayPos[i][0] + 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][1] + "(" + p2 + ")"; + row.insertCell().innerHTML = arrayPos[i][0].toFixed(1) + "(" + p1.toFixed(1) + ")"; + row.insertCell().innerHTML = arrayPos[i][1].toFixed(1) + "(" + p2.toFixed(1) + ")"; ///Search thetaCM for Z let a1 = SearchThetaCM(p1, angGate, k_cm, qb); diff --git a/simpleInput.py b/simpleInput.py index 4d667ab..699b19e 100755 --- a/simpleInput.py +++ b/simpleInput.py @@ -102,6 +102,12 @@ if SSType == "SOLARIS" : nSide="6" 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" f = open(fn2, "w") diff --git a/simpleSim.html b/simpleSim.html index 1a356fb..eee9c16 100644 --- a/simpleSim.html +++ b/simpleSim.html @@ -56,6 +56,8 @@ HELIOS
SOLARIS +
+ ISS B-field