aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShivesh Mandalia <shivesh.mandalia@outlook.com>2020-02-29 18:05:20 +0000
committerShivesh Mandalia <shivesh.mandalia@outlook.com>2020-02-29 18:05:20 +0000
commit5dea1c8034c01cacd01a58dd1ba60c590694a3ec (patch)
tree87658a98ccb3227adc10e31da756679543af8435
parentb3e87271802a42dac11e12c7e066c1b1b2d6fb54 (diff)
downloadG4BeamTest-5dea1c8034c01cacd01a58dd1ba60c590694a3ec.tar.gz
G4BeamTest-5dea1c8034c01cacd01a58dd1ba60c590694a3ec.zip
add README.md, LICENSE and logo
-rw-r--r--LICENSE21
-rw-r--r--README.md58
-rw-r--r--logo.pngbin0 -> 46322 bytes
3 files changed, 79 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..766f615
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 Shivesh Mandalia
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1d64d17
--- /dev/null
+++ b/README.md
@@ -0,0 +1,58 @@
+# G4BeamTest
+
+![C++ Version](https://img.shields.io/badge/c++-98+-green.svg)
+[![license](https://img.shields.io/github/license/ShiveshM/G4BeamTest 'license')](https://github.com/ShiveshM/G4BeamTest/blob/master/LICENSE)
+
+G4BeamTest is a C++ simulation of an Optical Module Beam Test at the [Fermilab
+Test Beam Facility](https://ftbf.fnal.gov/) (FTBF).
+
+![G4BeamTest Logo](logo.png)
+
+## Installation
+G4BeamTest can be installed using `cmake`
+```
+mkdir build && cd build
+cmake -DGEANT4_USE_QT=ON ../
+make
+```
+
+### Dependencies
+
+G4BeamTest has the following dependencies:
+* [`gcc-c++`](https://gcc.gnu.org/)
+* [`CMake`](https://cmake.org/) >= 2.6
+* [`Geant4`](https://geant4.web.cern.ch/) >= 10.4
+
+For installation instructions of Geant4 see the [Geant4
+Installation
+Guide](https://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/InstallationGuide/html/).
+All G4 data files including hadron cross-sections are required to be
+downloaded. Here is a typical example of the environment variables which need
+to be set in your `.bash_profile`:
+```
+export GEANTTOPDIR="/opt/geant4"
+export G4LEVELGAMMADATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/PhotonEvaporation5.2"
+export G4NEUTRONXSDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/G4NEUTRONXS1.4"
+export G4LEDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/G4EMLOW7.3"
+export G4NEUTRONHPDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/G4NDL4.5"
+export G4ENSDFSTATEDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/G4ENSDFSTATE2.2"
+export G4RADIOACTIVEDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/RadioactiveDecay5.2"
+export G4ABLADATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/G4ABLA3.1"
+export G4PIIDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/G4PII1.3"
+export G4SAIDXSDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/G4SAIDDATA1.1"
+export G4REALSURFACEDATA="$GEANTTOPDIR/share/Geant4-10.4.2/data/RealSurface2.1.1"
+export LD_LIBRARY_PATH=$GEANTTOPDIR/lib64:$LD_LIBRARY_PATH
+export PATH=$GEANTTOPDIR/bin:$PATH
+```
+
+Additional dependencies:
+* [`Qt`](https://www.qt.io/) >= 4
+
+Be sure to install with `Qt` support for the GUI interface shown in the
+animation above.
+
+## License
+
+[MIT License](LICENSE)
+
+Copyright (c) 2020 Shivesh Mandalia
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000..c3a3e7d
--- /dev/null
+++ b/logo.png
Binary files differ