diff --git a/instruction.html b/instruction.html index d5c5110..45f937a 100644 --- a/instruction.html +++ b/instruction.html @@ -33,7 +33,7 @@
  • The easiest way to do DWBA and Monte Carlo Simulation is use the Simplied Interface
  • The kenimatic calculation is documented in Here.
  • The DWBA calucation is using Ptolemy. Here for more detail.
  • -
  • Past calculations can be found Here. Clear every day
  • +
  • Past calculations can be found Here. Clear every Monday.
  • diff --git a/simpleInput.py b/simpleInput.py index 91d7732..dce7bd7 100755 --- a/simpleInput.py +++ b/simpleInput.py @@ -9,7 +9,7 @@ def FindName(A, Z): ppp1 = result.find('Name:') ppp2 = result.find('|') return result[ppp1+5:ppp2] - + def FindAZ(AZ): result = subprocess.run(["../Cleopatra/IsotopeShort", AZ], stdout=subprocess.PIPE).stdout.decode('utf-8') pA = result.find('A:') @@ -27,6 +27,8 @@ target_AZ = form.getvalue('target_AZ') lRecoil_AZ = form.getvalue('lRecoil_AZ') +numEvent = form.getvalue('numEvent') + KEA = form.getvalue('KEA') BField = form.getvalue('BField') posArray = form.getvalue('posArray') @@ -73,7 +75,7 @@ f.write("0.000 //beam_angle_in_mrad\n") f.write("0.000 //beam_emittance_in_mrad\n") f.write("0.000 //beam_x-offset_in_mm\n") f.write("0.000 //beam_y-offset_in_mm\n") -f.write("100000 //number_of_event_generated\n") +f.write("%s //number_of_event_generated\n" % numEvent) f.write("false //isTargetScattering\n") f.write("0.913 //Target_density_in_g/cm3\n") f.write("2.2e-4 //Target_thickness_in_cm\n") @@ -164,7 +166,7 @@ if isDWBA == False: f.close() #================== write PlotConfig.txt (to be done) -fn5="PlotConfig.txt" +fn5="sim_PlotConfig.txt" plotStr="{" plotSize=len(plot) @@ -282,6 +284,10 @@ if pngName != "" : print ("
    Downlaod the Ex file" % (fnEx, fnEx)) print ("
    Downlaod the simulation root file") +if fn5 != "" : + print ("
    Downlaod the Plot Config file" % (fn5, fn5)) + + print ("


    #################################### programs text output") if isDWBA: print ("
    %s " % dwba_1) @@ -291,6 +297,8 @@ print ("
    %s " % result) print ("
    %s " % haha) print (plotStr) +print ("

    ") +print (ExList) print ("") print ("") diff --git a/simpleSim.html b/simpleSim.html index d01c059..db6a099 100644 --- a/simpleSim.html +++ b/simpleSim.html @@ -14,7 +14,7 @@
    -

    Reaction:

    +

    Reaction:

    @@ -39,6 +39,10 @@ + + + +
    Light recoil
    Number of events

    Detector:

    @@ -67,6 +71,8 @@

    DWBA and Ex List:

    + +

    for 2-nucleon transfer, Orbital take the form nL=X, where n is number of node, X is momnetum number.