summaryrefslogtreecommitdiff
path: root/detectors/sno.py
diff options
context:
space:
mode:
authorAnthony LaTorre <tlatorre9@gmail.com>2011-09-09 09:54:51 -0400
committerAnthony LaTorre <tlatorre9@gmail.com>2011-09-09 09:54:51 -0400
commiteb964fe9fcf13ad1a72e40451c5d85b6765d945f (patch)
treef175e535c24922aa7aa9c1ab9360ee71b72b1aad /detectors/sno.py
parent8f39536a7a5a15afeba52b1492f1d84fed95054f (diff)
parent3defeae5de899b315928f1b518fe2ff75662d430 (diff)
downloadchroma-eb964fe9fcf13ad1a72e40451c5d85b6765d945f.tar.gz
chroma-eb964fe9fcf13ad1a72e40451c5d85b6765d945f.tar.bz2
chroma-eb964fe9fcf13ad1a72e40451c5d85b6765d945f.zip
merge
Diffstat (limited to 'detectors/sno.py')
-rw-r--r--detectors/sno.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/detectors/sno.py b/detectors/sno.py
index d0334d3..d5c9ce9 100644
--- a/detectors/sno.py
+++ b/detectors/sno.py
@@ -75,16 +75,17 @@ def build_sno(real_av=False):
pmt = build_8inch_pmt_with_lc()
- geo = Geometry()
if real_av:
+ geo = Geometry(water)
real_av_mesh = mesh_from_stl(dir+'/sno_av_ascii.stl.bz2')
real_av_mesh.vertices *= 0.0254 # inch -> meter
geo.add_solid(Solid(real_av_mesh, glass, water, color=0xBBAAAAFF))
else:
+ geo = Geometry(water)
geo.add_solid(Solid(av_outside_mesh, acrylic_sno, water,
color=0xBBFFFFFF))
- geo.add_solid(Solid(av_inside_mesh, labppo_scintillator, acrylic_sno,
+ geo.add_solid(Solid(av_inside_mesh, water, acrylic_sno,
color=0xBB0000FF))
geo.pmtids = []