Simulations and Backgrounds

From Ciswikidb
Revision as of 12:17, 9 June 2014 by Dgetts (talk | contribs) (Added instructions for compiling and running BubbleEx)
Jump to navigation Jump to search

GEANT4 vs. Experimental Data

  • Benchmarking of monte carlo simulation of bremsstrahlung from thick targets at radiotherapy energies

B. A. Faddegon, M. Asai, J. Perl, C. Ross, J. Sempau, J. Tinslay, and F. Salvat. Med. Phys. 35 (2008) 4308 media:MedPhys.35.4308.pdf


GEANT4 Geometry

BubbleEx.gif


  • GEANT4 Photon-Inelastic Model: CHIPS Gamma Nuclear has this cross section for our reaction:

G4 CrossSection.gif

  • To-do List:
  1. Use github.com to manage the simulation software. We already have a group desk: /group/bubble/, if needed.
  2. Encode the geometry in GDML, an XML based format that GEANT4 reads in.
  3. Include the Bubble Chamber geometry using the Bubble Chamber STEP file (change .txt to .stp): media:BubbleChamber.txt.
  4. The beamline STEP file will be ready very soon.
  5. GEANT4 uses models that calculate wrong photo–nuclear cross sections (see above). GEANT4 does not allow for user’s cross sections. What to do?
    1. Use GEANT4 to produce the photon spectra impinging on the superheated liquid.
    2. Fold the above photon spectra with our cross sections in stand-alone codes.


Compiling/Running Simulation (BubbleEx)

  • Using the ifarm or jlabl1 nodes
  • Login remotely to the JLab gateway: $ ssh login.jlab.org
  • Connect to either ifarm or Jlabl1:
  1. $ ssh ifarm
  2. $ ssh jlabl1
  • Load Geant4 and ROOT Environments by running the following commands: (needed every login)
  1. $ setenv JLAB_VERSION production
  2. $ setenv JLAB_ROOT /site/12gev_phys
  3. $ source ${JLAB_ROOT}/${JLAB_VERSION}.csh
  • Should see a short list of programs such as ROOT and Geant4 listed
  1. $ mkdir /group/bubble/<user>
  2. $ cd /group/bubble/<user>
  3. $ git clone https://github.com/JeffersonLab/BubbleEx.git
  4. $ git pull (to update files from github)
  5. $ mkdir build
  6. $ cd build
  7. $ use cmake (only if using JLab nodes)
  8. $ cmake ..
  9. $ make
  10. $ cd ..
  • Running the simulation
  • In the install directory
  1. $ build/BubbleEx (remember to run the source command before running)
  • Terminal will list what has been loaded and then display output command box
  • In session run:
  1. $ /vis/open OGL
  2. $ /run/beamOn 100
  • Initial run of the simulation is shown:

BubbleEx Output.jpg



Relevant Cross Sections

  • Photo-Nuclear Cross Sections:
CrossSections.gif
  1. 16O(γ,α)12C media:cs16Oga.txt (Eg (MeV), Cross Section (b))
  2. 17O(γ,α)13C media:cs17Oga.txt
  3. 18O(γ,α)14C media:cs18Oga.txt
  4. 14N(γ,p)13C media:cs14Ngp.txt


  • Neutron Elastic Cross Sections:
  1. 16O(n,n) media:cs16Onn.txt (En (MeV), Cross Section (b))
  2. 14N(n,n) media:cs14Nnn.txt
Cs16Onn.gif
Cs14Nnn.gif