its code
Go to file
2024-02-15 11:18:34 -05:00
.CloverDetectorConstruction.cc.swp Clover Addback Ready 2022-10-17 16:06:53 -04:00
.Detector_Parameters.hh.swp Clover Addback Ready 2022-10-17 16:06:53 -04:00
.gitignore modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
analysis.C Finished Clover Position 2022-10-13 14:32:30 -04:00
Analyzer_C_ACLiC_dict_rdict.pcm Clover Addback Ready 2022-10-17 16:08:50 -04:00
Analyzer_C.d Clover Addback Ready 2022-10-17 16:08:50 -04:00
Analyzer_C.so Clover Addback Ready 2022-10-17 16:08:50 -04:00
Analyzer.C Clover Addback Ready 2022-10-17 16:08:50 -04:00
Analyzer.h Clover Addback Ready 2022-10-17 16:08:50 -04:00
Clarion2.png modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
Clover_GEANT4_Simulation.pptx Finished Clover Position 2022-10-13 14:32:30 -04:00
clover.cc Finished Clover Position 2022-10-13 14:32:30 -04:00
clover.png modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
CloverActionInitialization.cc Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverActionInitialization.hh Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverCrystalHit.cc Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverCrystalHit.hh Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverCrystalSD.cc Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverCrystalSD.hh Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverDetectorConstruction.cc BGO Shape + BGO Window 2022-10-16 02:45:01 -04:00
CloverDetectorConstruction.hh Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverEventAction.cc modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
CloverEventAction.hh modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
CloverPhysicsList.cc Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverPhysicsList.hh Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverPrimaryGeneratorAction.cc Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverPrimaryGeneratorAction.hh Finished Clover Position 2022-10-13 14:32:30 -04:00
CloverRunAction.cc modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
CloverRunAction.hh Finished Clover Position 2022-10-13 14:32:30 -04:00
CMakeLists.txt Finished Clover Position 2022-10-13 14:32:30 -04:00
Detector_Parameters.hh Clover Addback Ready 2022-10-17 16:06:53 -04:00
init_vis.mac Finished Clover Position 2022-10-13 14:32:30 -04:00
my.in modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
my.wrl Finished Clover Position 2022-10-13 14:32:30 -04:00
README.md modified for geant4-11, add README.md 2024-02-15 11:18:34 -05:00
vis.mac Finished Clover Position 2022-10-13 14:32:30 -04:00

About

This is a geant4 simulation for the Clarion2 gamma-detector array. It based on https://github.com/goluckyryan/HPGeClover.

![Clarion 2 Drawing][Clarion2.png]

Build the code

Once downloaded the code, create a new folder for the build.

>mkdir Clarion2_build
>cd Clarion2_build
>cmake <path/to/CLARION2_GEANT4
>make 

you should have the '''clover''' created.

to run in interactive mode

>./clover

to run in bash mode

>./clover <in_file>

KNOWN BUGS

  • Segfault at exit program
  • Some of the Clovers seems to be not at the right orientation, especially at the upstream.

To build GEANT4 11.2.0 in Ubuntu 22.04

Visuailization

I pick the Qt + openGL as the visualiization, for that we need

>sudo apt install qt6-base-dev libqt6charts6-dev

the openGL should come with Ubuntu 22.04

Steps

>cd Downloads
>wget https://gitlab.cern.ch/geant4/geant4/-/archive/v11.2.0/geant4-v11.2.0.tar.gz
>tar xzf geant4-v11.2.0.tar.gz
>mkdir geant4-v11.2.0_build
>cd geant4-v11.2.0_build
>cmake -DGEANT4_INSTALL_DATA=On -DCMAKE_INSTALL_PREFIX=/opt/geant4-v11.2.0 -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_QT_QT6=ON ../geant4-v11.2.0
>make -j10
>sudo make install
>echo 'source /opt/geant4-v11.2.0/bin/geant4.sh' >> ~/.bashrc