summaryrefslogtreecommitdiff
path: root/detectors/lbne.py
diff options
context:
space:
mode:
authorAnthony LaTorre <tlatorre9@gmail.com>2011-08-11 16:43:09 -0400
committerAnthony LaTorre <tlatorre9@gmail.com>2011-08-11 16:43:09 -0400
commit00aa07a12f8f00e29a3a04f2850ccd4fc91cc951 (patch)
tree50c76a5661693f2335278db2d6cc924d3cc60e20 /detectors/lbne.py
parent9d68f8ea2b6a64e83195f16aa066caac5eeb8fae (diff)
parent1b9aef380e629c136e045412621483ebb4a4164f (diff)
downloadchroma-00aa07a12f8f00e29a3a04f2850ccd4fc91cc951.tar.gz
chroma-00aa07a12f8f00e29a3a04f2850ccd4fc91cc951.tar.bz2
chroma-00aa07a12f8f00e29a3a04f2850ccd4fc91cc951.zip
merge heads
Diffstat (limited to 'detectors/lbne.py')
-rw-r--r--detectors/lbne.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/detectors/lbne.py b/detectors/lbne.py
index 3e8ae7b..3e27907 100644
--- a/detectors/lbne.py
+++ b/detectors/lbne.py
@@ -14,16 +14,16 @@ from make import cylinder
def build_lbne(radius, height, nstrings, pmts_per_string, endcap_spacing, physical_model=True):
if physical_model:
- pmt = build_12inch_pmt_with_lc()
+ pmt = build_12inch_pmt_with_lc(outer_material=water_wcsim)
else:
- pmt = build_12inch_pmt_shell()
+ pmt = build_12inch_pmt_shell(outer_material=water_wcsim)
lbne = Geometry()
# outer cylinder
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, 0xff0000ff))
+ lbne.add_solid(Solid(cylinder_mesh, water_wcsim, vacuum, black_surface, 0xff0000ff))
lbne.pmtids = []