Difference between revisions of "Run in GEMC"

From New IAC Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
=11GeV incident electron=
 +
 +
For an incident electron at 11GeV, the Moller electron in the range of 5 to 40 degrees for the scattering angle Theta, has energies lower than 200MeV.
  
 
<center>[[File:Mol_E_Theta_Lab_Spread.png]]</center>
 
<center>[[File:Mol_E_Theta_Lab_Spread.png]]</center>
  
 +
 +
Spliting the LUND file into 5 parts of 25000 events, or 75000 lines
 +
 +
<pre>
 
split -d -l 75000 -a 2 LUND_Spread.LUND LUND_Spread_
 
split -d -l 75000 -a 2 LUND_Spread.LUND LUND_Spread_
 +
</pre>
  
 +
Naming these files LUND files
 +
 +
<pre>
 
prename 's/(LUND_Spread_\d{2})/$1.LUND/' LUND_Spread_*
 
prename 's/(LUND_Spread_\d{2})/$1.LUND/' LUND_Spread_*
 
+
</pre>
  
 
Placing each of these files into its own directory, within a directory named LUND_Spread
 
Placing each of these files into its own directory, within a directory named LUND_Spread
  
 
<pre>find . -name "*.LUND" -exec sh -c 'mkdir "${1%.*}" ; mv "$1" "${1%.*}" ' _ {} \;</pre>
 
<pre>find . -name "*.LUND" -exec sh -c 'mkdir "${1%.*}" ; mv "$1" "${1%.*}" ' _ {} \;</pre>

Revision as of 19:22, 16 June 2016

11GeV incident electron

For an incident electron at 11GeV, the Moller electron in the range of 5 to 40 degrees for the scattering angle Theta, has energies lower than 200MeV.

Mol E Theta Lab Spread.png


Spliting the LUND file into 5 parts of 25000 events, or 75000 lines

split -d -l 75000 -a 2 LUND_Spread.LUND LUND_Spread_

Naming these files LUND files

prename 's/(LUND_Spread_\d{2})/$1.LUND/' LUND_Spread_*

Placing each of these files into its own directory, within a directory named LUND_Spread

find . -name "*.LUND" -exec sh -c 'mkdir "${1%.*}" ; mv "$1" "${1%.*}" ' _ {} \;