Difference between revisions of "Radphi MonteCarlo"

From UConn PAN
Jump to navigation Jump to search
 
(56 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Generate events using the radphi event generator mcwrap.The file decayt.dat has been edited,the first line specifies the reaction of interest and the second line specifies number of events to generate.
+
===To generate Radphi Monte Carlo events steps below are followed:===
The generated file in this case omega.itape is moved to Gradphi/, then edit the events.in file add single line omega.itape.
+
*Edit the decayt.dat[http://zeus.phys.uconn.edu/~mokaya/decayt.dat] file and specify the reaction of interest and number of events to generate.
In control.in enter the number you want reconstructed that is change the TRIG value, then run gradphi.x.
+
*Run mcwrap[http://zeus.phys.uconn.edu/~mokaya/mcwrap], mcwrap requires cebaf.geom [http://zeus.phys.uconn.edu/~mokaya/cebaf.geom] to run, and specify output name.
 +
*:: ./mcwrap -l4.390 -u5.390 -comega
 +
*Output file generated with output_name.itape (omega.itape).
 +
*Move this file to the folder Gradphi.
 +
*Edit events.in[http://zeus.phys.uconn.edu/~mokaya/events.in] and control.in[http://zeus.phys.uconn.edu/~mokaya/control.in] files and the run gradphi.x[http://zeus.phys.uconn.edu/~mokaya/gradphi.x].
  
 +
===Resources needed to generate 100000000 events.===
 +
* The calculation below is based on 300,000 omega events that were  generated using mcwrap and simulated using gradphi on gluey.
 +
*To simulate 300,000 events it took 6840 seconds.
 +
<ul>
 +
<table border ="5">
 +
  <tr>
 +
    <td>Number generated(millions)</td>
 +
    <td>CPU time per event (s)</td>
 +
    <td>Output file size (MB)</td>
 +
    <td> Total time in days</td>
 +
  </tr> <tr>
 +
    <td>100</td>
 +
    <td>0.0216</td>
 +
    <td>59000 </td>
 +
    <td> 25 </td>
 +
  </tr>
 +
</table>
 +
</ul>
  
 +
===Results of the simulation===
 +
All results from this simulation are stored on the UConn srm.  They are available on the UConn cluster in the nfs mounted directory /pnfs/phys.uconn.edu/data/Gluex/radphi/omega_sim-6-2014 or remotely at the srm://grinch.phys.uconn.edu/Gluex/radphi/omega_sim-6-2014 url. Files in this directory are either raw simulation output or reconstructed simulation results in the form of root trees.  Files of the former type have the .itape extension and those of the latter type have the .root extension.  The file names indicate the simulated channel, as given in the list below.
 +
The events below were generated using a slope parameter of 8.0/GeV<sup>2</sup>. These data files are stored in the group dcache area under /pnfs/phys.uconn.edu/data/Gluex/radphi/omega_sim-6-2014.
 +
# 10<sup>8</sup> events of &gamma; p -> p (&omega; -> &pi;<sup>0</sup>&gamma;)
 +
#* 100 files of 1000000 events each
 +
#* files are named omega2p_sim_<i>nnn</i> where <i>nnn</i> = 1..100
 +
# 10<sup>8</sup> events of &gamma; p -> (&Delta;<sup>+</sup> -> p &pi;<sup>0</sup>) (&omega; -> &pi;<sup>0</sup> &pi;<sup>+</sup> &pi;<sup>-</sup>)
 +
#* 100 files of 1000000 events each
 +
#* files are named omega3D+p_sim_<i>nnn</i> where <i>nnn</i> = 101..200
 +
# 10<sup>8</sup> events of &gamma; p -> (&Delta;<sup>+</sup> -> p &pi;<sup>0</sup>) (&omega; -> &pi;<sup>0</sup>&gamma;)
 +
#* 100 files of 1000000 events each
 +
#* files are named omega2D+p_sim_<i>nnn</i> where <i>nnn</i> = 201..300
 +
# 10<sup>8</sup> events of &gamma; p -> (&Delta;<sup>+</sup> -> n &pi;<sup>+</sup>) (&omega; -> &pi;<sup>0</sup>&gamma;)
 +
#* 100 files of 1000000 events each
 +
#* files are named omega2D+n_sim_<i>nnn</i> where <i>nnn</i> = 301..400
 +
# 10<sup>8</sup> events of &gamma; n -> (&Delta;<sup>0</sup> -> p &pi;<sup>-</sup>) (&omega; -> &pi;<sup>0</sup>&gamma;)
 +
#* 100 files of 1000000 events each
 +
#* files are named omega2D0p_sim_<i>nnn</i> where <i>nnn</i> = 401..500
  
number generated
+
===Monte Carlo Events with Slope Parameter b=5.5/GeV<sup>2</sup>===
CPU time per event (s)
+
Monte Carlo events are generated with a new slope parameter of 5.5/GeV<sup>2</sup>. The previous results (shown above) were generated using a slope parameter of 8.0.
Output file size(MB)
+
10<sup>8</sup>  events are  generated and then simulated in the detector.
Total time (s)
+
To make this change edit the file decay.dat for each reaction of interest. Then the generation and simulation proceed as before.
Omega Yield
 
Time in minutes
 
Days
 
Average acceptance
 
300000
 
0.0216
 
177
 
6480
 
51980
 
1.8
 
0.075
 
0.1732666667
 
50000000
 
0.0216
 
29500
 
1080000
 
8663333.333
 
300
 
12.5
 
  
 +
These data files are stored in the group dcache area under /pnfs/phys.uconn.edu/data/Gluex/radphi/omega_sim-6-2014.
  
100000000
+
# 10<sup>8</sup> events of &gamma; p -> p (&omega; -> &pi;<sup>0</sup>&gamma;)
0.0216
+
#* 100 files of 1000000 events each
59000
+
#* files are named omega2p_sim_<i>nnn</i> where <i>nnn</i> = 1..100
2160000
+
# 10<sup>8</sup> events of &gamma; p -> (&Delta;<sup>+</sup> -> p &pi;<sup>0</sup>) (&omega; -> &pi;<sup>0</sup> &pi;<sup>+</sup> &pi;<sup>-</sup>)
17326666.67
+
#* 100 files of 1000000 events each
600
+
#* files are named omega3D+p_sim_<i>nnn</i> where <i>nnn</i> = 101..200
25
+
# 10<sup>8</sup> events of &gamma; p -> (&Delta;<sup>+</sup> -> p &pi;<sup>0</sup>) (&omega; -> &pi;<sup>0</sup>&gamma;)
 
+
#* 100 files of 1000000 events each
 
+
#* files are named omega2D+p_sim_<i>nnn</i> where <i>nnn</i> = 201..300
200000000
+
# 10<sup>8</sup> events of &gamma; p -> (&Delta;<sup>+</sup> -> n &pi;<sup>+</sup>) (&omega; -> &pi;<sup>0</sup>&gamma;)
0.0216
+
#* 100 files of 1000000 events each
118000
+
#* files are named omega2D+n_sim_<i>nnn</i> where <i>nnn</i> = 301..400
4320000
+
# 10<sup>8</sup> events of &gamma; n -> (&Delta;<sup>0</sup> -> p &pi;<sup>-</sup>) (&omega; -> &pi;<sup>0</sup>&gamma;)
34653333.33
+
#* 100 files of 1000000 events each
1200
+
#* files are named omega2D0p_sim_<i>nnn</i> where <i>nnn</i> = 401..500
50
 

Latest revision as of 13:36, 22 September 2014

To generate Radphi Monte Carlo events steps below are followed:

  • Edit the decayt.dat[1] file and specify the reaction of interest and number of events to generate.
  • Run mcwrap[2], mcwrap requires cebaf.geom [3] to run, and specify output name.
    ./mcwrap -l4.390 -u5.390 -comega
  • Output file generated with output_name.itape (omega.itape).
  • Move this file to the folder Gradphi.
  • Edit events.in[4] and control.in[5] files and the run gradphi.x[6].

Resources needed to generate 100000000 events.

  • The calculation below is based on 300,000 omega events that were generated using mcwrap and simulated using gradphi on gluey.
  • To simulate 300,000 events it took 6840 seconds.
    Number generated(millions) CPU time per event (s) Output file size (MB) Total time in days
    100 0.0216 59000 25

Results of the simulation

All results from this simulation are stored on the UConn srm. They are available on the UConn cluster in the nfs mounted directory /pnfs/phys.uconn.edu/data/Gluex/radphi/omega_sim-6-2014 or remotely at the srm://grinch.phys.uconn.edu/Gluex/radphi/omega_sim-6-2014 url. Files in this directory are either raw simulation output or reconstructed simulation results in the form of root trees. Files of the former type have the .itape extension and those of the latter type have the .root extension. The file names indicate the simulated channel, as given in the list below. The events below were generated using a slope parameter of 8.0/GeV2. These data files are stored in the group dcache area under /pnfs/phys.uconn.edu/data/Gluex/radphi/omega_sim-6-2014.

  1. 108 events of γ p -> p (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2p_sim_nnn where nnn = 1..100
  2. 108 events of γ p -> (Δ+ -> p π0) (ω -> π0 π+ π-)
    • 100 files of 1000000 events each
    • files are named omega3D+p_sim_nnn where nnn = 101..200
  3. 108 events of γ p -> (Δ+ -> p π0) (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2D+p_sim_nnn where nnn = 201..300
  4. 108 events of γ p -> (Δ+ -> n π+) (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2D+n_sim_nnn where nnn = 301..400
  5. 108 events of γ n -> (Δ0 -> p π-) (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2D0p_sim_nnn where nnn = 401..500

Monte Carlo Events with Slope Parameter b=5.5/GeV2

Monte Carlo events are generated with a new slope parameter of 5.5/GeV2. The previous results (shown above) were generated using a slope parameter of 8.0. 108 events are generated and then simulated in the detector. To make this change edit the file decay.dat for each reaction of interest. Then the generation and simulation proceed as before.

These data files are stored in the group dcache area under /pnfs/phys.uconn.edu/data/Gluex/radphi/omega_sim-6-2014.

  1. 108 events of γ p -> p (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2p_sim_nnn where nnn = 1..100
  2. 108 events of γ p -> (Δ+ -> p π0) (ω -> π0 π+ π-)
    • 100 files of 1000000 events each
    • files are named omega3D+p_sim_nnn where nnn = 101..200
  3. 108 events of γ p -> (Δ+ -> p π0) (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2D+p_sim_nnn where nnn = 201..300
  4. 108 events of γ p -> (Δ+ -> n π+) (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2D+n_sim_nnn where nnn = 301..400
  5. 108 events of γ n -> (Δ0 -> p π-) (ω -> π0γ)
    • 100 files of 1000000 events each
    • files are named omega2D0p_sim_nnn where nnn = 401..500