summaryrefslogtreecommitdiff
path: root/detectors/lbne.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-06-21 20:59:54 -0400
committerStan Seibert <stan@mtrr.org>2011-06-21 20:59:54 -0400
commitff489255117030ea263225cd1bc7b2f4f151ed76 (patch)
treefd36717bab2f359850da42f80d45054e79216e47 /detectors/lbne.py
parent81c4bf14e0357b597570dbb551a37c54cc1806de (diff)
parentf04ecc51cd9d634a7c418a611946944b05c6bec4 (diff)
downloadchroma-ff489255117030ea263225cd1bc7b2f4f151ed76.tar.gz
chroma-ff489255117030ea263225cd1bc7b2f4f151ed76.tar.bz2
chroma-ff489255117030ea263225cd1bc7b2f4f151ed76.zip
Merge speedup of build()
Diffstat (limited to 'detectors/lbne.py')
-rw-r--r--detectors/lbne.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/detectors/lbne.py b/detectors/lbne.py
index c98fa42..9f74975 100644
--- a/detectors/lbne.py
+++ b/detectors/lbne.py
@@ -25,7 +25,8 @@ class LBNE(Geometry):
# outer cylinder
cylinder_mesh = \
- make.cylinder(radius, height+height/(pmts_per_string-1))
+ make.cylinder(radius, radius, height+height/(pmts_per_string-1))
+ cylinder_mesh.vertices = rotate(cylinder_mesh.vertices, np.pi/2, (-1,0,0))
cylinder_solid = Solid(cylinder_mesh, lightwater_sno, vacuum, black_surface, 0x0000ff)
self.add_solid(cylinder_solid)