A repository for simulations of phonon transport and TES response in cryogenic detectors.
- clone the repository
- go to the directory 'Caustics':
cd Caustics - make a `build' directory:
mkdir build - go inside the `build' directory:
cd build - make the code:
cmake .. && cmake --build . -j6 - After it is built, for GUI mode run the executable directly
./g4cmpPhononCaustics - Additionally you may use the macro file to run in batch mode
./g4cmpPhononCaustics ./Caustic.mac
- Clone/download the source code of the preferred GEANT4 version.
- Make a build directory and run cmake in it:
cmake -DCMAKE_INSTALL_PREFIX=$HOME/<geant4-install-path> -DGEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_MULTITHREADED=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_PYTHON=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_XM=OFF -DGEANT4_BUILD_BUILTIN_BACKTRACE=OFF -DGEANT4_INSTALL_EXAMPLES=ON -DGEANT4_USE_SYSTEM_ZLIB=ON -DGEANT4_BUILD_TLS_MODEL=global-dynamic -DGEANT4_USE_GDML=ON $HOME/<geant4-source> - Then build & install it :
make -j10,make install - Add the following line to your
.bashrcfile: `source $path_to_geant_install/bin/
- Commented out the exceptions relating to track escaped from volume and track inconsistent position in
library/src/G4CMPTrackLimiter.cc; to improve simulation time. - Until the main G4CMP is not corrected, switch the positions of
forientandfinversein theG4LatticePhysical.cc