LBNE Geometry Descriptions
This package and GeGeDe are still in development so a few extra steps are needed to install.
This helps keep the Python packages together and provides some Python package functionality that your OS may lack.
$ virtualenv venv $ source venv/bin/activate
If you will push commits and are in the LBNE GitHub organization:
$ git clone git@github.com:LBNE/gegede.git $ git clone git@github.com:LBNE/lbne-geometry.git
Or, for only local-commits you may clone anonymously:
$ git clone https://github.com/LBNE/gegede.git $ git cleon https://github.com/LBNE/lbne-geometry.git
$ cd gegede $ python setup.py develop $ cd .. $ cd lbne-geometry $ python setup.py develop $ cd ..
Note, installing gegede
may take a minute as it compiles lxml
.
GeGeDe uses standard Python installation methods and should “just work” on systems with reasonable support. But, some systems may have issues and known ones are collected in ./doc/install-issues.org.
Assuming the above:
$ gegede-cli -o 35ton.gdml -f gdml lbne-geometry/config/35ton.cfg
There are various ways to visualize the result
$ root -l root [0] geo = TGeoManager::Import("35ton.gdml") root [1] geo->GetMasterVolume()->Draw("ogl") root [2] TBrowser b
See here.
- 35 ton prototype
- 34 kton
- beam line