Difference between revisions of "Simulations and Backgrounds"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
* Using github.com to manage the simulation software: ''/group/bubble/'' | * Using github.com to manage the simulation software: ''/group/bubble/'' | ||
− | * The current geometry for the Bubble Chamber is in gdml and is shown below | + | * The current geometry for the Bubble Chamber is in gdml and is shown below: |
− | [[file: | + | [[file:BCjul7.jpeg||500px|]] |
− | [[file: | + | [[file:BC1jul7.jpeg||500px|]] |
− | |||
− | |||
− | |||
− | |||
* '''To-do List:''' | * '''To-do List:''' | ||
− | # | + | # Geometry is in gdml format, need to get correct Radiator, Collimator, Beamline, PhotonDump geometry. |
− | # Include the Bubble Chamber geometry using the Bubble Chamber STEP file (change .txt to .stp): [[media:BubbleChamber.txt]]. | + | # Complete: Include the Bubble Chamber geometry using the Bubble Chamber STEP file (change .txt to .stp): [[media:BubbleChamber.txt]]. |
− | ## Geometry has been created and is on github, | + | ## Geometry has been created and is on github, BubbleMother.gdml and all daughter files |
− | |||
# The beamline STEP file will be ready very soon. When? Last file recieved was BubbleChamber again 6_24_2014. | # The beamline STEP file will be ready very soon. When? Last file recieved was BubbleChamber again 6_24_2014. | ||
# GEANT4 uses models that calculate wrong photo–nuclear cross sections (see below). GEANT4 does not allow for user’s cross sections. What to do? | # GEANT4 uses models that calculate wrong photo–nuclear cross sections (see below). GEANT4 does not allow for user’s cross sections. What to do? | ||
## Use GEANT4 to produce the photon spectra impinging on the superheated liquid. | ## Use GEANT4 to produce the photon spectra impinging on the superheated liquid. | ||
## Fold the above photon spectra with our cross sections in stand-alone codes. | ## Fold the above photon spectra with our cross sections in stand-alone codes. | ||
− | + | ## Could we not create a correct physicslist.cc in geant4 instead? | |
* GEANT4 Photon-Inelastic Model: CHIPS Gamma Nuclear has this cross section for our reaction: | * GEANT4 Photon-Inelastic Model: CHIPS Gamma Nuclear has this cross section for our reaction: | ||
[[file:G4_CrossSection.gif||500px|]] | [[file:G4_CrossSection.gif||500px|]] | ||
+ | * The simulation below is outdated and doesnt work with gdml. See github for correct version. | ||
* Quick start for the simulation: [[media:G4_BubbleEx_README.txt]]. There is also a README file that comes with the example. | * Quick start for the simulation: [[media:G4_BubbleEx_README.txt]]. There is also a README file that comes with the example. | ||
* Bubble Chamber GEANT4 Example (change .txt to .tar): [[media:BubbleEx96.txt]] | * Bubble Chamber GEANT4 Example (change .txt to .tar): [[media:BubbleEx96.txt]] |
Revision as of 23:50, 7 July 2014
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
- Using github.com to manage the simulation software: /group/bubble/
- The current geometry for the Bubble Chamber is in gdml and is shown below:
- To-do List:
- Geometry is in gdml format, need to get correct Radiator, Collimator, Beamline, PhotonDump geometry.
- Complete: Include the Bubble Chamber geometry using the Bubble Chamber STEP file (change .txt to .stp): media:BubbleChamber.txt.
- Geometry has been created and is on github, BubbleMother.gdml and all daughter files
- The beamline STEP file will be ready very soon. When? Last file recieved was BubbleChamber again 6_24_2014.
- GEANT4 uses models that calculate wrong photo–nuclear cross sections (see below). GEANT4 does not allow for user’s cross sections. What to do?
- Use GEANT4 to produce the photon spectra impinging on the superheated liquid.
- Fold the above photon spectra with our cross sections in stand-alone codes.
- Could we not create a correct physicslist.cc in geant4 instead?
- GEANT4 Photon-Inelastic Model: CHIPS Gamma Nuclear has this cross section for our reaction:
- The simulation below is outdated and doesnt work with gdml. See github for correct version.
- Quick start for the simulation: media:G4_BubbleEx_README.txt. There is also a README file that comes with the example.
- Bubble Chamber GEANT4 Example (change .txt to .tar): media:BubbleEx96.txt
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:
- $ ssh ifarm
- $ ssh jlabl1
- Load Geant4 and ROOT Environments by running the following commands: (needed every login)
- $ setenv JLAB_VERSION production
- $ setenv JLAB_ROOT /site/12gev_phys
- $ source ${JLAB_ROOT}/${JLAB_VERSION}.csh
- Should see a short list of programs such as ROOT and Geant4 listed
- Compiling the simulation
- Simulation is available at https://github.com/JeffersonLab/BubbleEx
- Create directory for simulation:
- On JLab nodes can use /group/bubble/ directory:
- $ mkdir /group/bubble/<user>
- $ cd /group/bubble/<user>
- $ git clone https://github.com/JeffersonLab/BubbleEx.git
- $ git pull (to update files from github)
- $ mkdir build
- $ cd build
- $ use cmake (only if using JLab nodes)
- $ cmake ..
- $ make
- $ cd ..
- Running the simulation
- In the install directory
- $ 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:
- $ /vis/open OGL
- $ /run/beamOn 100
- Initial run of the simulation is shown:
Relevant Cross Sections
- Photo-Nuclear Cross Sections:
- 16O(γ,α)12C media:cs16Oga.txt (Eg (MeV), Cross Section (b))
- 17O(γ,α)13C media:cs17Oga.txt
- 18O(γ,α)14C media:cs18Oga.txt
- 14N(γ,p)13C media:cs14Ngp.txt
- Neutron Elastic Cross Sections:
- 16O(n,n) media:cs16Onn.txt (En (MeV), Cross Section (b))
- 14N(n,n) media:cs14Nnn.txt