Skip to content
forked from DUNE/dunendggd

A tool for complicated detector geometry generation

Notifications You must be signed in to change notification settings

muether/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%