Git Product home page Git Product logo

apexg4mc's Introduction

# README for APEXG4MC 

# Building APEXG4MC
> mkdir build
> cd build
> cmake ../ (or cmake3 ../)
> make -jX (X specifies number of cores to use)

# Running the simulation in visualisation mode
./APEXG4MC
> then in the gui, /control/execute macros/vis_apex.mac

# Running the simulation in batch mode
./APEXG4MC macros/batch_apex.mac

# Detector options (in macros/DetectorSetup.mac)
  /APEXG4MC/detector/HRSAngle 12.5
  Set the HRS angle in degrees.

  /APEXG4MC/detector/HRSMomentum 1.063
  Set the HRS central momentum in GeV/c.
  
  /APEXG4MC/detector/DistTarPivot 105.29
  Set the distance between centre of scattering chamber and hall pivot in cm.

  /APEXG4MC/detector/DistPivotQ1 159.03
  Set the distance between hall pivot and Q1 entrance in cm.

  /APEXG4MC/detector/SeptumFieldScale 1.05
  Set the septum field scale (from nominal central momentum).

  /APEXG4MC/detector/SeptumFieldMap Septa-JB_map.table
  Set the full name and path of the septum field map.

  /APEXG4MC/detector/SieveOn false
  Set the sieve slit in or out (true or false).

  /APEXG4MC/detector/SieveAngle 5.0
  Set the sieve slit angle in degrees.

  /APEXG4MC/detector/SieveReal false
  If this is set to true particles will be tracked in the sieve slit volume (slow).

  /APEXG4MC/detector/Target ProdW
  Set the target type (ProdW, ProdC, Optics1, Optics2, Optics3, VWires or HWires).

# PhysicsList options (in main control macro before /run/initialize)
  /APEXG4MC/physics/setCuts 0.1 mm
  Set cut for all particle types.

  /APEXG4MC/physics/addPhysics QGSP_BIC_EMY
  Add physics list (standard_opt3, LowE_Livermore, LowE_Penelope, QGSP_BIC_EMY, QGSP_BIS_HP,
  QGSP_BERT_HP, FTFP_BERT_HP)

# Analysis options (in main control macro)
  /APEXG4MC/analysis/setOutputFile
  Set the full name and path of the output file.

# Generator options (in main control macro)
  /APEXG4MC/generator/Mode 1
  Set the mode of the generator (0 for GPS or 1 for APEX).

  /APEXG4MC/generator/BeamEnergy 2.2
  Set the beam energy GeV.

  /APEXG4MC/generator/RasterX 2.0
  Set the beam x raster in mm.

  /APEXG4MC/generator/RasterY 2.0
  Set the beam y raster in mm.

  /APEXG4MC/generator/ThMin 2.0
  Set the minimum polar angle for the electron in degrees.

  /APEXG4MC/generator/ThMax 8.0
  Set the maximum polar angle for the electron in degrees.

  /APEXG4MC/generator/PhMin -5.0
  Set the minimum azimuthal angle for the electron in degrees.

  /APEXG4MC/generator/PhMax 5.0
  Set the maximum azimuthal angle for the electron in degrees.

  /APEXG4MC/generator/DeltaRange 0.2
  Set the generated range in delta (absolute).




apexg4mc's People

Contributors

dhamilton-glasgow avatar ethancline avatar garypenman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.