Proton Calorimetry/Detector Simulation: Difference between revisions

From PBTWiki
Jump to navigation Jump to search
Line 4: Line 4:
To use the existing installation, follow [http://www.hep.ucl.ac.uk/pbt/wiki/Software/Geant4 this dedicated page].
To use the existing installation, follow [http://www.hep.ucl.ac.uk/pbt/wiki/Software/Geant4 this dedicated page].


== Local Installation on MacOS ==
== Local Installation of GEANT4 on MacOS ==


''Correct for MacOS High Sierra 10.13.6''
''Correct for MacOS High Sierra 10.13.6''

Revision as of 11:53, 11 March 2020

This page contains information on the Geant4 code that form the Proton Calorimetry detector simulation.

In order to run Geant4 simulations, you will either need to download and install the software yourself or make use of the existing installation on the UCL HEP Linux cluster. To use the existing installation, follow this dedicated page.

Local Installation of GEANT4 on MacOS

Correct for MacOS High Sierra 10.13.6

  • Install Xcode 10 or higher from Mac App Store and install command line tools by executing in a terminal window xcode-select --install.
  • Install CMake 3.8 or higher [1]
  • Optional: Install CLHEP 2.4.1.0 or higher [2] (see README for build/install instructions)
    • <source_code_dir> is the directory where the README is located.
    • <build_directory> can be any folder you like (can be deleted after installation).
    • <install_directory> should be the default: /usr/local
  • Install Expat 2.0.1 or higher [3] (see README for build/install instructions)
    • Execute ./buildconf.sh and then ./configure in the directory <download_directory>/expat
    • Might need to use sudo when executing make install
  • Install zlib 1.2.3 or higher [4] (see README for build/install instructions)
    • Might need to use sudo when executing make install</code.>
  • Install Xerces-C++ headers and library 3 or higher [5]
    • Will need to install GPG [6] to verify KEYS
  • Install GEANT4 [7]
    • Enable additional build options: multithreading, install data, GDML, QT, OpenGL, RayTracer, zlib
    • Apparently system CLHEP should not be used unless absolutely necessary