Hello HPS Software,
I wrote a little Python script for viewing the lcdd detector files. See attachments. The first one is the script, the next two are two detector models, the "HPS-TestRun-v3" and "HPS-Test-JLAB-v4pt1".
- The script requires ROOT to be installed and in the path. It also requires ROOT to have the gdml module, but that is pretty standard by now.
- Invoke with -h for options. Main useful option would be to call with -N to only make the lcdd_cleaned.gdml file.
- It cannot show tessellated objects. These cause ROOT to crash, so tessellated stuff gets stripped.
- It pollutes your working directory with two files: lcdd_cleaned.gdml and lcdd_cleaned.C. The first is a pure gdml file, the second is a root script to render it.
- You can rotate and zoom in, make cutaway planes etc all using ROOT interactively. It is useful for checking your geometry.
P.S. The Python is crappy, if you want to improve it, send me your updates :-)
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link: