Import Geant4 6.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:41:53 +02:00
parent 4aea781e80
commit 96686e0c8f
6560 changed files with 153347 additions and 238155 deletions
@@ -1,6 +1,6 @@
# $Id: dataAcess.py,v 1.2 2003/06/16 17:06:44 dressel Exp $
# $Id: dataAcess.py,v 1.3 2003/06/26 11:54:13 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-05-02 $
# GEANT4 tag $Name: geant4-06-00 $
# -------------------------------------------------------------------
#
import os
@@ -103,12 +103,11 @@ class MC_Data(object):
dname = self.baseName + det.name
if histo:
dname += "_" + histo
sourceDetectorVolume = 9.33
scale = self.getScale (atColiExit)
hGen = self.getGeneratedHisto()
binEdges = dpsManip.getBinEdges(hGen)
dGenScaled = dpsManip.getScaledDPS(hGen,
scale/sourceDetectorVolume,
scale/detector.sourceDetectorVolume,
df,
dname + "GenScaled")
dGenLethScaled = dpsManip.dLogWeightDPS(dGenScaled, df,