Skip to content

A tool for complicated detector geometry generation

Notifications You must be signed in to change notification settings

anezkaklust/dunendggd_toad

 
 

Repository files navigation

DUNE Near Detector Geometries in GeGeDe for TOAD

This is a repository for developing any DUNE (Near Detector) geometries with gegede.

Specifically, this fork of the repository is focused on creating a geometry for The Teststand of an Overpressure Argon Detector (TOAD).

Getting Started

See the gegede installation page for the prerequisites. Similarly to duneggd, install virtualenv:

wget https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.tar.gz
tar -xf virtualenv-1.11.tar.gz
python virtualenv-1.11/virtualenv.py dunendggd_toad

And clone this repository:

git clone https://github.com/anezkaklust/dunendggd_toad

Setup

Each time you login on your machine, you need to activate your virtual environment, setup duneggd_toad, and set your python path:

source dunendggd_toad/bin/activate
cd dunendggd_toad/
python setup.py develop --user 
export PATH=`pwd`/dunendggd_toad/bin:${PATH}

TOAD Geometry

To create .gdml file of TOAD, run

gegede-cli duneggd_toad/Config/TOAD_Concept.cfg  -o toad_concept.gdml

Visualization

To visualize your geometry file you can use ROOT:

root -l 'geoDisplay.C("toad_concept.gdml",5)''

Contact

About

A tool for complicated detector geometry generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • C 2.7%
  • Shell 2.0%