summaryrefslogtreecommitdiff
path: root/sim.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-10 19:22:06 -0400
committerStan Seibert <stan@mtrr.org>2011-08-10 19:22:06 -0400
commit142e790aeae55d405f7921527cd8e869d36c5671 (patch)
tree6aa48a00575d8a04317a5a3090bd05028bc19cb9 /sim.py
parent0dcfffe29e8e8baac6f854cb6fde0e09d81ab62a (diff)
downloadchroma-142e790aeae55d405f7921527cd8e869d36c5671.tar.gz
chroma-142e790aeae55d405f7921527cd8e869d36c5671.tar.bz2
chroma-142e790aeae55d405f7921527cd8e869d36c5671.zip
Use WCSim properties for water with the lbne detector
Diffstat (limited to 'sim.py')
-rwxr-xr-xsim.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim.py b/sim.py
index 7644266..9f89cd1 100755
--- a/sim.py
+++ b/sim.py
@@ -120,14 +120,14 @@ def main():
detector.build(bits=options.nbits)
print >>sys.stderr, 'Creating generator...'
- detector_material = optics.water
+ detector_material = optics.water_wcsim
generator_thread = GeneratorProcess(particle=options.particle,
energy=options.energy,
position=position,
direction=direction,
nevents=options.nevents,
material=detector_material)
- print >>sys.stderr, 'WARNING: ASSUMING DETECTOR IS WATER!!'
+ print >>sys.stderr, 'WARNING: ASSUMING DETECTOR IS WCSIM WATER!!'
# Do this now so we can get ahead of the photon propagation
print >>sys.stderr, 'Starting GEANT4 generator...'