summaryrefslogtreecommitdiff
path: root/detectors/lbne.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-16 17:11:34 -0400
committerStan Seibert <stan@mtrr.org>2011-08-16 17:11:34 -0400
commit96f20d671e92c103f8437d6d311fa87d5779db11 (patch)
tree6d6d55c4600a570830777056f37c7e94377c5a5b /detectors/lbne.py
parent85f9f1d23f74ed9679d879c32f7e3c72c7e7ce8f (diff)
parent56ebfae1830cba926fd5fd4054b2dd555cf83ae9 (diff)
downloadchroma-96f20d671e92c103f8437d6d311fa87d5779db11.tar.gz
chroma-96f20d671e92c103f8437d6d311fa87d5779db11.tar.bz2
chroma-96f20d671e92c103f8437d6d311fa87d5779db11.zip
merge
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 d3c12da..8942cb2 100644
--- a/detectors/lbne.py
+++ b/detectors/lbne.py
@@ -21,7 +21,7 @@ def build_lbne(radius, height, nstrings, pmts_per_string, endcap_spacing, physic
lbne = Geometry()
# outer cylinder
- cylinder_mesh = segmented_cylinder(radius, height+height/(pmts_per_string-1), theta=(2*np.pi/nstrings)/8, n=200)
+ cylinder_mesh = segmented_cylinder(radius, height+height/(pmts_per_string-1), nsteps=16*nstrings, nsegments=1200)
cylinder_mesh.vertices = rotate(cylinder_mesh.vertices, np.pi/2, (-1,0,0))
lbne.add_solid(Solid(cylinder_mesh, water_wcsim, vacuum, black_surface, 0xff0000ff))