Skip to content

DUNE/lbne-geometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LBNE Geometry Descriptions

Installation for development

This package and GeGeDe are still in development so a few extra steps are needed to install.

Set up a Virtual Environment

This helps keep the Python packages together and provides some Python package functionality that your OS may lack.

$ virtualenv venv 
$ source venv/bin/activate

Get the source

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

Install for development

$ 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.

Installation issues

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.

Usage

Assuming the above:

$ gegede-cli -o 35ton.gdml -f gdml lbne-geometry/config/35ton.cfg 

Visualization

There are various ways to visualize the result

ROOT

$ root -l
root [0] geo = TGeoManager::Import("35ton.gdml")
root [1] geo->GetMasterVolume()->Draw("ogl")
root [2] TBrowser b

GraXML

See here.

Geometries supported

About

A GeGeDe based geometry for LBNE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages