Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.
/ dunendggd Public archive
forked from gyang9/dunendggd

A tool for complicated detector geometry generation

Notifications You must be signed in to change notification settings

DUNE-ND-SAND/dunendggd

 
 

Repository files navigation

Dune-ND-GGD

This is a tool to build proposal geometries for DUNE near detector.

dunendggd is based on the sophisticated package called GeGeDe

Setup

This package could be installed as user, on unix environment:

python setup.py develop --user

Don't forget to check your variable PATH

export PATH=~/.local/bin/:${PATH}

As root privileges:

python setup.py develop

Example

To run an example containing basic detectors, you could process like:

gegede-cli duneggd/Config/PRIMggd_example.cfg duneggd/Config/DETENCLOSURE-prim-only.cfg duneggd/Config/WORLDggd.cfg -w World -o example.gdml

To run a full example containing surrounded magnet

gegede-cli duneggd/Config/PRIMggd_example.cfg duneggd/Config/SECggd_example.cfg duneggd/Config/DETENCLOSURE.cfg duneggd/Config/WORLDggd.cfg -w World -o full_example.gdml

Quick Visualization

To do a quick check or your geometry file you can use ROOT-CERN:

root -l 'geoDisplay.C("example.gdml")'

Contact

About

A tool for complicated detector geometry generation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.2%
  • C 2.9%
  • Shell 1.9%