summaryrefslogtreecommitdiff
path: root/detectors/lbne.py
diff options
context:
space:
mode:
Diffstat (limited to 'detectors/lbne.py')
-rw-r--r--detectors/lbne.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/detectors/lbne.py b/detectors/lbne.py
index 2b940d6..d7b6843 100644
--- a/detectors/lbne.py
+++ b/detectors/lbne.py
@@ -18,7 +18,7 @@ def build_lbne(radius, height, nstrings, pmts_per_string, endcap_spacing):
lbne = Geometry()
# outer cylinder
- cylinder_mesh = cylinder(radius, radius, height+height/(pmts_per_string-1))
+ cylinder_mesh = cylinder(radius, radius, height+height/(pmts_per_string-1), theta=(2*np.pi/nstrings)/4)
cylinder_mesh.vertices = rotate(cylinder_mesh.vertices, np.pi/2, (-1,0,0))
lbne.add_solid(Solid(cylinder_mesh, water, vacuum, black_surface, 0xff))