Allegro event display (with an emphasis on the calorimeter system)
Make a local clone of the gitlab repository.
Setup ROOT and the environment with:
source setup.sh
Compile:
make
Setup ROOT and the environment with:
source setup.sh
Execute with e.g.
calodisplay -g data/allegro_o1_v03.root -e events.root -c config_ddsim.json --fulldet
Execute with calodisplay -h
to see available options
To create the root file with the detector geometry:
- create the GDML file from Geant4 with ddsim
- convert the GDML to ROOT with
util/gdmltoroot.C
- for allegro_o1_v03, I had to remove from the gdml all DCH cells since they use a volume (G4TwistedTube) not available in ROOT
The package is organised in the following subdirectories:
src
: contains the source code of the event displayutil
: contains the script to convert a GDML file to ROOTdata
: contains the ROOT files with the detector models The main directory contains the Makefile, the setup shell script, and the json files containing configuration parameters for the event display. Compiling the code creates:build
: for intermediate object filesdist
: for the shared library, the ROOT dictionary file and the executable.
Giovanni Marchiori (APC Paris), [email protected]