Difference between revisions of "Using MCEEP"

From Hall A Wiki
Jump to: navigation, search
(Running MCEEP)
(MCEEP Resources)
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
* [http://hallaweb.jlab.org/software/mceep/mceep_v3_9.ps MCEEP documentation]
 
* [http://hallaweb.jlab.org/software/mceep/mceep_v3_9.ps MCEEP documentation]
 
  
 
== Running MCEEP ==
 
== Running MCEEP ==
Line 15: Line 14:
  
 
   $GoMCEEP
 
   $GoMCEEP
 +
 +
(envinrinmentals are set in ~/.cshrc)
 +
 +
* create a new directory for the run you want to take, and go inside it, e.g.
 +
 +
  mkdir v3_9
 +
  cd v3_9
 +
 +
* copy a sample input file
 +
 +
  cp ../input/v3_9.inp .
 +
  mv v3_9.inp My_v3_9.inp
 +
 +
(and edit in)
  
 
* a simple run command will run the simulation
 
* a simple run command will run the simulation
Line 20: Line 33:
 
   $RunMCEEP
 
   $RunMCEEP
  
(These are set in ~/.cshrc)
+
* Answer the questions, as for example in [[Example of a MCEEP run]]. Start by entering an input file e.g.
  
* enter an input file (.inp) from the input directory, e.g.
+
   My_v3_9
 
+
   input/c12
+
  
 
* choose a procedure
 
* choose a procedure
Line 30: Line 41:
 
   ELASTIC, BOUND STATE, CONTINUUM or ACCEPTANCE
 
   ELASTIC, BOUND STATE, CONTINUUM or ACCEPTANCE
  
(If elastic scattering is chosen, MCEEP will prompt the user to select scattering from the p, d, 3H, 3He, 4He or 12.
+
* After MCEEP will finish running, multiple output files will appear in the output directory, the most important are a summary file and an NTuple file
 +
 
 +
  My_v3_9.sum
 +
  My_v3_9.ntu
 +
 
 +
* Conversion to ROOT format is then achieved by going to the ROOT utilities and using the conversion program
 +
 
 +
  cd $mceep_home/utilities/root/
 +
  m2root $mceep_home/v3_9/My_v3_9.ntu
 +
  mv mceep.root $mceep_home/v3_9/
 +
  cd $mceep_home/v3_9/
 +
 
 +
* The ROOT output file '''mceep.root'''  will have a TTree called '''mceep'''  with the variables set in the input file. To draw e.g. E(miss) use
 +
 
 +
  mceep -> Draw("EMISS")
 +
 
 +
 
 +
=== comments ===
 +
 
 +
* If elastic scattering is chosen, MCEEP will prompt the user to select scattering from the p, d, 3H, 3He, 4He or 12C.
 +
 
 +
* Also, for elastic scattering in general, the user has the option of enforcing the acceptance of the hadron arm or simulating single-arm elastic scattering where the hadron kinematics are ignored.
  
Also, for elastic scattering in general, the user has the option of enforcing the acceptance of the hadron arm or simulating single-arm elastic scattering where the hadron kinematics are ignored.
+
* If elastic scattering is chosen, MCEEP requests no further input.  
  
MCEEP requests no further input. )
+
* For the bound state or continuum options, MCEEP will prompt the user to choose from various models.
  
(For the bound state or continuum options, MCEEP will prompt the user to choose from various models)
 
  
* [[Example of a MCEEP run]]
 
  
  

Latest revision as of 01:27, 21 November 2015

MCEEP Resources

Running MCEEP

  • login to the farm
 ssh ifarm
  • a simple command will take you to the MCEEP directory (/work/halla/e07006/disk1/Erez/MCEEP/mceep)
 $GoMCEEP

(envinrinmentals are set in ~/.cshrc)

  • create a new directory for the run you want to take, and go inside it, e.g.
 mkdir v3_9
 cd v3_9
  • copy a sample input file
 cp ../input/v3_9.inp .
 mv v3_9.inp My_v3_9.inp

(and edit in)

  • a simple run command will run the simulation
 $RunMCEEP
 My_v3_9
  • choose a procedure
 ELASTIC, BOUND STATE, CONTINUUM or ACCEPTANCE
  • After MCEEP will finish running, multiple output files will appear in the output directory, the most important are a summary file and an NTuple file
 My_v3_9.sum
 My_v3_9.ntu
  • Conversion to ROOT format is then achieved by going to the ROOT utilities and using the conversion program
 cd $mceep_home/utilities/root/
 m2root $mceep_home/v3_9/My_v3_9.ntu
 mv mceep.root $mceep_home/v3_9/
 cd $mceep_home/v3_9/
  • The ROOT output file mceep.root will have a TTree called mceep with the variables set in the input file. To draw e.g. E(miss) use
 mceep -> Draw("EMISS")


comments

  • If elastic scattering is chosen, MCEEP will prompt the user to select scattering from the p, d, 3H, 3He, 4He or 12C.
  • Also, for elastic scattering in general, the user has the option of enforcing the acceptance of the hadron arm or simulating single-arm elastic scattering where the hadron kinematics are ignored.
  • If elastic scattering is chosen, MCEEP requests no further input.
  • For the bound state or continuum options, MCEEP will prompt the user to choose from various models.



[back He3/H3 e,e'p experiment]

[back to Hall A wiki]