GeFiCa stands for Ge detector Field Calculator. It provides classes to calculate static electric fields and potentials in Ge detectors using various coordinates in up to three dimensions. The field potential values together with their grid coordinates are saved in a ROOT tree to take the advantage of the file compression and the Draw function provided by the ROOT TTree class. GeFiCa is provided as a shared library that can be directly loaded by ROOT. All GeFiCa classes can be used directly in a ROOT interactive session or a Jupyter notebook. Users can modify and run their calculation codes without compilation.
Directory | Contents |
---|---|
src | source code |
docs | documentation |
examples | ROOT & Python scripts demonstrating usage of GeFiCa |
- Make sure that ROOT (version 6 and above) is installed.
- Execute the following commands in a terminal:
git clone https://github.com/jintonic/gefica.git
cd gefica/src
make
export LD_LIBRARY_PATH=$(PWD):$LD_LIBRARY_PATH
# change LD_LIBRARY_PATH to DYLD_LIBRARY_PATH for MAC
cd ../examples/segmented
root -l drawSliceInPhi.cc
- Overview: https://mediatum.ub.tum.de/node?id=701884
- Field calculation: https://mediatum.ub.tum.de/node?id=969435
- Numerical methods: https://www.mppmu.mpg.de/~jingliu/ECPI/, Lecture 4 and 5
GeFiCa contains a Git submodule of MJD fieldgen. It is a mirror of the MJD siggen (including fieldgen) subversion repository in GitHub. The mirroring is done by
apt install git-svn
git svn clone https://radware.phy.ornl.gov/MJ/mjd_siggen/ siggen
git remote add origin [email protected]:jintonic/siggen.git
git push origin master
Adding it as a git submodule to GeFiCa is done by
cd /path/to/GeFiCa
git submodle add https://github.com/jintonic/siggen.git examples/pointContact/fieldgen
git commit -m "added siggen submodule"
git push
Cloning GeFiCa with fieldgen can be done by doing
git clone https://github.com/jintonic/gefica.git
cd gefica
git submodule init
git submodule update
Updating GeFiCa and fieldgen can be done by doing
cd gefica
git pull
cd examples/pointContact/fieldgen
git pull