Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/GNUmakefile
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/GNUmakefile	(revision 1201)
+++ 	(revision )
@@ -1,33 +1,0 @@
-# $Id: GNUmakefile,v 1.6 2002/12/18 14:29:27 vnivanch Exp $
-# --------------------------------------------------------------
-# GNUmakefile for examples module.  Gabriele Cosmo, 06/04/98.
-# G4NOHIST variable is checked.  Vladimir Ivanchenko, 2000/01/18
-# --------------------------------------------------------------
-
-name := hTest
-G4TARGET := $(name)
-G4EXLIB := true
-
-ifndef G4INSTALL
-  G4INSTALL = ../../../../../..
-endif
-
-.PHONY: all
-all: lib bin
-
-ifndef G4ANALYSIS_USE
-  G4ANALYSIS_USE = 1
-endif
-
-CPPFLAGS += -DG4ANALYSIS_USE
-
-include $(G4INSTALL)/config/architecture.gmk
-
-CPPFLAGS += `aida-config --include`
-LDFLAGS  += `aida-config --lib`
-
-include $(G4INSTALL)/config/binmake.gmk
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/History
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/History	(revision 1201)
+++ 	(revision )
@@ -1,26 +1,0 @@
-
-     =========================================================
-     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
-     =========================================================
-
-                    hTest  History file
-                    -------------------
-This file should be used to briefly summarize all major modifications 
-introduced in the code and keep track of all tags.
-
-     ----------------------------------------------------------
-     * Reverse chronological order (last date on top), please *
-     ----------------------------------------------------------
-25.05.2000 - Stephane Chauvie 
-             Moved TestEm6 here from source/examples/extended/electromagnetic
-
-below: History of source/examples/extended/electromagnetic/TestEm6 
-
-31.03.2000 - include nTuple in the test which allows to control ranges
-             of hadrons and ions by V.Ivanchenko
-
-03.03.2000 - rename thePhysicsTable as theEm6PhysicsTable by V.Ivanchenko
-
-01.03.2000 - warning in RunAction is fixed by V.Ivanchenko
-     
-21.01.2000 - created. Vladimir Ivanchenko
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/README
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/README	(revision 1201)
+++ 	(revision )
@@ -1,52 +1,0 @@
-====================================================================== 
-Energy Electromagnetic Physics: hTest 
-======================================================================
-
-Integration and physics test for hadrons and ions
-
-Authors: Vladimir Ivanchenko 
-
-======================================================================
-
----- Scope
-
----- What it does
-     Simulation of energy deposition in absorber which consist
-     from N slices of defined material.
-
----- Description of the input
-     Input is done by the UI interface. additional UI commands
-     are defined in the directory "/hTest/". The list of this
-     commands can be accessed, for example, in the interactive 
-     session.
-
----- Description of the output
-	Text output
-           The range of particle in absorber and strugling
-           are printed out
-	Histograms
-           Currently the only 1 histoggramm Energy deposition
-           versus coordinate is booked.
-	Ntuples
-           Some information (particle mass, enery, range..) are
-           saved in ntuple.
-	Other
-
----- Location of the reference output
-     for 3 standard input files there are 4 reference output files
-     air.out, water.out, gaas.out, mylar.out
-
----- Macros
-     air.mac, water.mac, gaas.mac, gaas1, mylar.mac - 3 standard input files
-
----- Other files required
-
----- How to run it
-     hTest air.mac 
-     hTest water.mac
-     hTest gaas.mac gaas1.mac
-     hTest mylar.mac
-
----- Contactperson
-
-======================================================================
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/air.mac
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/air.mac	(revision 1201)
+++ 	(revision )
@@ -1,36 +1,0 @@
-#================================================
-# Macro file for the Air test of "hTest.cc"
-#         10.04.01 V.Ivanchneko
-#================================================ 
-/control/verbose 2
-/run/verbose 2
-/step/verbose 0
-/tracking/verbose 0
-/stepping/verbose 0
-/event/verbose 0
-/hTest/verbose 0
-#
-/hTest/physics/cutGamma    1.0 cm
-/hTest/physics/cutElectron 0.01 mm
-/hTest/physics/MaxStep     1.0 mm
-#/hTest/physics/EMList      LowEnergy
-/hTest/physics/EMList      Standard
-/hTest/physics/HadronList  LowEnergy
-/hTest/AbsorberMaterial    Air
-#/hTest/AbsorberMaterial    Silicon
-/hTest/WorldMaterial       Vacuum
-/hTest/AbsorberThick       1.0 mm
-/hTest/AbsorberXY          20.0 cm
-/hTest/NumberOfAbsorbers   300
-/hTest/HistoName           air.paw 
-/hTest/gun/beamE           5.0 MeV
-/hTest/NumberOfEvents      1000
-#
-#/gun/particle e-
-#/gun/particle gamma
-#/gun/particle proton
-#/gun/particle pi+
-/gun/particle alpha
-#/gun/particle triton
-#/gun/particle IonC12
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/air.out
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/air.out	(revision 1201)
+++ 	(revision )
@@ -1,238 +1,0 @@
-**********************************************
- Geant4 version $Name: emlowen-V09-02-64 $
-                                (06-Apr-2001)
-             Copyright : Geant4 Collaboration
-**********************************************
-Detector Construction is defined
-HsPhysicsList: <LowEnergy> EMPhysicsList is set
-HsPhysicsList: <none> HadronicPhysicsList is set
-Physics List is defined
-User actions will be initialized
-hTestPrimaryGeneratorMessenger: Construct 
-hTestPrimaryGeneratorAction is defined
-EventAction is defined
-TrackingAction is defined
-UI interface is started
-#================================================
-# Macro file for the Air test of "hTest.cc"
-#         10.04.01 V.Ivanchneko
-#================================================ 
-/run/verbose 2
-/step/verbose 0
-/tracking/verbose 0
-/stepping/verbose 0
-/event/verbose 0
-/hTest/verbose 0
-#
-/hTest/physics/cutGamma    1.0 cm
-/hTest/physics/cutElectron 1.0 mm
-/hTest/physics/MaxStep     1.0 mm
-hTestPhysicsList: MaxChargedStep = 1 mm
-#/hTest/physics/EMList      LowEnergy
-/hTest/physics/EMList      Standard
-HsPhysicsList: <Standard> EMPhysicsList is set
-/hTest/physics/HadronList  LowEnergy
-HsPhysicsList: <LowEnergy> HadronicPhysicsList is set
-/hTest/AbsorberMaterial    Air
-/hTest/WorldMaterial       Vacuum
-/hTest/HistoName           air.paw 
-/hTest/NumberOfEvents      1000
-#
-#/gun/particle e-
-#/gun/particle gamma
-#/gun/particle proton
-/gun/particle alpha
-#/gun/particle triton
-#/gun/particle IonC12
-/gun/energy 5.0 MeV
-#/gun/energy 0.001 MeV
-#/gun/energy 175.0 MeV
-#/gun/energy 360.0 MeV
-#/gun/energy 3240.0 MeV
-#
-#/run/beamOn 10
-
-Start initialisation
-userDetector->Construct() start.
-
-***** Table : Nb of materials = 18 *****
-
- Material: Beryllium            density:  1.848 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  35.267 cm
-   --->  Element: Beryllium    Z =  4.0   N =   9.0   A =   9.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Aluminum            density:  2.700 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.893 cm
-   --->  Element: Aluminum    Z = 13.0   N =  27.0   A =  26.98 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Carbon            density:  2.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  21.348 cm
-   --->  Element: Carbon    Z =  6.0   N =  12.0   A =  12.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Silicon            density:  2.330 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   9.368 cm
-   --->  Element: Silicon    Z = 14.0   N =  28.1   A =  28.09 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: liquidArgon            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  14.065 cm
-   --->  Element: liquidArgon    Z = 18.0   N =  40.0   A =  39.95 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Iron            density:  7.870 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.759 cm
-   --->  Element: Iron    Z = 26.0   N =  55.9   A =  55.85 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Copper            density:  8.960 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.436 cm
-   --->  Element: Copper    Z = 29.0   N =  63.5   A =  63.55 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Gold            density: 19.320 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   3.344 mm
-   --->  Element: Gold    Z = 79.0   N = 197.0   A = 196.97 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Lead            density: 11.350 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm
-   --->  Element: Lead    Z = 82.0   N = 207.2   A = 207.19 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Water        H_2O   density:  1.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  36.092 cm
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  11.21 %  Abundance  66.67 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  88.79 %  Abundance  33.33 %
-
- Material: Methane        CH_4   density:  0.667 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 696.375 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  25.19 %  Abundance  80.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  74.81 %  Abundance  20.00 %
-
- Material: Graphite        Graphite   density:  2.265 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  18.834 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: GaAs        GaAs   density:  5.318 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   2.293 cm
-   --->  Element: GalliumGa   Z = 31.0   N =  69.7   A =  69.72 g/mole  fractionMass:  48.20 %  Abundance  50.00 %
-   --->  Element: ArsenicumAs   Z = 33.0   N =  74.9   A =  74.92 g/mole  fractionMass:  51.80 %  Abundance  50.00 %
-
- Material: Ethane        C_2H_6   density: 424.100 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.076 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  20.16 %  Abundance  75.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  79.84 %  Abundance  25.00 %
-
- Material: CsI        CsI   density:  4.530 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.852 cm
-   --->  Element: CesiumCs   Z = 55.0   N = 132.9   A = 132.91 g/mole  fractionMass:  51.15 %  Abundance  50.00 %
-   --->  Element: IodideI   Z = 53.0   N = 126.9   A = 126.90 g/mole  fractionMass:  48.85 %  Abundance  50.00 %
-
- Material: Air            density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m
-   --->  Element: NitrogenN   Z =  7.0   N =  14.0   A =  14.01 g/mole  fractionMass:  70.00 %  Abundance  72.71 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  30.00 %  Abundance  27.29 %
-
- Material: Mylar            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  28.868 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  55.00 %  Abundance  30.30 %
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:   8.33 %  Abundance  54.55 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  36.67 %  Abundance  15.15 %
-
- Material: Vacuum            density:  0.000 mg/cm3  temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc
-   --->  Element: Vacuum    Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
-
-The  WORLD   is made of  of Vacuum. The transverse size (XY) of the world is 1e+02 mm
-The ABSORBER is made of 300 items of 1 mm of Air. The transverse size (XY) is 1e+02 mm
-physicsList->Construct() start.
-Standard Electromagnetic PhysicsList is initilized
-MuonMinusCaptureAtRest is created 
-MuonMinusCaptureAtRest is created 
-LowEnergy Hadronic PhysicsList is initilized
-physicsList->setCut() start.
-hTestPhysicsList: Set cuts for all particles 
-
-phot:  Total cross sections from a parametrisation. Good description from 10 KeV to 50 MeV for all Z
-        Sandia crossSection below 50 KeV
-       PhysicsTables from 50 keV to 50 MeV in 100 bins. 
-
-compt:  Total cross sections from a parametrisation. Good description from 10 KeV to (100/Z) GeV. 
-        Scattered gamma energy according Klein-Nishina.
-        PhysicsTables from 10 keV to 1e+02 GeV in 100 bins. 
-
-conv:  Total cross sections from a parametrisation. Good description from 1.5 MeV to 100 GeV for all Z. 
-        e+e- energies according Bethe-Heitler
-        PhysicsTables from 1 MeV to 1e+02 GeV in 100 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-eIoni:  delta cross sections from Moller+Bhabha. Good description from 1 KeV to 100 GeV.
-        delta ray energy sampled from  differential Xsection.
-        PhysicsTables from 1 keV to 1e+02 TeV in 100 bins. 
-
-eBrem:  Total cross sections from a NEW parametrisation based on the EEDL data library. 
- Good description from 1 KeV to 100 GeV.
-        log scale extrapolation above 100 GeV 
-        Gamma energy sampled from a parametrised formula.
-        PhysicsTables from 1 keV to 1e+02 TeV in 100 bins. 
-
-annihil:  Total cross section from Heilter formula (annihilation into 2 photons).
-        gamma energies sampled according Heitler
-        PhysicsTables from 10 keV to 10 TeV in 100 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-MuIoni:  knock-on electron cross sections .
-          Good description above the mean excitation energy.
-         delta ray energy sampled from  differential Xsection.
-      PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuBrems:  theoretical cross section 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuPairProd:  theoretical cross sections 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-hIoni:    Knock-on electron cross sections . 
-         Good description above the mean excitation energy.
-         delta ray energy sampled from  differential Xsection.
-        PhysicsTables from 1 keV to 1e+02 TeV in 100 bins. 
-============= The cut Energy ==============================
-                      gamma            e-           
-Cut in range                  1 cm             1 mm
-Cut in energy
- Beryllium                         3.84 keV           467 keV
-   Aluminum                         20.4 keV           597 keV
-   Carbon                         7.51 keV           522 keV
-   Silicon                         20.7 keV           546 keV
-   liquidArgon                         19.2 keV           345 keV
-   Iron                         60.6 keV          1.29 MeV
-   Copper                         70.1 keV          1.41 MeV
-   Gold                          377 keV          2.28 MeV
-   Lead                          284 keV          1.38 MeV
-   Water                         7.72 keV           353 keV
-   Methane                           10 eV           119 eV
-   Graphite                         7.92 keV           571 keV
-   GaAs                         63.9 keV           873 keV
-   Ethane                         3.87 keV           218 keV
-   CsI                          103 keV           690 keV
-   Air                           10 eV           276 eV
-   Mylar                         7.49 keV           431 keV
-   Vacuum                           10 eV            10 eV
-===================================================
-Start event loop for 1000 events
-hTestHisto: Histograms will be saved to the file <air.paw>
-Start closing geometry.
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=18s Real=18s Sys=0.14s
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 36.17; Stragling(mm)= 0.3345 +- 0.0075
-========================================================
-Histograms and Ntuples are saved
-runManager will be deleted
-G4 kernel has come to Quit state.
-Deletion of G4 kernel class start.
-UserDetectorConstruction deleted.
-UserPhysicsList deleted.
-UserPrimaryGenerator deleted.
-G4SDManager deleted.
-EventManager deleted.
-UImanager deleted.
-StateManager deleted.
-RunManager is deleting.
-runManager is deleted
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/batch.mac
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/batch.mac	(revision 1201)
+++ 	(revision )
@@ -1,49 +1,0 @@
-#
-# Macro file for the initialization phase of "hTest.cc"
-#
-# It creates the default geometry (simple absorber box) 
-#
-/control/verbose 2
-#control/saveHistory
-/run/verbose 2
-#/step/verbose 2
-#/tracking/verbose 2
-#/stepping/verbose 2
-/event/verbose 1
-#
-#/run/initialize
-#
-#/calor/setAbsMat Silicon   
-#/calor/setAbsThick 50. mum  
-#/calor/setAbsYZ 10. cm
-#/calor/update
-#
-#  PLOT: angle distr. of transmitted particles
-#/plots/setnbinTh 60
-#/plots/setThlow 0.0 deg
-#/plots/setThhigh 6.0 deg
-#
-#/calor/cutG 2130.0 micrometer
-#/calor/cutE 50.0 mm
-#/calor/cutG 10.0 mm
-#/calor/cutE 0.015 mm
-#  hist file name
-#/plots/sethistName C360le.paw 
-#/plots/sethistName enb.paw 
-/plots/sethistName c12lei1.paw 
-/run/initialize
-#/run/particle/dumpCutValues
-#/event/drawTracks none
-#
-#/gun/particle e-
-#/gun/particle gamma
-#/gun/particle proton
-/gun/particle IonC12
-#/gun/energy 360.0 MeV
-/gun/energy 3240.0 MeV
-#
-/run/beamOn 100
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/gaas.mac
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/gaas.mac	(revision 1201)
+++ 	(revision )
@@ -1,29 +1,0 @@
-#=======================================================
-# Macro file "gaas.mac" for the GaAs test by hTest.cc
-# 10.04.01 V.Ivanchenko
-#======================================================= 
-/control/verbose           2
-/run/verbose               2
-/step/verbose              0
-/tracking/verbose          0
-/stepping/verbose          0
-/event/verbose             0
-/hTest/verbose             0
-#
-/hTest/physics/cutGamma    0.001 mm
-/hTest/physics/cutElectron 0.001 mm
-/hTest/physics/MaxStep     0.1 mm
-/hTest/physics/EMList      LowEnergy
-/hTest/physics/HadronList  none
-/hTest/AbsorberMaterial    GaAs
-/hTest/AbsorberThick       0.001 mm
-/hTest/NumberOfAbsorbers   60
-/hTest/WorldMaterial       Vacuum
-/hTest/numberAbsToSave     0
-/hTest/HistoName           gaas.paw 
-/hTest/NumberOfEvents      1000
-/hTest/HistoNumber         0
-#
-/gun/particle              proton
-/gun/energy                1.0 MeV
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/gaas.out
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/gaas.out	(revision 1201)
+++ 	(revision )
@@ -1,453 +1,0 @@
-**********************************************
- Geant4 version $Name: emlowen-V09-02-64 $
-                                (06-Apr-2001)
-             Copyright : Geant4 Collaboration
-**********************************************
-Detector Construction is defined
-HsPhysicsList: <LowEnergy> EMPhysicsList is set
-HsPhysicsList: <none> HadronicPhysicsList is set
-Physics List is defined
-User actions will be initialized
-hTestPrimaryGeneratorMessenger: Construct 
-hTestPrimaryGeneratorAction is defined
-hTestRunAction is defined
-EventAction is defined
-TrackingAction is defined
-UI interface is started
-#=======================================================
-# Macro file "gaas.mac" for the GaAs test by hTest.cc
-# 10.04.01 V.Ivanchenko
-#======================================================= 
-/run/verbose               2
-/step/verbose              0
-/tracking/verbose          0
-/stepping/verbose          0
-/event/verbose             0
-/hTest/verbose             0
-#
-/hTest/physics/cutGamma    0.001 mm
-/hTest/physics/cutElectron 0.001 mm
-/hTest/physics/MaxStep     0.1 mm
-hTestPhysicsList: MaxChargedStep = 0.1 mm
-/hTest/physics/EMList      LowEnergy
-/hTest/physics/HadronList  none
-/hTest/AbsorberMaterial    GaAs
-/hTest/AbsorberThick       0.001 mm
-/hTest/NumberOfAbsorbers   60
-/hTest/WorldMaterial       Vacuum
-/hTest/numberAbsToSave     0
-/hTest/HistoName           gaas.paw 
-/hTest/NumberOfEvents      1000
-/hTest/HistoNumber         0
-#
-/gun/particle              proton
-/gun/energy                1.0 MeV
-
-Start initialisation
-userDetector->Construct() start.
-
-***** Table : Nb of materials = 18 *****
-
- Material: Beryllium            density:  1.848 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  35.267 cm
-   --->  Element: Beryllium    Z =  4.0   N =   9.0   A =   9.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Aluminum            density:  2.700 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.893 cm
-   --->  Element: Aluminum    Z = 13.0   N =  27.0   A =  26.98 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Carbon            density:  2.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  21.348 cm
-   --->  Element: Carbon    Z =  6.0   N =  12.0   A =  12.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Silicon            density:  2.330 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   9.368 cm
-   --->  Element: Silicon    Z = 14.0   N =  28.1   A =  28.09 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: liquidArgon            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  14.065 cm
-   --->  Element: liquidArgon    Z = 18.0   N =  40.0   A =  39.95 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Iron            density:  7.870 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.759 cm
-   --->  Element: Iron    Z = 26.0   N =  55.9   A =  55.85 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Copper            density:  8.960 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.436 cm
-   --->  Element: Copper    Z = 29.0   N =  63.5   A =  63.55 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Gold            density: 19.320 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   3.344 mm
-   --->  Element: Gold    Z = 79.0   N = 197.0   A = 196.97 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Lead            density: 11.350 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm
-   --->  Element: Lead    Z = 82.0   N = 207.2   A = 207.19 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Water        H_2O   density:  1.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  36.092 cm
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  11.21 %  Abundance  66.67 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  88.79 %  Abundance  33.33 %
-
- Material: Methane        CH_4   density:  0.667 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 696.375 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  25.19 %  Abundance  80.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  74.81 %  Abundance  20.00 %
-
- Material: Graphite        Graphite   density:  2.265 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  18.834 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: GaAs        GaAs   density:  5.318 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   2.293 cm
-   --->  Element: GalliumGa   Z = 31.0   N =  69.7   A =  69.72 g/mole  fractionMass:  48.20 %  Abundance  50.00 %
-   --->  Element: ArsenicumAs   Z = 33.0   N =  74.9   A =  74.92 g/mole  fractionMass:  51.80 %  Abundance  50.00 %
-
- Material: Ethane        C_2H_6   density: 424.100 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.076 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  20.16 %  Abundance  75.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  79.84 %  Abundance  25.00 %
-
- Material: CsI        CsI   density:  4.530 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.852 cm
-   --->  Element: CesiumCs   Z = 55.0   N = 132.9   A = 132.91 g/mole  fractionMass:  51.15 %  Abundance  50.00 %
-   --->  Element: IodideI   Z = 53.0   N = 126.9   A = 126.90 g/mole  fractionMass:  48.85 %  Abundance  50.00 %
-
- Material: Air            density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m
-   --->  Element: NitrogenN   Z =  7.0   N =  14.0   A =  14.01 g/mole  fractionMass:  70.00 %  Abundance  72.71 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  30.00 %  Abundance  27.29 %
-
- Material: Mylar            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  28.868 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  55.00 %  Abundance  30.30 %
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:   8.33 %  Abundance  54.55 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  36.67 %  Abundance  15.15 %
-
- Material: Vacuum            density:  0.000 mg/cm3  temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc
-   --->  Element: Vacuum    Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
-
-The  WORLD   is made of  of Vacuum. The transverse size (XY) of the world is 1e+02 mm
-The ABSORBER is made of 60 items of 0.001 mm of GaAs. The transverse size (XY) is 1e+02 mm
-physicsList->Construct() start.
-LowEnergy Electromagnetic PhysicsList is initilized
-LowE EM processes for GenericIon
-LowE GenericIon
-LowE EM processes for He3
-LowE He3
-LowE EM processes for IonAr40
-LowE IonAr40
-LowE EM processes for IonC12
-LowE IonC12
-LowE EM processes for IonFe56
-LowE IonFe56
-LowE EM processes for alpha
-LowE alpha
-LowE EM processes for anti_kaon0
-LowE EM processes for anti_lambda
-LowE EM processes for anti_neutron
-LowE EM processes for anti_nu_e
-LowE EM processes for anti_nu_mu
-LowE EM processes for anti_omega-
-LowE EM processes for anti_proton
-LowE anti_proton
-LowE EM processes for anti_sigma+
-LowE EM processes for anti_sigma-
-LowE EM processes for anti_sigma0
-LowE EM processes for anti_xi-
-LowE EM processes for anti_xi0
-LowE EM processes for chargedgeantino
-LowE EM processes for deuteron
-LowE deuteron
-LowE EM processes for e+
-LowE e+
-LowE EM processes for e-
-LowE e-
->>>>>>>>> New G4LowEnergyIonisation 0x892ba40
-LowE EM processes for eta
-LowE EM processes for eta_prime
-LowE EM processes for gamma
-LowE gamma
-LowE EM processes for geantino
-LowE EM processes for kaon+
-LowE kaon+
-LowE EM processes for kaon-
-LowE kaon-
-LowE EM processes for kaon0
-LowE EM processes for kaon0L
-LowE EM processes for kaon0S
-LowE EM processes for lambda
-LowE EM processes for mu+
-LowE mu+
-MuonMinusCaptureAtRest is created 
-LowE EM processes for mu-
-LowE mu-
-MuonMinusCaptureAtRest is created 
-LowE EM processes for neutron
-LowE EM processes for nu_e
-LowE EM processes for nu_mu
-LowE EM processes for omega-
-LowE EM processes for pi+
-LowE pi+
-LowE EM processes for pi-
-LowE pi-
-LowE EM processes for pi0
-LowE EM processes for proton
-LowE proton
-LowE EM processes for sigma+
-LowE sigma+
-LowE EM processes for sigma-
-LowE sigma-
-LowE EM processes for sigma0
-LowE EM processes for triton
-LowE triton
-LowE EM processes for xi-
-LowE EM processes for xi0
-physicsList->setCut() start.
-hTestPhysicsList: Set cuts for all particles 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-*** LEion using Tcut =0.00048
-*** LEion using Tcut =0.00082
-*** LEion using Tcut =0.00057
-*** LEion using Tcut =0.00066
-*** LEion using Tcut =0.00026
-*** LEion using Tcut =0.0036
-*** LEion using Tcut =0.0042
-*** LEion using Tcut =0.0088
-*** LEion using Tcut =0.0044
-*** LEion using Tcut =0.0002
-*** LEion using Tcut =1e-05
-*** LEion using Tcut =0.00069
-*** LEion using Tcut =0.0019
-*** LEion using Tcut =5.5e-05
-*** LEion using Tcut =0.0013
-*** LEion using Tcut =1e-05
-*** LEion using Tcut =0.00034
-*** LEion using Tcut =1e-05
-
-LowEnergyIoni:  Low energy ionisation code with implementation of the continuous dE/dx part.
- At present it can be used for electrons  in the energy range [250eV,100GeV]
- the process must work with G4LowEnergyBremsstrahlung
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Beryllium
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Aluminum
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Carbon
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Silicon
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material liquidArgon
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Iron
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Copper
-*** LE Bremsstrahlung using Gamma Tcut = 0.0017 for material Gold
-*** LE Bremsstrahlung using Gamma Tcut = 0.0012 for material Lead
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Water
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Methane
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Graphite
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material GaAs
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Ethane
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material CsI
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Air
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Mylar
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Vacuum
-
-LowEnBrem:  Total cross sections from EEDL database,Gamma energy sampled from a parametrised formula.Implementation of the continuous dE/dx part.
- At present it can be used for electrons  in the energy range [250eV,100GeV]
- the process must work with G4LowEnergyIonisation
-
-annihil:  Total cross section from Heilter formula (annihilation into 2 photons).
-        gamma energies sampled according Heitler
-        PhysicsTables from 10 keV to 10 TeV in 100 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-MuIoni:  knock-on electron cross sections .
-          Good description above the mean excitation energy.
-         delta ray energy sampled from  differential Xsection.
-      PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuBrems:  theoretical cross section 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuPairProd:  theoretical cross sections 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-hLowEIoni:    Knock-on electron cross sections . 
-        Good description above the mean excitation energy.
-        Delta ray energy sampled from  differential Xsection.
-        PhysicsTables from 10 eV  to 1e+02 TeV  in 200 bins.
-        Electronic stopping power model is  ICRU_R49p
-        from 1 keV  to 2 MeV .
-
-        Parametrisation model for antiprotons is  ICRU_R49p
-        from 50 keV  to 2 MeV .
-        Parametrization of the Barkas effect is switched on.
-        Nuclear stopping power model is ICRU_R49
-           material       min.delta energy(keV) 
-
-Methane          0.043
-Air          0.086
-Vacuum          0.021
-============= The cut Energy ==============================
-                      gamma            e-           
-Cut in range                  1 mum             1 mum
-Cut in energy
- Beryllium                           10 eV           484 eV
-   Aluminum                           10 eV           820 eV
-   Carbon                           10 eV           570 eV
-   Silicon                           10 eV           656 eV
-   liquidArgon                           10 eV           259 eV
-   Iron                           10 eV          3.56 keV
-   Copper                           10 eV          4.15 keV
-   Gold                         1.72 keV          8.77 keV
-   Lead                         1.21 keV          4.44 keV
-   Water                           10 eV           202 eV
-   Methane                           10 eV            10 eV
-   Graphite                           10 eV           691 eV
-   GaAs                           10 eV          1.93 keV
-   Ethane                           10 eV          54.8 eV
-   CsI                           10 eV          1.33 keV
-   Air                           10 eV            10 eV
-   Mylar                           10 eV           339 eV
-   Vacuum                           10 eV            10 eV
-===================================================
-Start event loop for 1000 events
-### Run 0 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
-Start closing geometry.
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=4.7s Real=4.7s Sys=0.02s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.01169; Stragling(mm)= 0.0002494 +- 7.9e-06
-========================================================
-Histograms and Ntuples are saved
-Second mac file is applied
-/control/execute gaas1.mac
-#=======================================================
-# Macro file "gaas1.mac" for the GaAs test by hTest.cc
-# 10.04.01 V.Ivanchenko
-#======================================================= 
-/gun/energy                1.2 MeV
-/run/beamOn                1000
-### Run 1 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
- *** WARNING in HBOOK1 : Already existing histogram replaced : ID=       1 
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=6.4s Real=6.5s Sys=0.04s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.01507; Stragling(mm)= 0.0003613 +- 1.1e-05
-========================================================
-Histograms and Ntuples are saved
-/gun/energy                1.4 MeV
-/run/beamOn                1000
-### Run 2 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
- *** WARNING in HBOOK1 : Already existing histogram replaced : ID=       1 
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=8.5s Real=8.6s Sys=0.05s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.01878; Stragling(mm)= 0.0003841 +- 1.2e-05
-========================================================
-Histograms and Ntuples are saved
-/gun/energy                1.6 MeV
-/run/beamOn                1000
-### Run 3 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
- *** WARNING in HBOOK1 : Already existing histogram replaced : ID=       1 
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=11s Real=11s Sys=0.07s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.02279; Stragling(mm)= 0.0004696 +- 1.5e-05
-========================================================
-Histograms and Ntuples are saved
-/gun/energy                1.8 MeV
-/run/beamOn                1000
-### Run 4 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
- *** WARNING in HBOOK1 : Already existing histogram replaced : ID=       1 
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=13s Real=14s Sys=0.08s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.02708; Stragling(mm)= 0.0005178 +- 1.6e-05
-========================================================
-Histograms and Ntuples are saved
-/gun/energy                2.0 MeV
-/run/beamOn                1000
-### Run 5 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
- *** WARNING in HBOOK1 : Already existing histogram replaced : ID=       1 
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=16s Real=16s Sys=0.16s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.03172; Stragling(mm)= 0.0006751 +- 2.1e-05
-========================================================
-Histograms and Ntuples are saved
-/gun/energy                2.2 MeV
-/run/beamOn                1000
-### Run 6 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
- *** WARNING in HBOOK1 : Already existing histogram replaced : ID=       1 
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=18s Real=18s Sys=0.14s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.03659; Stragling(mm)= 0.0008632 +- 2.7e-05
-========================================================
-Histograms and Ntuples are saved
-/gun/energy                2.4 MeV
-/run/beamOn                1000
-### Run 7 start
-hTestHisto: Histograms will be saved to the file <gaas.paw>
- *** WARNING in HBOOK1 : Already existing histogram replaced : ID=       1 
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=20s Real=20s Sys=0.1s
-hTestRunAction: End of run actions are started
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.04181; Stragling(mm)= 0.000826 +- 2.6e-05
-========================================================
-Histograms and Ntuples are saved
-runManager will be deleted
-G4 kernel has come to Quit state.
-Deletion of G4 kernel class start.
-UserDetectorConstruction deleted.
-UserPhysicsList deleted.
-UserRunAction deleted.
-UserPrimaryGenerator deleted.
-G4SDManager deleted.
-EventManager deleted.
-UImanager deleted.
-StateManager deleted.
-RunManager is deleting.
-runManager is deleted
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/hTest.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/hTest.cc	(revision 1201)
+++ 	(revision )
@@ -1,155 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTest ----------------------------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4RunManager.hh"
-#include "G4UImanager.hh"
-#include "G4UIterminal.hh"
-#include "Randomize.hh"
-
-#ifdef G4VIS_USE
-#include "hTestVisManager.hh"
-#endif
-
-#include "hTestDetectorConstruction.hh"
-#include "hTestPhysicsList.hh"
-#include "hTestPrimaryGeneratorAction.hh"
-#include "hTestEventAction.hh"
-#include "hTestTrackingAction.hh"
-#include "hTestRunAction.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-int main(int argc,char** argv) {
-
-  G4int verbose = 1;
-  //choose the Random engine
-  //  HepRandom::setTheEngine(new RanecuEngine);
-  
-  // Construct the default run manager
-  G4RunManager * runManager = new G4RunManager();
-
-  // set mandatory initialization classes
-  hTestDetectorConstruction* det = new hTestDetectorConstruction();
-  runManager->SetUserInitialization(det);
-  det->SetVerbose(verbose);
-  if(verbose >0) G4cout << "Detector Construction is defined" << G4endl;
-  
-  runManager->SetUserInitialization(new hTestPhysicsList(det));
-  if(verbose >0) G4cout << "Physics List is defined" << G4endl;
-
-#ifdef G4VIS_USE
-  G4cout << "VisManager will be inicialized" << G4endl;
-  // visualization manager
-  G4VisManager* visManager = new hTestVisManager;
-  visManager->Initialize();
-#endif 
-
-  G4cout << "User actions will be initialized" << G4endl;
- 
-  // set user action classes
-  runManager->SetUserAction(new hTestPrimaryGeneratorAction(det));
-  if(verbose >0) G4cout << "hTestPrimaryGeneratorAction is defined" << G4endl;
-
-  runManager->SetUserAction(new hTestRunAction());
-  if(verbose >0) G4cout << "hTestRunAction is defined" << G4endl;
-
-  hTestEventAction* event = new hTestEventAction(det);
-  runManager->SetUserAction(event);
-  if(verbose >0) G4cout << "EventAction is defined" << G4endl;
-
-  runManager->SetUserAction(new hTestTrackingAction());
-  if(verbose >0) G4cout << "TrackingAction is defined" << G4endl;
-  
-  // get the pointer to the User Interface manager 
-  G4UImanager* UI = G4UImanager::GetUIpointer();  
-  if(1 < verbose) UI->ListCommands("/hTest/");
-
-  if (argc==1)   // Define UI terminal for interactive mode  
-    { 
-     // Initialize G4 kernel
-     runManager->Initialize();
-
-     G4UIsession * session = new G4UIterminal;
-     UI->ApplyCommand("/control/execute init.mac");    
-     session->SessionStart();
-     delete session;
-    }
-  else if (argc>1) // Batch mode with 1 or more files 
-    { 
-     if(verbose >0) G4cout << "UI interface is started" << G4endl;
-     G4String command = "/control/execute ";
-     G4String fileName = argv[1];
-     UI->ApplyCommand(command+fileName);
-
-     // Initialize G4 kernel
-     G4int nev = det->GetNumberOfEvents();
-     if(nev > 0) {
-       G4cout << "Start initialisation for hTest" << G4endl;
-       runManager->Initialize();
-
-       if(verbose >0) {
-         G4cout << "Start event loop for " << nev  
-                << " events" << G4endl;
-       }
-
-       runManager->BeamOn(nev);
-     }
-
-     // next file
-     if(argc==3) {
-       if(verbose >0) G4cout << "Second mac file is applied" << G4endl; 
-       UI->ApplyCommand(command+argv[2]);
-     }
-    }
-    
-  // job termination
-  
-#ifdef G4VIS_USE
-  delete visManager;
-#endif
-
-  G4cout << "runManager will be deleted" << G4endl;  
-  delete runManager;
-  G4cout << "runManager is deleted" << G4endl;  
-
-  return 0;
-}
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/hTest.in
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/hTest.in	(revision 1201)
+++ 	(revision )
@@ -1,52 +1,0 @@
-#
-# Macro file for the initialization phase of "TestEm6.cc"
-#
-# It creates the default geometry (simple absorber box) 
-#
-/control/verbose 1
-#control/saveHistory
-/run/verbose 2
-#/step/verbose 2
-#/tracking/verbose 1
-#/stepping/verbose 2
-#/event/verbose 2
-#
-#/calor/setAbsMat Silicon   
-#/calor/setAbsThick 8. mm  
-#/calor/setAbsYZ 10. cm
-#/calor/update
-#/calor/cutG 100.0 micrometer
-#/calor/cutE 100.0 micrometer
-/calor/cutP 100.0 micrometer
-/step/setMaxStep 1 mm
-#  hist file name
-#/plots/sethistName p.plot 
-#/run/initialize
-#/run/particle/dumpCutValues
-#/event/drawTracks none
-#
-# Gun with Protons 10 MeV
-#
-/gun/particle proton
-/gun/energy 10.0 MeV
-#
-/run/beamOn 1000
-#
-# Gun with antiProtons 10 MeV
-#
-#/plots/sethistName antip.plot 
-/run/initialize
-/gun/particle anti_proton
-/gun/energy 10.0 MeV
-/run/beamOn 1000
-#
-# Gun with IonC12 100 MeV
-#
-#/plots/sethistName ionc12.plot 
-/run/initialize
-/gun/particle IonC12
-/gun/energy 10.0 MeV
-/run/beamOn 1000
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/G4IonAr40.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/G4IonAr40.hh	(revision 1201)
+++ 	(revision )
@@ -1,86 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef G4IonAr40_h
-#define G4IonAr40_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   G4IonAr40
-//
-// Class Description:
-// The new static ion Ar40+ is defined as G4VIon.
-// Each class inheriting from G4VIon
-// corresponds to a particle type; one and only one
-// instance for each class is guaranteed.
-// Class Description - end
-//  
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "globals.hh"
-#include "G4ios.hh"
-#include "G4VIon.hh"
-
-// ######################################################################
-// ###                          IonAr40                                 ###
-// ######################################################################
-
-class G4IonAr40 : public G4VIon
-{
- private:
-   static G4IonAr40 theIonAr40;
-
-public: // Without description
-   G4IonAr40(
-       const G4String&     aName,        G4double            mass,
-       G4double            width,        G4double            charge,   
-       G4int               iSpin,        G4int               iParity,    
-       G4int               iConjugation, G4int               iIsospin,   
-       G4int               iIsospin3,    G4int               gParity,
-       const G4String&     pType,        G4int               lepton,      
-       G4int               baryon,       G4int               encoding,
-       G4bool              stable,       G4double            lifetime,
-       G4DecayTable        *decaytable
-   );
-
-   virtual ~G4IonAr40();
-  
-   static G4IonAr40*    IonAr40Definition();
-   static G4IonAr40*    IonAr40();
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/G4IonC12.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/G4IonC12.hh	(revision 1201)
+++ 	(revision )
@@ -1,84 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef G4IonC12_h
-#define G4IonC12_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   G4IonC12
-//
-// Class Description:
-// The new static ion C12+ is defined as G4VIon.
-// Each class inheriting from G4VIon
-// corresponds to a particle type; one and only one
-// instance for each class is guaranteed.
-// Class Description - end
-//  
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "globals.hh"
-#include "G4ios.hh"
-#include "G4VIon.hh"
-
-// ######################################################################
-// ###                          IonC12                                 ###
-// ######################################################################
-
-class G4IonC12 : public G4VIon
-{
- private:
-   static G4IonC12  theIonC12;
-
-public: // Without description
-
-   G4IonC12(
-       const G4String&     aName,        G4double            mass,
-       G4double            width,        G4double            charge,   
-       G4int               iSpin,        G4int               iParity,    
-       G4int               iConjugation, G4int               iIsospin,   
-       G4int               iIsospin3,    G4int               gParity,
-       const G4String&     pType,        G4int               lepton,      
-       G4int               baryon,       G4int               encoding,
-       G4bool              stable,       G4double            lifetime,
-       G4DecayTable        *decaytable
-   );
-   virtual ~G4IonC12();
-  
-   static G4IonC12*    IonC12Definition();
-   static G4IonC12*    IonC12();
-};
-
-#endif
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/G4IonFe56.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/G4IonFe56.hh	(revision 1201)
+++ 	(revision )
@@ -1,87 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef G4IonFe56_h
-#define G4IonFe56_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   G4IonFe56
-//
-// Class Description:
-// The new static ion Fe56+ is defined as G4VIon.
-// Each class inheriting from G4VIon
-// corresponds to a particle type; one and only one
-// instance for each class is guaranteed.
-// Class Description - end
-//  
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "globals.hh"
-#include "G4ios.hh"
-#include "G4VIon.hh"
-
-// ######################################################################
-// ###                          IonFe56                                 ###
-// ######################################################################
-
-class G4IonFe56 : public G4VIon
-{
- private:
-   static G4IonFe56 theIonFe56;
-
-public: // Without description
-
-   G4IonFe56(
-       const G4String&     aName,        G4double            mass,
-       G4double            width,        G4double            charge,   
-       G4int               iSpin,        G4int               iParity,    
-       G4int               iConjugation, G4int               iIsospin,   
-       G4int               iIsospin3,    G4int               gParity,
-       const G4String&     pType,        G4int               lepton,      
-       G4int               baryon,       G4int               encoding,
-       G4bool              stable,       G4double            lifetime,
-       G4DecayTable        *decaytable
-   );
-   virtual ~G4IonFe56();
-  
-   static G4IonFe56*    IonFe56Definition();
-   static G4IonFe56*    IonFe56();
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/Tst11PhysicsList.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/Tst11PhysicsList.hh	(revision 1201)
+++ 	(revision )
@@ -1,70 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: Tst11PhysicsList.hh,v 1.5 2006/06/29 19:46:53 gunter Exp $
-// GEANT4 tag $Name: geant4-09-03-cand-01 $
-//
-#ifndef Tst11PhysicsList_h
-#define Tst11PhysicsList_h 1
-
-#include "G4VUserPhysicsList.hh"
-#include "globals.hh"
-
-class Tst11PhysicsList: public G4VUserPhysicsList
-{
-  public:
-    Tst11PhysicsList();
-    virtual ~Tst11PhysicsList();
-
-  protected:
-    // Construct particle and physics
-    virtual void ConstructParticle();
-    virtual void ConstructProcess();
-
-    // 
-    virtual void SetCuts();
-    
-  protected:
-  // these methods Construct physics processes and register them
-    virtual void ConstructGeneral();
-    virtual void ConstructEM();
-    virtual void ConstructHad();
-    virtual void ConstructLeptHad();
-
-  //
-    void  ConstructAllBosons();
-    void  ConstructAllLeptons();
-    void  ConstructAllMesons();
-    void  ConstructAllBaryons();
-    void  ConstructAllIons();
-    void  ConstructAllShortLiveds();
-
-};
-
-#endif
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestCalorimeterSD.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestCalorimeterSD.hh	(revision 1201)
+++ 	(revision )
@@ -1,87 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestCalorimeterSD_h
-#define hTestCalorimeterSD_h 1
-
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestCalorimeterSD -------------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4VSensitiveDetector.hh"
-#include "G4HCofThisEvent.hh"
-#include "G4TouchableHistory.hh"
-#include "G4Step.hh"
-#include "hTestHisto.hh"
-#include "globals.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestCalorimeterSD : public G4VSensitiveDetector
-{
-public: // Without description
-  
-      hTestCalorimeterSD(G4String);
-     ~hTestCalorimeterSD();
-
-      void Initialize(G4HCofThisEvent*);
-      G4bool ProcessHits(G4Step*,G4TouchableHistory*);
-      void EndOfEvent(G4HCofThisEvent*);
-      void clear();
-      void PrintAll();
-
-  private:
-  
-      hTestHisto* theHisto;
-      G4int evno;
-      G4int evnOld;
-      G4int trIDold;
-      std::vector<G4double> energy;
-      G4int numAbs;
-      G4double backEnergy;
-      G4double leakEnergy;
-      G4double zmax;
-      G4double tkinold;
-      G4double delta;
-      G4bool   part_is_out;
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestDetectorConstruction.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestDetectorConstruction.hh	(revision 1201)
+++ 	(revision )
@@ -1,161 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestDetectorConstruction_h
-#define hTestDetectorConstruction_h 1
-
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestDetectorConstruction -------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4VUserDetectorConstruction.hh"
-#include "G4VPhysicalVolume.hh"
-#include "G4LogicalVolume.hh"
-#include "G4Box.hh"
-#include "G4Material.hh"
-#include "G4UniformMagField.hh"
-#include "globals.hh"
-#include "G4ios.hh"
-
-class hTestCalorimeterSD;
-class hTestEventAction;
-class hTestDetectorMessenger;
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestDetectorConstruction : public G4VUserDetectorConstruction
-{
-  public:
-  
-    hTestDetectorConstruction();
-   ~hTestDetectorConstruction();
-
-  public:
-     
-    inline void SetAbsorberMaterial(const G4String& v) {nameMatAbsorber = v;};
-    inline G4Material* GetAbsorberMaterial()  const {return AbsorberMaterial;};
-    void SetNumberOfAbsorbers(G4int);     
-    inline G4int GetNumberOfAbsorbers() const {return NumberOfAbsorbers;};
-    void SetAbsorberThickness(G4double);     
-    inline G4double  GetAbsorberThickness() const {return AbsorberThickness;};
-    void SetAbsorberSizeXY   (G4double);            
-    inline G4double    GetAbsorberSizeXY() const {return SizeXY;};
-    inline void SetWorldMaterial(const G4String& v) {nameMatWorld = v;};
-    inline G4Material* GetWorldMaterial() const {return WorldMaterial;};
-    void SetWorldSizeZ   (G4double);
-    inline G4double    GetWorldSizeZ() const {return WorldSizeZ;}; 
-    void SetGap(G4double val);
-    inline G4double    GetGap() const {return gap;}; 
-    inline void SetNumberOfEvents(G4int val) {nEvents = val;};
-    inline G4int GetNumberOfEvents() const {return nEvents;};
-    inline void SetEventAction(hTestEventAction* p) {theEvent = p;};
-    inline hTestEventAction* GetEventAction() const {return theEvent;};
-    inline void SetVerbose(G4int val) {myVerbose = val;};
-    inline G4int GetVerbose() const {return myVerbose;};
-    inline void SetNumAbsorbersSaved(G4int val) {nAbsSaved = val;};
-    inline G4int GetNumAbsorbersSaved() const {return nAbsSaved;};
-    inline void SetFirstEventToDebug(G4int val) {nFirstEvtToDebug = val;};
-    inline G4int GetFirstEventToDebug() const {return nFirstEvtToDebug;};
-    inline void SetLastEventToDebug(G4int val) {nLastEvtToDebug = val;};
-    inline G4int GetLastEventToDebug() const {return nLastEvtToDebug;};
-    inline G4double  GetMaxDeltaEnergy() const {return maxDelta;};
-    inline void SetMaxDeltaEnergy(G4double val) {maxDelta = val;};            
-
-    inline const G4VPhysicalVolume* GetPhysWorld() const {return physWorld;};
-    inline const G4LogicalVolume*   GetAbsorber()  const {return logicAbs;};
-
-    void SetMagField(G4double,G4int);
-     
-    G4VPhysicalVolume* Construct();
-    void UpdateGeometry();
-    void PrintGeomParameters(); 
-                                     
-  private:
-
-    // Methods
-
-     void DefineMaterials();
-     G4Material* GetMaterial(const G4String&);
-     void ComputeGeomParameters();
-     G4VPhysicalVolume* ConstructGeometry();     
-     void GeometryIsChanged();     
-     void MaterialIsChanged();     
-
-    // Members
-     
-     G4String           nameMatAbsorber;
-     G4Material*        AbsorberMaterial;
-     G4double           AbsorberThickness;  // 
-     G4double           SizeXY;
-     G4double           gap;
-
-     G4int              NumberOfAbsorbers;
-
-     G4double           ZposAbs;
-     
-     G4String           nameMatWorld;
-     G4Material*        WorldMaterial;
-     G4double           WorldSizeZ;     
-                
-     G4Box*             solidWorld;    //pointer to the solid World 
-     G4LogicalVolume*   logicWorld;    //pointer to the logical World
-     G4VPhysicalVolume* physWorld;     //pointer to the physical World
-
-     G4Box*             solidAbs;      //pointer to the solid Absorber
-     G4LogicalVolume*   logicAbs;      //pointer to the logical Absorber
-     G4VPhysicalVolume* physAbs;       //pointer to the physical Absorber
-     
-     G4UniformMagField* magField;      //pointer to the magnetic field
-     
-     hTestDetectorMessenger* detectorMessenger;  
-     hTestCalorimeterSD* calorimeterSD;  
-     hTestEventAction* theEvent;
-
-     G4int myVerbose;      
-     G4int nEvents;
-     G4bool detIsConstructed;
-     G4int nAbsSaved;
-     G4int nFirstEvtToDebug;
-     G4int nLastEvtToDebug;
-     G4double maxDelta;
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestDetectorMessenger.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestDetectorMessenger.hh	(revision 1201)
+++ 	(revision )
@@ -1,106 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestDetectorMessenger_h
-#define hTestDetectorMessenger_h 1
-
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestDetectorMessenger -------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "globals.hh"
-#include "G4UImessenger.hh"
-
-class hTestDetectorConstruction;
-class G4UIdirectory;
-class G4UIcmdWithAString;
-class G4UIcmdWithAnInteger;
-class G4UIcmdWithABool;
-class G4UIcmdWithADoubleAndUnit;
-class G4UIcmdWithoutParameter;
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestDetectorMessenger: public G4UImessenger
-{
-public: // Without description
-
-    hTestDetectorMessenger(hTestDetectorConstruction* );
-   ~hTestDetectorMessenger();
-    
-    void SetNewValue(G4UIcommand*, G4String);
-    
-  private:
-
-    hTestDetectorConstruction* hDet;
-    
-    G4UIdirectory*             hTestdetDir;
-    G4UIdirectory*             hTestdetDir1;
-    G4UIdirectory*             hTestdetDir2;
-
-    G4UIcmdWithAnInteger*      NumOfAbsCmd;
-    G4UIcmdWithAString*        AbsMaterCmd;
-    G4UIcmdWithADoubleAndUnit* AbsThickCmd;
-    G4UIcmdWithADoubleAndUnit* AbsGapCmd;
-    G4UIcmdWithADoubleAndUnit* AbsSizYZCmd;
-    G4UIcmdWithAString*        WorldMaterCmd;
-    G4UIcmdWithADoubleAndUnit* WorldXCmd;
-    G4UIcmdWithoutParameter*   UpdateCmd;
-    G4UIcmdWithADoubleAndUnit* XMagFieldCmd;
-    G4UIcmdWithADoubleAndUnit* YMagFieldCmd;
-    G4UIcmdWithADoubleAndUnit* ZMagFieldCmd;
-    G4UIcmdWithAString*        HistoCmd;
-    G4UIcmdWithABool*          ntupCmd;
-    G4UIcmdWithAnInteger*      NumOfEvt;
-    G4UIcmdWithAnInteger*      verbCmd;
-    G4UIcmdWithAnInteger*      intCmd;
-    G4UIcmdWithAnInteger*      nhistCmd;
-    G4UIcmdWithAnInteger*      nDebugSCmd;
-    G4UIcmdWithAnInteger*      nDebugECmd;
-    G4UIcmdWithADoubleAndUnit* DeltaECmd;
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestEventAction.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestEventAction.hh	(revision 1201)
+++ 	(revision )
@@ -1,76 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestEventAction_h
-#define hTestEventAction_h 1
- 
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestEventAction -------------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4UserEventAction.hh"
-#include "hTestDetectorConstruction.hh"
-#include "G4Event.hh"
-#include "globals.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestEventAction : public G4UserEventAction
-{
-public: // Without description
-
-    hTestEventAction(const hTestDetectorConstruction*);
-   ~hTestEventAction();
-
-    void BeginOfEventAction(const G4Event*);
-    void   EndOfEventAction(const G4Event*);
-    
-    inline void SetDrawFlag(G4String val)  {drawFlag = val;};
-    inline G4int GetEventNo() const {return nEvt;};
-    
-  private:
-
-    const hTestDetectorConstruction* theDet;
-    G4int nEvt;
-    G4int verbose;
-    G4String drawFlag;
-};
-
-#endif
-
-    
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestHadronPhysicsList.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestHadronPhysicsList.hh	(revision 1201)
+++ 	(revision )
@@ -1,66 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestHadronPhysicsList_h
-#define hTestHadronPhysicsList_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestVHadronPhysicsList
-//  
-// Description: Standard hTest Hadron Physics List for Geant4
-//
-// Authors:     V.Ivanchenko 29/03/01
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-#include "hTestVHadronPhysicsList.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestHadronPhysicsList:  public hTestVHadronPhysicsList
-{
-public:
-  hTestHadronPhysicsList() {};
-  ~hTestHadronPhysicsList() {};
-
-protected:
-  void ConstructProcess();
-  
-private:
-
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestHadronPhysicsList1.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestHadronPhysicsList1.hh	(revision 1201)
+++ 	(revision )
@@ -1,66 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestHadronPhysicsList1_h
-#define hTestHadronPhysicsList1_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestVHadronPhysicsList1
-//  
-// Description: hTest Hadron Physics List for Geant4 without ions 
-//              and without short lived fragments
-//
-// Authors:   07.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-#include "hTestVHadronPhysicsList.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestHadronPhysicsList1:  public hTestVHadronPhysicsList
-{
-public:
-  hTestHadronPhysicsList1() {};
-  ~hTestHadronPhysicsList1() {};
-
-protected:
-  void ConstructProcess();
-  
-private:
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestHisto.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestHisto.hh	(revision 1201)
+++ 	(revision )
@@ -1,138 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestHisto_h
-#define hTestHisto_h 1
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestHisto
-//  
-// Description: Singleton class to hold Emc geometry parameters.
-//              User cannot access to the constructor. 
-//              The pointer of the only existing object can be got via 
-//              hTestHisto::GetPointer() static method. 
-//              The first invokation of this static method makes 
-//              the singleton object.
-//
-// Author:      V.Ivanchenko 27/09/00
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "globals.hh"
-#include <vector>
-#include "G4DynamicParticle.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class AIDA::IHistogram1D;
-class AIDA::ITuple;
-class AIDA::ITree;
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestHisto
-{
-
-public:
-  // With description
-
-    static hTestHisto* GetPointer();
-
-    hTestHisto();
-
-   ~hTestHisto();
- 
-    void BeginOfHisto(G4int);
-  // In this method histogramms are booked
-
-    void EndOfHisto();
-  // In this method bookHisto method is called in which histogramms are filled
-
-public: // Without description
-
-    void SetHistoName(const G4String& name) {histName = name;};
-    void bookHisto();
-    inline ITuple* GetNtuple() const {return ntup;};
-    void SaveToTuple(const G4String&, G4double);
-    void SaveToTuple(const G4String&, G4double, G4double);
-    void SaveEvent();
-    G4double GetTrackLength() const {return trackLength;};
-    void ResetTrackLength() {trackLength = 0.0, trackAbs = true;};
-    void SetTrackOutAbsorber() {trackAbs = false;};
-    G4bool GetTrackInAbsorber() const {return trackAbs;};
-    void AddTrackLength(G4double x)   {trackLength += x;};
-    void AddEndPoint(G4double);
-    void AddEnergy(G4double, G4double);
-    void AddDeltaElectron(const G4DynamicParticle*);
-    void AddPhoton(const G4DynamicParticle*);
-    void SetVerbose(G4int val) {verbose = val;};
-    G4int GetVerbose() const {return verbose;};
-    void SetHistoNumber(G4int val) {nHisto = val;};
-    void SetNtuple(G4bool val) {nTuple = val;};
-
-    void SetNumberOfAbsorbers(G4int val) {NumberOfAbsorbers = val;};     
-    G4int GetNumberOfAbsorbers() const {return NumberOfAbsorbers;};
-    void SetAbsorberThickness(G4double val) {AbsorberThickness = val;};     
-    G4double  GetAbsorberThickness() const {return AbsorberThickness;};
-    void SetGap(G4double val) {gap = val;};     
-    G4double  GetGap() const {return gap;};
-    void SetNumAbsorbersSaved(G4int val) {nAbsSaved = val;};
-    G4int GetNumAbsorbersSaved() const {return nAbsSaved;};
-    void SetMaxEnergy(G4double val) {maxEnergy = val;};     
-    G4double  GetMaxEnergy() const {return maxEnergy;};
-
-private:
-
-    hTestHisto(hTestHisto&);
-    const hTestHisto& operator=(const hTestHisto&);
-
-  // MEMBERS
-    static hTestHisto* fManager;
-
-    G4String histName;
-    G4String theName;
-    std::vector<AIDA::IHistogram1D*> histo;
-    AIDA::ITuple* ntup;
-    AIDA::ITree* tree;
-    G4int nHisto;
-    G4int verbose; 
-    G4double zend;
-    G4double zend2;
-    G4double zEvt;
-    G4double AbsorberThickness;
-    G4double gap;
-    G4int NumberOfAbsorbers;
-    G4int nAbsSaved;
-    G4double maxEnergy;
-    G4double trackLength;
-    G4bool trackAbs;
-    G4bool nTuple;
-};
-
-#endif
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestLowEPhysicsList.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestLowEPhysicsList.hh	(revision 1201)
+++ 	(revision )
@@ -1,66 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestLowEPhysicsList_h
-#define hTestLowEPhysicsList_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestLowEPhysicsList
-//  
-// Description: LowEnergy EM processes list
-//
-// Authors:     V.Ivanchenko 29/03/01
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestVEMPhysicsList.hh"
-
-class hTestLowEPhysicsList : public hTestVEMPhysicsList
-{
-public:
-  hTestLowEPhysicsList();
-  ~hTestLowEPhysicsList() {};
-
-protected:
-  void ConstructProcess();
-  
-private:
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPhysicsList.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPhysicsList.hh	(revision 1201)
+++ 	(revision )
@@ -1,120 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestPhysicsList_h
-#define hTestPhysicsList_h 1
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestPhysicsList
-//  
-// Description: hTest PhysicsList 
-//
-// Authors:    07.04.01 V.Ivanchenko
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4VUserPhysicsList.hh"
-#include "hTestDetectorConstruction.hh"
-#include "hTestVEMPhysicsList.hh"
-#include "hTestVHadronPhysicsList.hh"
-#include "globals.hh"
-
-class hTestPhysicsListMessenger;
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestPhysicsList: public G4VUserPhysicsList
-{
-public: // Without description
-    hTestPhysicsList(const hTestDetectorConstruction*);
-   ~hTestPhysicsList();
-
-public: // Without description
-    void SetGammaCut(G4double);
-    void SetElectronCut(G4double);
-    void SetProtonCut(G4double);
-    void SetElectronCutByEnergy(G4double);
-    void SetLowEnergyLimit(G4double);
-    void SetHighEnergyLimit(G4double);
-    void SetMaxStep(G4double);
-    void SetEMPhysicsList(const G4String&);  
-    void SetHadronPhysicsList(const G4String&);  
-    void SetDecay(const G4String& name) {decayPhysics = name;};  
-    inline void SetVerbose(G4int val) {verbose = val;};    
-    inline G4int GetVerbose() const {return verbose;};    
-    inline G4double GetMaxChargedStep() const {return maxChargedStep;};    
-
-protected:
-    // Construct particle and physics
-    void ConstructParticle();
-    void ConstructProcess();
-
-private:
-    void InitializeMe();
-    void SetCuts();
-
-    // these methods Construct particles 
-    void ConstructMyBosons();
-    void ConstructMyLeptons();
-    void ConstructMyMesons();
-    void ConstructMyBarions();
-    void ConstructMyIons();
-
-  // these methods Construct physics processes and register them
-    void ConstructDecay();
-    
-  private:
-
-    const hTestDetectorConstruction* pDet;
-    hTestPhysicsListMessenger* theMessenger;
-    hTestVEMPhysicsList* theEMList;
-    hTestVHadronPhysicsList* theHadList;
-
-    G4double cutForGamma;
-    G4double cutForElectron;
-    G4double cutForProton;
-    G4double maxChargedStep;    
-    G4double lowEnergyLimit;
-    G4double highEnergyLimit;
-
-    G4String emPhysics;
-    G4String hadronPhysics;
-    G4String decayPhysics;
-
-    G4int    verbose;
-    G4bool   physicsIsDefined;
-};
-
-#endif
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPhysicsListMessenger.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPhysicsListMessenger.hh	(revision 1201)
+++ 	(revision )
@@ -1,84 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestPhysicsListMessenger_h
-#define hTestPhysicsListMessenger_h 1
-
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestPhysicsListMessenger -------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "globals.hh"
-#include "G4UImessenger.hh"
-
-class hTestPhysicsList;
-class G4UIcmdWithADoubleAndUnit;
-class G4UIcmdWithAString;
-class G4UIcmdWithAnInteger;
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestPhysicsListMessenger: public G4UImessenger
-{
-  public: // Without description
-  
-    hTestPhysicsListMessenger(hTestPhysicsList*);
-   ~hTestPhysicsListMessenger();
-    
-    void SetNewValue(G4UIcommand*, G4String);
-    
-  private:
-  
-    hTestPhysicsList*            hTestList;
-
-    G4UIcmdWithADoubleAndUnit* cutGCmd;
-    G4UIcmdWithADoubleAndUnit* cutECmd;
-    G4UIcmdWithADoubleAndUnit* cutPCmd;
-    G4UIcmdWithADoubleAndUnit* eCmd;
-    G4UIcmdWithADoubleAndUnit* lowLimCmd;
-    G4UIcmdWithADoubleAndUnit* highLimCmd;
-    G4UIcmdWithADoubleAndUnit* setMaxStepCmd;     
-    G4UIcmdWithAString*        EMPhysicsCmd;
-    G4UIcmdWithAString*        HadPhysicsCmd;
-    G4UIcmdWithAString*        decayCmd;
-    G4UIcmdWithAnInteger*      verbCmd;
-
-};
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPrimaryGeneratorAction.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPrimaryGeneratorAction.hh	(revision 1201)
+++ 	(revision )
@@ -1,121 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestPrimaryGeneratorAction_h
-#define hTestPrimaryGeneratorAction_h 1
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestPrimaryGeneratorAction
-//  
-// Description: Generate primary beam 
-//
-// Authors:    0.6.04.01 V.Ivanchenko
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestDetectorConstruction.hh"
-#include "G4Event.hh"
-#include "G4ParticleGun.hh"
-#include "G4VUserPrimaryGeneratorAction.hh"
-#include "G4ThreeVector.hh"
-#include "globals.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestPrimaryGeneratorMessenger;
-
-class hTestPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
-{
-  public:
-
-  // The constructor defines a ParticleGun object, which allows 
-  // shooting a beam of particles through the experimental set-up.
-    hTestPrimaryGeneratorAction(hTestDetectorConstruction*);
-
-  //The destructor. It deletes the ParticleGun.
-    ~hTestPrimaryGeneratorAction();
-
-  public:
-
-  //It reads the parameters of the primary particles.
-  //Generates the primary event via the ParticleGun method.
-    void GeneratePrimaries(G4Event* anEvent);
-
-  //Get/Set methods
-    void SetBeamX(G4double val) {x0 = val;};
-    void SetBeamY(G4double val) {y0 = val;};
-    void SetBeamZ(G4double val) {z0 = val;};
-    void SetBeamSigmaX(G4double val) {sigmaX = val;};
-    void SetBeamSigmaY(G4double val) {sigmaY = val;};
-    void SetBeamSigmaZ(G4double val) {sigmaY = val;};
-    void SetBeamSigmaE(G4double val); 
-    void SetBeamEnergy(G4double val); 
-    void SetBeamMinCosTheta(G4double val) {minCosTheta = val;};
-    void SetVerbose(G4int val) {verbose = val;};
-    G4ThreeVector GetBeamPosition() const {return position;}; 
-    G4ThreeVector GetBeamDirection() const {return direction;};
-    G4ThreeVector GetBeamEnergy() const {return energy;};
-    G4int GetVerbose() const {return verbose;};
-    void SetBeamBeta(G4double val);
-    void SetSigmaBeta(G4double val);
-    void SetRandom(const G4String& type) {m_gauss = type;};
-
-  private:
-
-    void InitializeMe();
-
-    hTestDetectorConstruction* theDet;
-    G4ParticleGun* particleGun;
-    hTestPrimaryGeneratorMessenger* theMessenger;
-
-    G4int counter;
-    G4int verbose;
-    G4double x0, y0, z0;
-    G4double sigmaX, sigmaY, sigmaZ;
-    G4double sigmaE;
-    G4double energy;
-    G4double minE, maxE, minBeta, maxBeta;
-    G4double minCosTheta;
-    G4ThreeVector position;
-    G4ThreeVector direction;
-    G4String m_gauss;
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPrimaryGeneratorMessenger.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestPrimaryGeneratorMessenger.hh	(revision 1201)
+++ 	(revision )
@@ -1,84 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestPrimaryGeneratorMessenger_h
-#define hTestPrimaryGeneratorMessenger_h 1
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestPrimaryGeneratorAction
-//  
-// Description: Definition of physics list parameters via UI interface
-//
-// Author:      V.Ivanchenko 26/09/00
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "globals.hh"
-#include "G4UImessenger.hh"
-#include "G4UIcmdWithADoubleAndUnit.hh"
-#include "G4UIcmdWithADouble.hh"
-#include "G4UIcmdWithAnInteger.hh"
-#include "G4UIcmdWithAString.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestPrimaryGeneratorAction;
-
-class hTestPrimaryGeneratorMessenger: public G4UImessenger
-{
-  public:
-  
-    hTestPrimaryGeneratorMessenger(hTestPrimaryGeneratorAction* gen);
-   ~hTestPrimaryGeneratorMessenger();
-    
-    void SetNewValue(G4UIcommand* command, G4String newValue);
-
-  private:
-  
-    hTestPrimaryGeneratorAction*  theGen;
-
-    G4UIcmdWithADoubleAndUnit* beamXCmd;
-    G4UIcmdWithADoubleAndUnit* beamYCmd;
-    G4UIcmdWithADoubleAndUnit* beamZCmd;
-    G4UIcmdWithADoubleAndUnit* beamECmd;
-    G4UIcmdWithADoubleAndUnit* sigmaXCmd;
-    G4UIcmdWithADoubleAndUnit* sigmaYCmd;
-    G4UIcmdWithADoubleAndUnit* sigmaZCmd;
-    G4UIcmdWithADoubleAndUnit* sigmaECmd;
-    G4UIcmdWithADoubleAndUnit* maxThetaCmd;
-    G4UIcmdWithADouble* beamBetaCmd;
-    G4UIcmdWithADouble* sigmaBetaCmd;
-    G4UIcmdWithAString* partCmd;
-    G4UIcmdWithAString* randCmd;
-
-};
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestRunAction.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestRunAction.hh	(revision 1201)
+++ 	(revision )
@@ -1,70 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestRunAction_h
-#define hTestRunAction_h 1
-
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestCalorimeterSD -------------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4UserRunAction.hh"
-#include "G4Run.hh"
-#include "globals.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestRunAction : public G4UserRunAction
-{
-public: // Without description
-
-    hTestRunAction();
-   ~hTestRunAction();
-
-public: // With description
- 
-    void BeginOfRunAction(const G4Run*);
-  // In this method histogramms are booked
-
-    void EndOfRunAction(const G4Run*);
-  // In this method bookHisto method is called in which histogramms are filled
-
-};
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestStanPhysicsList.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestStanPhysicsList.hh	(revision 1201)
+++ 	(revision )
@@ -1,68 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestStanPhysicsList_h
-#define hTestStanPhysicsList_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestStanPhysicsList
-//  
-// Description: Standard EM physics list
-//
-// Authors:     V.Ivanchenko 29/03/01
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestVEMPhysicsList.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestStanPhysicsList:  public hTestVEMPhysicsList
-{
-public:
-  hTestStanPhysicsList();
-  ~hTestStanPhysicsList() {};
-
-
-protected:
-  void ConstructProcess();
-  
-private:
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestStepCut.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestStepCut.hh	(revision 1201)
+++ 	(revision )
@@ -1,127 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestStepCut_h
-#define hTestStepCut_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestStepCut
-//  
-// Description: Cut on step length of charged particles
-//
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4ios.hh"
-#include "globals.hh"
-#include "G4VDiscreteProcess.hh"
-#include "G4Step.hh"
-#include "G4Track.hh"
-#include "G4VParticleChange.hh"
-#include "hTestPhysicsList.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestPhysicsList;
-
-class hTestStepCut : public G4VDiscreteProcess
-{
-public: // Without description   
-
-   hTestStepCut(const G4String&, const hTestPhysicsList*);
-
-  ~hTestStepCut();
-
-   G4double PostStepGetPhysicalInteractionLength(const G4Track&, G4double,
-			                         G4ForceCondition*);
-
-   G4VParticleChange* PostStepDoIt(const G4Track&, const G4Step&);
-
-protected:
-
-     // it is not needed here !
-  G4double GetMeanFreePath(const G4Track&, G4double, G4ForceCondition*);
-			    
-private:
-  
-  // hide assignment operator as private 
-  hTestStepCut(const hTestStepCut &right);
-  const hTestStepCut& operator=(const hTestStepCut &right);
-
-  const hTestPhysicsList* thePhysics;
-};
-
-// inlined function members implementation
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-inline G4double hTestStepCut::PostStepGetPhysicalInteractionLength(
-                        const G4Track& aTrack,
-                              G4double,
-                              G4ForceCondition* condition)
-{
-  // condition is set to "Not Forced"
-  *condition = NotForced;
-   G4double step = DBL_MAX;
-
-   if(aTrack.GetVolume()->GetName() == "Absorber")
-        step = thePhysics->GetMaxChargedStep();
-
-   return step;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-inline G4VParticleChange* hTestStepCut::PostStepDoIt(const G4Track& aTrack,
-                                                     const G4Step&)
-{
-   // do nothing
-   aParticleChange.Initialize(aTrack);
-   return &aParticleChange;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-inline G4double hTestStepCut::GetMeanFreePath(const G4Track&, G4double,
-                                              G4ForceCondition*)
-{
-  return 0.;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestTrackingAction.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestTrackingAction.hh	(revision 1201)
+++ 	(revision )
@@ -1,67 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestTrackingAction_h
-#define hTestTrackingAction_h 1
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestTrackingAction
-//  
-// Description: Implementation file for control on MC truth 
-//
-// Author:      V.Ivanchenko 13/03/01
-//
-// Modified: 
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestHisto.hh"
-#include "G4UserTrackingAction.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestTrackingAction : public G4UserTrackingAction
-{
-
-  public:
-    hTestTrackingAction();
-    ~hTestTrackingAction();
-
-    void PreUserTrackingAction(const G4Track*);
-    void PostUserTrackingAction(const G4Track*) {};
-
-  private:
-
-    hTestHisto* theHisto;
-
-};
-
-#endif
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestVEMPhysicsList.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestVEMPhysicsList.hh	(revision 1201)
+++ 	(revision )
@@ -1,89 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestVEMPhysicsList_h
-#define hTestVEMPhysicsList_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestVEMPhysicsList
-//  
-// Description: Virtual class to build Hadron Physics List for Geant4
-//
-// Authors:    08.04.01 V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4VUserPhysicsList.hh"
-#include "G4ProcessManager.hh"
-#include "G4ProcessVector.hh"
-#include "globals.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestVEMPhysicsList:  public G4VUserPhysicsList
-{
-public:
-  hTestVEMPhysicsList() {};
-  ~hTestVEMPhysicsList() {};
-
-public:
-  void ConstructEM() {ConstructProcess();};
-  void ConstructParticle() {};
-  void SetCuts() {};
-
-  inline void SetVerbose(G4int val) {verbose = val;};
-  inline void SetNuclearStopping(G4bool val) {nuclStop = val;};
-  inline void SetBarkas(G4bool val) {barkas = val;};
-  inline void SetEStoppingTable(G4String name) {table = name;};
-  
-private:
-
-  // hide assignment operator 
-  hTestVEMPhysicsList & operator=(const hTestVEMPhysicsList &right);
-  hTestVEMPhysicsList(const hTestVEMPhysicsList&);
-
-protected:
-
-  G4int verbose;
-  G4bool nuclStop;
-  G4bool barkas;
-  G4String table;
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestVHadronPhysicsList.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestVHadronPhysicsList.hh	(revision 1201)
+++ 	(revision )
@@ -1,82 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestVHadronPhysicsList_h
-#define hTestVHadronPhysicsList_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestVHadronPhysicsList
-//  
-// Description: Virtual class to build Hadron Physics List for Geant4
-//
-// Authors:     V.Ivanchenko 29/03/01
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4VUserPhysicsList.hh"
-#include "G4ProcessManager.hh"
-#include "G4ProcessVector.hh"
-#include "globals.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestVHadronPhysicsList:  public G4VUserPhysicsList
-{
-public:
-  hTestVHadronPhysicsList() {};
-  ~hTestVHadronPhysicsList() {};
-
-public:
-  void ConstructHad() {ConstructProcess();};
-  void ConstructParticle() {};
-  void SetCuts() {};
-
-  void SetVerbose(G4int val) {verbose = val;};
-  
-private:
-
-  // hide assignment operator 
-  hTestVHadronPhysicsList & operator=(const hTestVHadronPhysicsList &right);
-  hTestVHadronPhysicsList(const hTestVHadronPhysicsList&);
-
-protected:
-
-  G4int verbose;
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestVisManager.hh
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/include/hTestVisManager.hh	(revision 1201)
+++ 	(revision )
@@ -1,80 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef hTestVisManager_h
-#define hTestVisManager_h 1
-
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestVisManager
-//
-// Class Description:
-//   Visualization Manager implementing virtual function
-//   RegisterGraphicsSystems.  Exploits C-pre-processor variables
-//   G4VIS_USE_DAWN, etc., which are set by the GNUmakefiles if
-//   environment variables of the same name are set.
-//   So all you have to do is set environment variables and compile and
-//   instantiate this in your hTest().
-//   Alternatively, you can implement an empty function here and just
-//   register the systems you want in your main(), e.g.:
-//   G4VisManager* myVisManager = new MyVisManager;
-//   myVisManager -> RegisterGraphicsSystem (new MyGraphicsSystem);
-//   The run messenger is defined
-// Class Description - end
-//  
-// Authors:   08.04.01  V.Ivanchenko take from John Allison Examples 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "G4VisManager.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-class hTestVisManager: public G4VisManager {
-
-public: // Without description
-
-  hTestVisManager ();
-
-private:
-
-  void RegisterGraphicsSystems ();
-
-};
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#endif
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/init.mac
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/init.mac	(revision 1201)
+++ 	(revision )
@@ -1,33 +1,0 @@
-#
-# Macro file for the initialization phase of "TestEm6.cc"
-# Sets some default verbose
-# and initializes the graphic.
-#
-/control/verbose 2
-/run/verbose 2
-#
-# Create empty scene ("world" is default)
-/vis/scene/create
-#
-# Add volume to scene
-/vis/scene/add/volume
-#
-# Create a scene handler for a specific graphics system
-# Edit the next line(s) to choose another graphic system
-#
-/vis/sceneHandler/create DAWNFILE
-#/vis/sceneHandler/create OGLIX
-#
-# Create a viewer
-/vis/viewer/create
-#
-# Draw scene
-/vis/scene/notifyHandlers
-#
-# for drawing the tracks
-# if too many tracks cause core dump => storeTrajectory 0
-/tracking/storeTrajectory 1
-/event/drawTracks charged
-#
-# Flush visualization
-/vis/viewer/update
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/lowcut.mac
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/lowcut.mac	(revision 1201)
+++ 	(revision )
@@ -1,38 +1,0 @@
-#
-# Macro file for the initialization phase of "TestEm6.cc"
-#
-# It creates the default geometry (simple absorber box) 
-#
-/control/verbose 2
-#control/saveHistory
-/run/verbose 2
-#/step/verbose 2
-#/tracking/verbose 2
-#/stepping/verbose 2
-#/event/verbose 2
-#
-#/calor/setAbsMat Aluminum   
-#/calor/setNumOfAbs 1   
-#/calor/setAbsThick 0.00002 mm  
-#/calor/setAbsYZ 10. cm
-/calor/cutG 100.0 micrometer
-/calor/cutE 100.0 micrometer
-/calor/cutP 100.0 micrometer
-#/step/setMaxStep 0.05 mm
-#/calor/update
-#  hist file name
-/plots/sethistName ple3.pl 
-#/run/initialize
-#/run/particle/dumpCutValues
-#/event/drawTracks none
-#
-# Gun with Protons 10 MeV
-#
-/gun/particle proton
-/gun/energy 33.0 MeV
-/run/initialize
-#
-/run/beamOn 1000
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/mylar.mac
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/mylar.mac	(revision 1201)
+++ 	(revision )
@@ -1,28 +1,0 @@
-#=======================================================
-# Macro file "mylar.mac" for the Mylar test by hTest.cc
-# 10.04.01 V.Ivanchenko
-#======================================================= 
-/control/verbose           2
-/run/verbose               2
-/step/verbose              0
-/tracking/verbose          0
-/stepping/verbose          0
-/event/verbose             0
-/hTest/verbose             0
-#
-/hTest/physics/cutGamma    0.01  mm
-/hTest/physics/cutElectron 0.001 mm
-/hTest/physics/MaxStep     1.0 mm
-/hTest/physics/EMList      LowEnergy
-/hTest/physics/HadronList  LowEnergy
-/hTest/AbsorberMaterial    Mylar
-/hTest/AbsorberThick       0.001 mm
-/hTest/NumberOfAbsorbers   60
-/hTest/WorldMaterial       Vacuum
-/hTest/numberAbsToSave     60
-/hTest/HistoName           mylar.paw 
-/hTest/NumberOfEvents      1000
-#
-/gun/particle              proton
-/gun/energy                2 MeV
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/mylar.out
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/mylar.out	(revision 1201)
+++ 	(revision )
@@ -1,332 +1,0 @@
-**********************************************
- Geant4 version $Name: emlowen-V09-02-64 $
-                                (06-Apr-2001)
-             Copyright : Geant4 Collaboration
-**********************************************
-Detector Construction is defined
-HsPhysicsList: <LowEnergy> EMPhysicsList is set
-HsPhysicsList: <none> HadronicPhysicsList is set
-Physics List is defined
-User actions will be initialized
-hTestPrimaryGeneratorMessenger: Construct 
-hTestPrimaryGeneratorAction is defined
-EventAction is defined
-TrackingAction is defined
-UI interface is started
-#=======================================================
-# Macro file "mylar.mac" for the Mylar test by hTest.cc
-# 10.04.01 V.Ivanchenko
-#======================================================= 
-/run/verbose               2
-/step/verbose              0
-/tracking/verbose          0
-/stepping/verbose          0
-/event/verbose             0
-/hTest/verbose             0
-#
-/hTest/physics/cutGamma    0.01  mm
-/hTest/physics/cutElectron 0.001 mm
-/hTest/physics/MaxStep     1.0 mm
-hTestPhysicsList: MaxChargedStep = 1 mm
-/hTest/physics/EMList      LowEnergy
-/hTest/physics/HadronList  LowEnergy
-HsPhysicsList: <LowEnergy> HadronicPhysicsList is set
-/hTest/AbsorberMaterial    Mylar
-/hTest/AbsorberThick       0.001 mm
-/hTest/NumberOfAbsorbers   60
-/hTest/WorldMaterial       Vacuum
-/hTest/numberAbsToSave     60
-/hTest/HistoName           mylar.paw 
-/hTest/NumberOfEvents      1000
-#
-/gun/particle              proton
-/gun/energy                2 MeV
-
-Start initialisation
-userDetector->Construct() start.
-
-***** Table : Nb of materials = 18 *****
-
- Material: Beryllium            density:  1.848 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  35.267 cm
-   --->  Element: Beryllium    Z =  4.0   N =   9.0   A =   9.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Aluminum            density:  2.700 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.893 cm
-   --->  Element: Aluminum    Z = 13.0   N =  27.0   A =  26.98 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Carbon            density:  2.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  21.348 cm
-   --->  Element: Carbon    Z =  6.0   N =  12.0   A =  12.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Silicon            density:  2.330 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   9.368 cm
-   --->  Element: Silicon    Z = 14.0   N =  28.1   A =  28.09 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: liquidArgon            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  14.065 cm
-   --->  Element: liquidArgon    Z = 18.0   N =  40.0   A =  39.95 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Iron            density:  7.870 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.759 cm
-   --->  Element: Iron    Z = 26.0   N =  55.9   A =  55.85 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Copper            density:  8.960 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.436 cm
-   --->  Element: Copper    Z = 29.0   N =  63.5   A =  63.55 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Gold            density: 19.320 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   3.344 mm
-   --->  Element: Gold    Z = 79.0   N = 197.0   A = 196.97 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Lead            density: 11.350 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm
-   --->  Element: Lead    Z = 82.0   N = 207.2   A = 207.19 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Water        H_2O   density:  1.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  36.092 cm
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  11.21 %  Abundance  66.67 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  88.79 %  Abundance  33.33 %
-
- Material: Methane        CH_4   density:  0.667 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 696.375 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  25.19 %  Abundance  80.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  74.81 %  Abundance  20.00 %
-
- Material: Graphite        Graphite   density:  2.265 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  18.834 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: GaAs        GaAs   density:  5.318 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   2.293 cm
-   --->  Element: GalliumGa   Z = 31.0   N =  69.7   A =  69.72 g/mole  fractionMass:  48.20 %  Abundance  50.00 %
-   --->  Element: ArsenicumAs   Z = 33.0   N =  74.9   A =  74.92 g/mole  fractionMass:  51.80 %  Abundance  50.00 %
-
- Material: Ethane        C_2H_6   density: 424.100 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.076 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  20.16 %  Abundance  75.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  79.84 %  Abundance  25.00 %
-
- Material: CsI        CsI   density:  4.530 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.852 cm
-   --->  Element: CesiumCs   Z = 55.0   N = 132.9   A = 132.91 g/mole  fractionMass:  51.15 %  Abundance  50.00 %
-   --->  Element: IodideI   Z = 53.0   N = 126.9   A = 126.90 g/mole  fractionMass:  48.85 %  Abundance  50.00 %
-
- Material: Air            density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m
-   --->  Element: NitrogenN   Z =  7.0   N =  14.0   A =  14.01 g/mole  fractionMass:  70.00 %  Abundance  72.71 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  30.00 %  Abundance  27.29 %
-
- Material: Mylar            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  28.868 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  55.00 %  Abundance  30.30 %
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:   8.33 %  Abundance  54.55 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  36.67 %  Abundance  15.15 %
-
- Material: Vacuum            density:  0.000 mg/cm3  temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc
-   --->  Element: Vacuum    Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
-
-The  WORLD   is made of  of Vacuum. The transverse size (XY) of the world is 1e+02 mm
-The ABSORBER is made of 60 items of 0.001 mm of Mylar. The transverse size (XY) is 1e+02 mm
-physicsList->Construct() start.
-LowEnergy Electromagnetic PhysicsList is initilized
-LowE EM processes for GenericIon
-LowE GenericIon
-LowE EM processes for He3
-LowE He3
-LowE EM processes for IonAr40
-LowE IonAr40
-LowE EM processes for IonC12
-LowE IonC12
-LowE EM processes for IonFe56
-LowE IonFe56
-LowE EM processes for alpha
-LowE alpha
-LowE EM processes for anti_kaon0
-LowE EM processes for anti_lambda
-LowE EM processes for anti_neutron
-LowE EM processes for anti_nu_e
-LowE EM processes for anti_nu_mu
-LowE EM processes for anti_omega-
-LowE EM processes for anti_proton
-LowE anti_proton
-LowE EM processes for anti_sigma+
-LowE EM processes for anti_sigma-
-LowE EM processes for anti_sigma0
-LowE EM processes for anti_xi-
-LowE EM processes for anti_xi0
-LowE EM processes for chargedgeantino
-LowE EM processes for deuteron
-LowE deuteron
-LowE EM processes for e+
-LowE e+
-LowE EM processes for e-
-LowE e-
->>>>>>>>> New G4LowEnergyIonisation 0x892c358
-LowE EM processes for eta
-LowE EM processes for eta_prime
-LowE EM processes for gamma
-LowE gamma
-LowE EM processes for geantino
-LowE EM processes for kaon+
-LowE kaon+
-LowE EM processes for kaon-
-LowE kaon-
-LowE EM processes for kaon0
-LowE EM processes for kaon0L
-LowE EM processes for kaon0S
-LowE EM processes for lambda
-LowE EM processes for mu+
-LowE mu+
-MuonMinusCaptureAtRest is created 
-LowE EM processes for mu-
-LowE mu-
-MuonMinusCaptureAtRest is created 
-LowE EM processes for neutron
-LowE EM processes for nu_e
-LowE EM processes for nu_mu
-LowE EM processes for omega-
-LowE EM processes for pi+
-LowE pi+
-LowE EM processes for pi-
-LowE pi-
-LowE EM processes for pi0
-LowE EM processes for proton
-LowE proton
-LowE EM processes for sigma+
-LowE sigma+
-LowE EM processes for sigma-
-LowE sigma-
-LowE EM processes for sigma0
-LowE EM processes for triton
-LowE triton
-LowE EM processes for xi-
-LowE EM processes for xi0
-LowEnergy Hadronic PhysicsList is initilized
-physicsList->setCut() start.
-hTestPhysicsList: Set cuts for all particles 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-*** LEion using Tcut =0.00048
-*** LEion using Tcut =0.00082
-*** LEion using Tcut =0.00057
-*** LEion using Tcut =0.00066
-*** LEion using Tcut =0.00026
-*** LEion using Tcut =0.0036
-*** LEion using Tcut =0.0042
-*** LEion using Tcut =0.0088
-*** LEion using Tcut =0.0044
-*** LEion using Tcut =0.0002
-*** LEion using Tcut =1e-05
-*** LEion using Tcut =0.00069
-*** LEion using Tcut =0.0019
-*** LEion using Tcut =5.5e-05
-*** LEion using Tcut =0.0013
-*** LEion using Tcut =1e-05
-*** LEion using Tcut =0.00034
-*** LEion using Tcut =1e-05
-
-LowEnergyIoni:  Low energy ionisation code with implementation of the continuous dE/dx part.
- At present it can be used for electrons  in the energy range [250eV,100GeV]
- the process must work with G4LowEnergyBremsstrahlung
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Beryllium
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Aluminum
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Carbon
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Silicon
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material liquidArgon
-*** LE Bremsstrahlung using Gamma Tcut = 0.0019 for material Iron
-*** LE Bremsstrahlung using Gamma Tcut = 0.0022 for material Copper
-*** LE Bremsstrahlung using Gamma Tcut = 0.0084 for material Gold
-*** LE Bremsstrahlung using Gamma Tcut = 0.006 for material Lead
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Water
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Methane
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Graphite
-*** LE Bremsstrahlung using Gamma Tcut = 0.0017 for material GaAs
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Ethane
-*** LE Bremsstrahlung using Gamma Tcut = 0.0022 for material CsI
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Air
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Mylar
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Vacuum
-
-LowEnBrem:  Total cross sections from EEDL database,Gamma energy sampled from a parametrised formula.Implementation of the continuous dE/dx part.
- At present it can be used for electrons  in the energy range [250eV,100GeV]
- the process must work with G4LowEnergyIonisation
-
-annihil:  Total cross section from Heilter formula (annihilation into 2 photons).
-        gamma energies sampled according Heitler
-        PhysicsTables from 10 keV to 10 TeV in 100 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-MuIoni:  knock-on electron cross sections .
-          Good description above the mean excitation energy.
-         delta ray energy sampled from  differential Xsection.
-      PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuBrems:  theoretical cross section 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuPairProd:  theoretical cross sections 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-hLowEIoni:    Knock-on electron cross sections . 
-        Good description above the mean excitation energy.
-        Delta ray energy sampled from  differential Xsection.
-        PhysicsTables from 10 eV  to 1e+02 TeV  in 200 bins.
-        Electronic stopping power model is  ICRU_R49p
-        from 1 keV  to 2 MeV .
-
-        Parametrisation model for antiprotons is  ICRU_R49p
-        from 50 keV  to 2 MeV .
-        Parametrization of the Barkas effect is switched on.
-        Nuclear stopping power model is ICRU_R49
-           material       min.delta energy(keV) 
-
-Methane          0.043
-Air          0.086
-Vacuum          0.021
-============= The cut Energy ==============================
-                      gamma            e-           
-Cut in range                 10 mum             1 mum
-Cut in energy
- Beryllium                           10 eV           484 eV
-   Aluminum                           10 eV           820 eV
-   Carbon                           10 eV           570 eV
-   Silicon                           10 eV           656 eV
-   liquidArgon                           10 eV           259 eV
-   Iron                          1.9 keV          3.56 keV
-   Copper                         2.16 keV          4.15 keV
-   Gold                         8.35 keV          8.77 keV
-   Lead                         5.98 keV          4.44 keV
-   Water                           10 eV           202 eV
-   Methane                           10 eV            10 eV
-   Graphite                           10 eV           691 eV
-   GaAs                         1.72 keV          1.93 keV
-   Ethane                           10 eV          54.8 eV
-   CsI                         2.22 keV          1.33 keV
-   Air                           10 eV            10 eV
-   Mylar                           10 eV           339 eV
-   Vacuum                           10 eV            10 eV
-===================================================
-Start event loop for 1000 events
-hTestHisto: Histograms will be saved to the file <mylar.paw>
-Start closing geometry.
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=1.4e+02s Real=1.4e+02s Sys=0.99s
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 0.05319; Stragling(mm)= 0.0008314 +- 2.6e-05
-========================================================
-Histograms and Ntuples are saved
-runManager will be deleted
-G4 kernel has come to Quit state.
-Deletion of G4 kernel class start.
-UserDetectorConstruction deleted.
-UserPhysicsList deleted.
-UserPrimaryGenerator deleted.
-G4SDManager deleted.
-EventManager deleted.
-UImanager deleted.
-StateManager deleted.
-RunManager is deleting.
-runManager is deleted
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/G4IonAr40.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/G4IonAr40.cc	(revision 1201)
+++ 	(revision )
@@ -1,99 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   G4IonAr40
-//  
-// Description: Static Ar40 ion
-//
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-//#include "g4std/fstream"
-//#include "g4std/iomanip"
-
-#include "G4IonAr40.hh"
-
-// ######################################################################
-// ###                           IonAr40                                ###
-// ######################################################################
-
-G4IonAr40::G4IonAr40(
-       const G4String&     aName,        G4double            mass,
-       G4double            width,        G4double            charge,   
-       G4int               iSpin,        G4int               iParity,    
-       G4int               iConjugation, G4int               iIsospin,   
-       G4int               iIsospin3,    G4int               gParity,
-       const G4String&     pType,        G4int               lepton,      
-       G4int               baryon,       G4int               encoding,
-       G4bool              stable,       G4double            lifetime,
-       G4DecayTable        *decaytable )
- : G4VIon( aName,mass,width,charge,iSpin,iParity,
-           iConjugation,iIsospin,iIsospin3,gParity,pType,
-           lepton,baryon,encoding,stable,lifetime,decaytable )
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4IonAr40::~G4IonAr40()
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-// ......................................................................
-// ...                 static member definitions                      ...
-// ......................................................................
-//     
-//    Arguments for constructor are as follows
-//               name             mass          width         charge
-//             2*spin           parity  C-conjugation
-//          2*Isospin       2*Isospin3       G-parity
-//               type    lepton number  baryon number   PDG encoding
-//             stable         lifetime    decay table 
-
-G4IonAr40 G4IonAr40::theIonAr40(
-              "IonAr40",    37.291*GeV,       0.0*MeV,  +18.0*eplus, 
-		    0,              +1,             0,          
-		    0,               0,             0,             
-	    "static_nucleus",        0,            +40,           0,
-		 true,            -1.0,          NULL
-);
-
-G4IonAr40* G4IonAr40::IonAr40Definition(){return &theIonAr40;}
-G4IonAr40* G4IonAr40::IonAr40(){return &theIonAr40;}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/G4IonC12.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/G4IonC12.cc	(revision 1201)
+++ 	(revision )
@@ -1,100 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   G4IonC12
-//  
-// Description: Static C12+ ion
-//
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-//#include "g4std/fstream"
-//#include "g4std/iomanip"
-
-#include "G4IonC12.hh"
-
-// ######################################################################
-// ###                           IonC12                                ###
-// ######################################################################
-
-G4IonC12::G4IonC12(
-       const G4String&     aName,        G4double            mass,
-       G4double            width,        G4double            charge,   
-       G4int               iSpin,        G4int               iParity,    
-       G4int               iConjugation, G4int               iIsospin,   
-       G4int               iIsospin3,    G4int               gParity,
-       const G4String&     pType,        G4int               lepton,      
-       G4int               baryon,       G4int               encoding,
-       G4bool              stable,       G4double            lifetime,
-       G4DecayTable        *decaytable )
- : G4VIon( aName,mass,width,charge,iSpin,iParity,
-           iConjugation,iIsospin,iIsospin3,gParity,pType,
-           lepton,baryon,encoding,stable,lifetime,decaytable )
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4IonC12::~G4IonC12()
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-// ......................................................................
-// ...                 static member definitions                      ...
-// ......................................................................
-//     
-//    Arguments for constructor are as follows
-//               name             mass          width         charge
-//             2*spin           parity  C-conjugation
-//          2*Isospin       2*Isospin3       G-parity
-//               type    lepton number  baryon number   PDG encoding
-//             stable         lifetime    decay table 
-
-G4IonC12 G4IonC12::theIonC12(
-              "IonC12",    11.14945*GeV,       0.0*MeV,  +6.0*eplus, 
-		    0,              +1,             0,          
-		    0,               0,             0,             
-	    "static_nucleus",        0,            +12,           0,
-		 true,            -1.0,          NULL
-);
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4IonC12* G4IonC12::IonC12Definition(){return &theIonC12;}
-G4IonC12* G4IonC12::IonC12(){return &theIonC12;}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/G4IonFe56.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/G4IonFe56.cc	(revision 1201)
+++ 	(revision )
@@ -1,99 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   G4IonFe56
-//  
-// Description: Static Fe56+ ion
-//
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-//#include "g4std/fstream"
-//#include "g4std/iomanip"
-
-#include "G4IonFe56.hh"
-
-// ######################################################################
-// ###                           IonFe56                                ###
-// ######################################################################
-
-G4IonFe56::G4IonFe56(
-       const G4String&     aName,        G4double            mass,
-       G4double            width,        G4double            charge,   
-       G4int               iSpin,        G4int               iParity,    
-       G4int               iConjugation, G4int               iIsospin,   
-       G4int               iIsospin3,    G4int               gParity,
-       const G4String&     pType,        G4int               lepton,      
-       G4int               baryon,       G4int               encoding,
-       G4bool              stable,       G4double            lifetime,
-       G4DecayTable        *decaytable )
- : G4VIon( aName,mass,width,charge,iSpin,iParity,
-           iConjugation,iIsospin,iIsospin3,gParity,pType,
-           lepton,baryon,encoding,stable,lifetime,decaytable )
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4IonFe56::~G4IonFe56()
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-// ......................................................................
-// ...                 static member definitions                      ...
-// ......................................................................
-//     
-//    Arguments for constructor are as follows
-//               name             mass          width         charge
-//             2*spin           parity  C-conjugation
-//          2*Isospin       2*Isospin3       G-parity
-//               type    lepton number  baryon number   PDG encoding
-//             stable         lifetime    decay table 
-
-G4IonFe56 G4IonFe56::theIonFe56(
-              "IonFe56",    52.0308*GeV,       0.0*MeV,  +26.0*eplus, 
-		    0,              +1,             0,          
-		    0,               0,             0,             
-	    "static_nucleus",        0,            +56,           0,
-		 true,            -1.0,          NULL
-);
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4IonFe56* G4IonFe56::IonFe56Definition(){return &theIonFe56;}
-G4IonFe56* G4IonFe56::IonFe56(){return &theIonFe56;}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestCalorimeterSD.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestCalorimeterSD.cc	(revision 1201)
+++ 	(revision )
@@ -1,255 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestCalorimeterSD -------------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestCalorimeterSD.hh"
-
-#include "G4RunManager.hh"
-#include "G4VPhysicalVolume.hh"
-#include "G4LogicalVolume.hh"
-#include "G4Track.hh"
-#include "G4Positron.hh"
-#include "globals.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestCalorimeterSD::hTestCalorimeterSD(G4String name)
- :G4VSensitiveDetector(name),
-  theHisto(hTestHisto::GetPointer()),
-  evno(0),
-  evnOld(-1),
-  trIDold(-1),
-  delta(1.0e-6*mm)
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestCalorimeterSD::~hTestCalorimeterSD()
-{
-  energy.clear();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestCalorimeterSD::Initialize(G4HCofThisEvent*)
-{
-  evno++;
-  if(0 < theHisto->GetVerbose()) 
-    G4cout << "hTestCalorimeterSD: Begin Of Event # " << evno << G4endl;
-
-  numAbs = theHisto->GetNumberOfAbsorbers();
-  energy.resize(numAbs);
-  for(G4int i=0; i<numAbs; i++) { energy[i] = 0.0; }
-  backEnergy = 0.0;
-  leakEnergy = 0.0;
-  G4double gap = theHisto->GetGap();
-  zmax = (theHisto->GetAbsorberThickness() + gap)*numAbs - gap - delta;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4bool hTestCalorimeterSD::ProcessHits(G4Step* aStep, G4TouchableHistory*)
-{
-  G4double edep = aStep->GetTotalEnergyDeposit();
-  //  if(0.0 == edep) return true;
-
-  theHisto->AddTrackLength(aStep->GetStepLength());
-
-  G4int j = aStep->GetPreStepPoint()->GetPhysicalVolume()->GetCopyNo();
-   
-  if(j < 0 || j >= numAbs) {
-      G4cout << "Warning!!! hTestCalorimeterSD: cannot add " << edep/MeV
-             << " MeV to the slice # " << j << G4endl;
-
-  } else {
-      energy[j] += edep;
-  }
-
-  if(1 < theHisto->GetVerbose()) {
-      G4cout << "hTestCalorimeterSD: energy = " << edep/MeV
-             << " MeV is deposited at " << j
-             << "-th absorber slice " << G4endl;
-  }
-
-  const G4Track* track = aStep->GetTrack();
-  G4int trIDnow  = track->GetTrackID();
-  G4double tkin  = track->GetKineticEnergy(); 
-  G4double theta = (track->GetMomentumDirection()).theta();
-  G4double zend  = aStep->GetPostStepPoint()->GetPosition().z();
-  //  G4double zstart= aStep->GetPreStepPoint()->GetPosition().z();
-
-  G4bool stop = false;
-  G4bool primary = false;
-  G4bool outAbs = false;
-  if(track->GetNextVolume()->GetName() == "World"
-     && (zend <= delta || zend >= zmax-delta)  ) outAbs = true;
-
-  if(tkin == 0.0) stop = true;
-  if(0 == aStep->GetTrack()->GetParentID()) primary = true;
-
-  // new particle
-  if(trIDnow != trIDold || evno != evnOld) {
-    trIDold = trIDnow;
-    evnOld  = evno;
-    part_is_out = true;
-    tkinold = aStep->GetPreStepPoint()->GetKineticEnergy();
-  }
-
-  // Primary particle stop 
-   
-  if(primary && (stop || outAbs)) {
-
-      G4double xend = aStep->GetPostStepPoint()->GetPosition().x();
-      G4double yend = aStep->GetPostStepPoint()->GetPosition().y();
-      theHisto->SaveToTuple("xend",xend/mm);      
-      theHisto->SaveToTuple("yend",yend/mm);      
-      theHisto->SaveToTuple("zend",zend/mm);      
-      theHisto->SaveToTuple("ltpk",(theHisto->GetTrackLength())/mm);      
-      theHisto->SaveToTuple("tend",tkin/MeV);
-      theHisto->SaveToTuple("teta",theta);      
-      theHisto->SaveToTuple("loss",(tkinold-tkin)/MeV);      
-      theHisto->SaveToTuple("dedx",(tkinold-tkin)*mm/(zmax*MeV));      
-
-    // exclude cases when track return back
-
-      if(theHisto->GetTrackLength() < 2.0*zend) theHisto->AddEndPoint(zend);
-
-  }
-
-  // After step in absorber
-
-  if(outAbs && part_is_out) {
-    G4double e = tkin;
-    if(track->GetDefinition() == G4Positron::Positron()) 
-      e += 2.*electron_mass_c2;
-    if(zend > zmax-delta)       leakEnergy += e;
-    else if(zend < delta)       backEnergy += e;
-    part_is_out = false;
-  }
-  return true;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestCalorimeterSD::EndOfEvent(G4HCofThisEvent*)
-{
-  G4int i, j;
-
-  theHisto->SaveToTuple("back",backEnergy);      
-  theHisto->SaveToTuple("leak",leakEnergy);      
-  G4double etot = 0.0;
-
-  // The histogramm on the energy deposition profile
-  if(numAbs > 0) {
-    G4double s = theHisto->GetAbsorberThickness();
-    G4double z = -0.5 * s;
-    for(i=0; i<numAbs; i++) {
-      z += s; 
-      etot += energy[i];
-      theHisto->AddEnergy(energy[i], z);
-    }
-  }
-  theHisto->SaveToTuple(G4String("edep"),etot/MeV);      
-  //theHisto->SaveToTuple(G4String("Evt"),G4double(evno));      
-
-  // Integrated energy deposition to nTuple
-  G4int nMax = 60;
-  G4double EE[60];
-  G4String eSlice[60]={
-      "S0", "S1", "S2", "S3", "S4", "S5", "S6", "S7", "S8", "S9", 
-      "S10", "S11", "S12", "S13", "S14", "S15", "S16", "S17", "S18", "S19", 
-      "S20", "S21", "S22", "S23", "S24", "S25", "S26", "S27", "S28", "S29", 
-      "S30", "S31", "S32", "S33", "S34", "S35", "S36", "S37", "S38", "S39", 
-      "S40", "S41", "S42", "S43", "S44", "S45", "S46", "S47", "S48", "S49", 
-      "S50", "S51", "S52", "S53", "S54", "S55", "S56", "S57", "S58", "S59"};
-  G4String eInteg[60]={
-      "E0", "E1", "E2", "E3", "E4", "E5", "E6", "E7", "E8", "E9", 
-      "E10", "E11", "E12", "E13", "E14", "E15", "E16", "E17", "E18", "E19", 
-      "E20", "E21", "E22", "E23", "E24", "E25", "E26", "E27", "E28", "E29", 
-      "E30", "E31", "E32", "E33", "E34", "E35", "E36", "E37", "E38", "E39", 
-      "E40", "E41", "E42", "E43", "E44", "E45", "E46", "E47", "E48", "E49", 
-      "E50", "E51", "E52", "E53", "E54", "E55", "E56", "E57", "E58", "E59"};
-
-  G4int k = theHisto->GetNumAbsorbersSaved();
-  if (nMax > k) nMax = k;
-
-  if(nMax > 1) {
-    for(i=0; i<nMax; i++){
-      EE[i]=0.0;
-      for(j=0; j<i+1; j++) {
-        EE[i] += energy[j];
-      }  
-      //   theHisto->SaveToTuple(eSlice[i],energy[i]);      
-      // theHisto->SaveToTuple(eInteg[i],EE[i]);      
-    }
-  }
-
-  // Dump information about this event 
-  theHisto->SaveEvent();
-
-  if(0 < theHisto->GetVerbose()) { 
-    G4cout << "hTestCalorimeterSD: Event #" << evno << " ended" << G4endl;
-    G4cout << "Edep(MeV)= " << etot/MeV 
-           << "; backE(MeV)= " << backEnergy/MeV
-           << "; leakE(MeV)= " << leakEnergy/MeV
-           << G4endl;
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestCalorimeterSD::clear()
-{} 
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-void hTestCalorimeterSD::PrintAll()
-{} 
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestDetectorConstruction.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestDetectorConstruction.cc	(revision 1201)
+++ 	(revision )
@@ -1,484 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestDetectorConstruction -------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-	
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestDetectorConstruction.hh"
-#include "hTestDetectorMessenger.hh"
-#include "hTestEventAction.hh"
-#include "hTestCalorimeterSD.hh"
-#include "hTestHisto.hh"
-
-#include "G4Material.hh"
-#include "G4Box.hh"
-#include "G4LogicalVolume.hh"
-#include "G4PVPlacement.hh"
-#include "G4UniformMagField.hh"
-#include "G4FieldManager.hh"
-#include "G4TransportationManager.hh"
-#include "G4SDManager.hh"
-#include "G4RunManager.hh"
-
-#include "G4VisAttributes.hh"
-#include "G4Colour.hh"
-
-#include "globals.hh"
-#include "G4ios.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestDetectorConstruction::hTestDetectorConstruction():
-  AbsorberMaterial(0),
-  WorldMaterial(0),
-  solidWorld(0),
-  logicWorld(0),
-  physWorld(0),
-  solidAbs(0),
-  logicAbs(0),
-  physAbs(0),
-  magField(0),
-  calorimeterSD(0),
-  theEvent(0),
-  myVerbose(0),
-  nEvents(0),
-  detIsConstructed(false),
-  nAbsSaved(0),
-  nFirstEvtToDebug(-1),
-  nLastEvtToDebug(-1)
-{
-  // Default parameter values of the calorimeter
-  // corresponds to water test
-  nameMatAbsorber   = G4String("Water");
-  AbsorberThickness = 1.0*mm;    
-  SizeXY            = 1000.0*mm;
-  gap               = 0.0;
-  NumberOfAbsorbers = 300;
-  nameMatWorld      = G4String("Air");
-  WorldSizeZ        = 400.0*mm;
-  maxDelta          = 10.0*MeV;
-
-  ComputeGeomParameters();
-
-  // create commands for interactive definition of the calorimeter  
-  detectorMessenger = new hTestDetectorMessenger(this);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestDetectorConstruction::~hTestDetectorConstruction()
-{ 
-  delete detectorMessenger;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4VPhysicalVolume* hTestDetectorConstruction::Construct()
-{
-  if(!detIsConstructed) DefineMaterials();
-  WorldMaterial = GetMaterial(nameMatWorld);
-  AbsorberMaterial = GetMaterial(nameMatAbsorber);
-  return ConstructGeometry();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::DefineMaterials()
-{ 
-  if(myVerbose > 0) {
-    G4cout << "hTestDetectorConstruction: DefineMaterials starts" << G4endl;  
-  } 
-
-  G4String name, symbol;             //a=mass of a mole;
-  G4double a, z, density;            //z=mean number of protons;  
-
-  G4int    ncomponents, natoms;
-  G4double fractionmass;
-  G4double temperature, pressure;
-
-//
-// define Elements
-//
-
-  a = 1.01*g/mole;
-  G4Element* elH  = new G4Element(name="Hydrogen",symbol="H", z= 1., a);
-
-  a = 14.01*g/mole;
-  G4Element* elN  = new G4Element(name="Nitrogen",symbol="N" , z= 7., a);
-
-  a = 16.00*g/mole;
-  G4Element* elO  = new G4Element(name="Oxygen"  ,symbol="O" , z= 8., a);
-
-  a = 12.00*g/mole;
-  G4Element* elC  = new G4Element(name="Carbon"  ,symbol="C" , z= 6., a);
-
-  a = 69.723*g/mole;
-  G4Element* elGa  = new G4Element(name="Gallium"  ,symbol="Ga" , z= 31., a);
-
-  a = 74.9216*g/mole;
-  G4Element* elAs  = new G4Element(name="Arsenicum"  ,symbol="As" , z= 33., a);
-
-  G4Element*  Cs  = new G4Element ("Cesium"  , "Cs", 55. , 132.905*g/mole);
-
-  G4Element*   I  = new G4Element ("Iodide"  , "I", 53. , 126.9044*g/mole);
-
-//
-// define simple materials
-//
-  G4Material* ma;
-
-  density = 1.848*g/cm3;
-  a = 9.01*g/mole;
-
-  ma = new G4Material(name="Beryllium", z=4., a, density);
-
-  density = 2.700*g/cm3;
-  a = 26.98*g/mole;
-  ma = new G4Material(name="Aluminum", z=13., a, density);
-
-  density = 2.0*g/cm3;
-  a = 12.0107*g/mole;
-  ma = new G4Material(name="Carbon", z=6., a, density);
-
-  density = 2.330*g/cm3;
-  a = 28.09*g/mole;
-  ma = new G4Material(name="Silicon", z=14., a, density);
-
-  density = 1.390*g/cm3;
-  a = 39.95*g/mole;
-  ma = new G4Material(name="LiquidArgon", z=18., a, density);
-
-  density = 3.02*g/cm3;
-  a = 131.29*g/mole;
-  ma = new G4Material(name="LiquidXenon", z=54., a, density);
-
-  density = 7.870*g/cm3;
-  a = 55.85*g/mole;
-  ma = new G4Material(name="Iron"   , z=26., a, density);
-
-  density = 8.960*g/cm3;
-  a = 63.55*g/mole;
-  ma = new G4Material(name="Copper"   , z=29., a, density);
-
-  density = 5.323*g/cm3;
-  a = 72.61*g/mole;
-  ma = new G4Material(name="Germanium", z=32., a, density);
-
-  density = 19.32*g/cm3;
-  a =196.97*g/mole;
-  ma = new G4Material(name="Gold"   , z=79., a, density);
-
-  density = 11.35*g/cm3;
-  a = 207.19*g/mole;
-  ma = new G4Material(name="Lead"     , z=82., a, density);
-
-  ma = new G4Material("Tantalum", z=73., 180.9479*g/mole, 16.67*g/cm3);
-
-  ma = new G4Material("Uranium", z=92., 238.03*g/mole, 18.95*g/cm3);
-
-//
-// define a material from elements.   case 1: chemical molecule
-//
-
-  density = 1.000*g/cm3;
-  ma = new G4Material("Water", density, 2);
-  ma->SetChemicalFormula("H_2O");
-  ma->AddElement(elH, natoms=2);
-  ma->AddElement(elO, natoms=1);
-
-  density = 0.00066715*g/cm3;
-  ma = new G4Material("Methane", density, 2);
-  ma->SetChemicalFormula("CH_4");
-  ma->AddElement(elH, natoms=4);
-  ma->AddElement(elC, natoms=1);
-
-  ma = new G4Material("Graphite", 2.265*g/cm3, 1);
-  ma->SetChemicalFormula("Graphite");
-  ma->AddElement( elC, 1 );
-
-  density = 5.3176*g/cm3;
-  ma = new G4Material("GaAs", density, ncomponents=2);
-  ma->SetChemicalFormula("GaAS");
-  ma->AddElement(elGa, natoms=1);
-  ma->AddElement(elAs, natoms=1);
-
-  ma = new G4Material ("Ethane" , 0.4241*g/cm3, 2);
-  ma->SetChemicalFormula("C_2H_6");
-  ma->AddElement(elH,6);
-  ma->AddElement(elC,2);
-  
-  ma = new G4Material ("CsI" , 4.53*g/cm3, 2);
-  ma->SetChemicalFormula("CsI");
-  ma->AddElement(Cs,1);
-  ma->AddElement(I,1);
-
-//
-// define a material from elements.   case 2: mixture by fractional mass
-//
-
-  density = 1.290*mg/cm3;
-  //density = 1.*mg/cm3;
-  ma = new G4Material("Air"  , density, ncomponents=2);
-  ma->AddElement(elN, fractionmass=0.7);
-  ma->AddElement(elO, fractionmass=0.3);
-
-  density = 1.39*g/cm3;
-  ma = new G4Material("Mylar"  , density, ncomponents=3);
-  ma->AddElement(elC, natoms=10);
-  ma->AddElement(elH, natoms=18);
-  ma->AddElement(elO, natoms=5);
-
-  density     = universe_mean_density;    //from PhysicalConstants.h
-  pressure    = 3.e-18*pascal;
-  temperature = 2.73*kelvin;
-  a = 1.01*g/mole;
-  z = 1.0;
-  ma = new G4Material("Vacuum", z, a, density,
-                                      kStateGas,temperature,pressure);
-
-  G4cout << *(G4Material::GetMaterialTable()) << G4endl;
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-  
-G4VPhysicalVolume* hTestDetectorConstruction::ConstructGeometry()
-{
-  if(myVerbose > 0) {
-    G4cout << "hTestDetectorConstruction: ConstructGeometry starts" << G4endl;
-  } 
-
-  ComputeGeomParameters();
-
-  //     
-  // World
-  //
-  solidWorld = new G4Box("World",SizeXY+1.0*mm,SizeXY+1.0*mm,WorldSizeZ);   
-                         
-  logicWorld = new G4LogicalVolume(solidWorld,WorldMaterial,"World");
-                                   
-  physWorld = new G4PVPlacement(0,G4ThreeVector(),"World",logicWorld,
-                                0,false,0);
-  
-  //                               
-  // Absorber
-  // 
-  solidAbs = new G4Box("Absorber",SizeXY,SizeXY,AbsorberThickness*0.5);
-                          
-  logicAbs = new G4LogicalVolume(solidAbs,AbsorberMaterial,"Absorber");
-      			                  
-  G4double z = AbsorberThickness * 0.5;
-
-  for (G4int j=0; j<NumberOfAbsorbers; j++) {
-  
-    physAbs = new G4PVPlacement(0,G4ThreeVector(0.0,0.0,z),
-                                "Absorber",logicAbs,physWorld,false,j);
-    z += AbsorberThickness + gap; 
-  }
-  
-  //                               
-  // Sensitive Detectors: Absorber 
-  //
-
-  calorimeterSD = new hTestCalorimeterSD("hTest");
-  (G4SDManager::GetSDMpointer())->AddNewDetector( calorimeterSD );
-  logicAbs->SetSensitiveDetector(calorimeterSD);
-
-  //                                        
-  // Visualization attributes
-  //
-  G4VisAttributes* VisAtt= new G4VisAttributes(G4Colour(1.0,1.0,1.0));
-  VisAtt->SetVisibility(true);
-  logicAbs->SetVisAttributes(VisAtt);
-
-  PrintGeomParameters();  
-
-  detIsConstructed = true;
-
-  //
-  //always return the physical World
-  //
-
-  return physWorld;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::PrintGeomParameters()
-{
-  G4cout << "The  WORLD   is made of " 
-         << " of " << WorldMaterial->GetName();
-  G4cout << ". The transverse size (XY) of the world is " 
-         << SizeXY/mm << " mm" << G4endl;
-  G4cout << "The ABSORBER is made of " << NumberOfAbsorbers << " items of "
-         << AbsorberThickness/mm  
-         << " mm of " << AbsorberMaterial->GetName();
-  G4cout << ". The transverse size (XY) is " 
-         << SizeXY/mm << " mm" << G4endl;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-G4Material* hTestDetectorConstruction::GetMaterial(const G4String& mat)
-{
-  // search the material by its name
-  G4Material* pttoMaterial = G4Material::GetMaterial(mat);     
-  if(detIsConstructed) MaterialIsChanged();
-  return pttoMaterial;
-}
-    
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::SetNumberOfAbsorbers(G4int val)
-{
-  // change Absorber thickness and recompute the calorimeter parameters
-  NumberOfAbsorbers = val;
-  if(detIsConstructed) GeometryIsChanged();
-}  
-    
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::SetAbsorberThickness(G4double val)
-{
-  // change Absorber thickness and recompute the calorimeter parameters
-  AbsorberThickness = val;
-  if(detIsConstructed) GeometryIsChanged();
-}  
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::SetAbsorberSizeXY(G4double val)
-{
-  // change the transverse size and recompute the calorimeter parameters
-  SizeXY = val;
-  if(detIsConstructed) GeometryIsChanged();
-}  
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::SetWorldSizeZ(G4double val)
-{
-  WorldSizeZ = val;
-  if(detIsConstructed) GeometryIsChanged();
-}  
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::SetGap(G4double val)
-{
-  gap = val;
-  if(detIsConstructed) GeometryIsChanged();
-}  
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::SetMagField(G4double fieldValue, G4int axis)
-{
-  // access to the field manager
-  G4FieldManager* fieldMgr 
-   = G4TransportationManager::GetTransportationManager()->GetFieldManager();
-    
-  if(magField) delete magField;		//delete the existing magn field
-  
-  // Create new field if >0
-  if(fieldValue!=0.0) {
-
-    G4ThreeVector B;
-    // Choose direction of the field
-    if(1 == axis) {
-      B = G4ThreeVector(fieldValue,0.,0.);	
-    } else if(2 == axis) {
-      B = G4ThreeVector(0.,fieldValue,0.);	
-    } else {
-      B = G4ThreeVector(0.,0.,fieldValue);	
-    }
-
-    magField = new G4UniformMagField(B);        
-    fieldMgr->SetDetectorField(magField);
-    fieldMgr->CreateChordFinder(magField);
-
-  // Set zero field
-  } else {
-    magField = 0;
-    fieldMgr->SetDetectorField(magField);
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::ComputeGeomParameters()
-{
-  // Compute derived parameters of the 1st absorber 
-     
-  if(WorldSizeZ < (AbsorberThickness + gap)*NumberOfAbsorbers)
-     WorldSizeZ = (AbsorberThickness + gap)*NumberOfAbsorbers + 1.0*mm;
-
-  (hTestHisto::GetPointer())->SetNumberOfAbsorbers(NumberOfAbsorbers);
-  (hTestHisto::GetPointer())->SetAbsorberThickness(AbsorberThickness);
-  (hTestHisto::GetPointer())->SetNumAbsorbersSaved(nAbsSaved);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-  
-void hTestDetectorConstruction::UpdateGeometry()
-{
-  (G4RunManager::GetRunManager())->DefineWorldVolume(ConstructGeometry());
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::GeometryIsChanged()
-{
-  (G4RunManager::GetRunManager())->GeometryHasBeenModified();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorConstruction::MaterialIsChanged()
-{
-  (G4RunManager::GetRunManager())->CutOffHasBeenModified();
-  (G4RunManager::GetRunManager())->GeometryHasBeenModified();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestDetectorMessenger.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestDetectorMessenger.cc	(revision 1201)
+++ 	(revision )
@@ -1,295 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// -------------------------------------------------------------
-//
-// 
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestDetectorMessenger -------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestDetectorMessenger.hh"
-#include "hTestDetectorConstruction.hh"
-#include "hTestHisto.hh"
-#include "G4UIdirectory.hh"
-#include "G4UIcmdWithAString.hh"
-#include "G4UIcmdWithAnInteger.hh"
-#include "G4UIcmdWithABool.hh"
-#include "G4UIcmdWithADoubleAndUnit.hh"
-#include "G4UIcmdWithoutParameter.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestDetectorMessenger::hTestDetectorMessenger(hTestDetectorConstruction* h):
-  hDet(h)
-{ 
-  hTestdetDir = new G4UIdirectory("/hTest/");
-  hTestdetDir->SetGuidance("General hTest commands");
-  hTestdetDir1= new G4UIdirectory("/hTest/physics/");
-  hTestdetDir1->SetGuidance("hTest commands to define physics");
-  hTestdetDir2= new G4UIdirectory("/hTest/gun/");
-  hTestdetDir2->SetGuidance("hTest commands to define gun");
-  if(hDet->GetVerbose() > 0) {
-    G4cout << "hTestDetectorMessenger: Is constructed" << G4endl;
-  }
-      
-  AbsMaterCmd = new G4UIcmdWithAString("/hTest/AbsorberMaterial",this);
-  AbsMaterCmd->SetGuidance("Select Material of the Absorber.");
-  AbsMaterCmd->SetParameterName("AbsoberMaterial",false);
-  AbsMaterCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-  
-  WorldMaterCmd = new G4UIcmdWithAString("/hTest/WorldMaterial",this);
-  WorldMaterCmd->SetGuidance("Select Material of the World.");
-  WorldMaterCmd->SetParameterName("WorldMaterial",false);
-  WorldMaterCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  NumOfAbsCmd = new G4UIcmdWithAnInteger("/hTest/NumberOfAbsorbers",this);
-  NumOfAbsCmd->SetGuidance("Set number of absorbers");
-  NumOfAbsCmd->SetParameterName("Nabs",false);
-  NumOfAbsCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-  
-  AbsThickCmd = new G4UIcmdWithADoubleAndUnit("/hTest/AbsorberThick",this);
-  AbsThickCmd->SetGuidance("Set Thickness of the Absorber");
-  AbsThickCmd->SetParameterName("SizeZ",false);  
-  AbsThickCmd->SetRange("SizeZ>0.");
-  AbsThickCmd->SetUnitCategory("Length");  
-  AbsThickCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  AbsGapCmd = new G4UIcmdWithADoubleAndUnit("/hTest/AbsorberGap",this);
-  AbsGapCmd->SetGuidance("Set gap between absorbers");
-  AbsGapCmd->SetParameterName("SizeZ",false);  
-  AbsGapCmd->SetRange("SizeZ>0.");
-  AbsGapCmd->SetUnitCategory("Length");  
-  AbsGapCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-  
-  AbsSizYZCmd = new G4UIcmdWithADoubleAndUnit("/hTest/AbsorberXY",this);
-  AbsSizYZCmd->SetGuidance("Set sizeXY of the Absorber");
-  AbsSizYZCmd->SetParameterName("SizeYZ",false);
-  AbsSizYZCmd->SetRange("SizeYZ>0.");
-  AbsSizYZCmd->SetUnitCategory("Length");
-  AbsSizYZCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-    
-  WorldXCmd = new G4UIcmdWithADoubleAndUnit("/hTest/WorldZ",this);
-  WorldXCmd->SetGuidance("Set Z size of the World");
-  WorldXCmd->SetParameterName("WSizeX",false);
-  WorldXCmd->SetRange("WSizeX>0.");
-  WorldXCmd->SetUnitCategory("Length");
-  WorldXCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-    
-  UpdateCmd = new G4UIcmdWithoutParameter("/hTest/update",this);
-  UpdateCmd->SetGuidance("Update calorimeter geometry.");
-  UpdateCmd->SetGuidance("This command MUST be applied before \"beamOn\" ");
-  UpdateCmd->SetGuidance("if you changed geometrical value(s).");
-  UpdateCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-      
-  XMagFieldCmd = new G4UIcmdWithADoubleAndUnit("/hTest/FieldX",this);  
-  XMagFieldCmd->SetGuidance("Define magnetic field along X");
-  XMagFieldCmd->SetGuidance("Magnetic field will be in X direction.");
-  XMagFieldCmd->SetParameterName("Bx",false);
-  XMagFieldCmd->SetUnitCategory("Magnetic flux density");
-  XMagFieldCmd->AvailableForStates(G4State_PreInit,G4State_Idle);  
-
-  YMagFieldCmd = new G4UIcmdWithADoubleAndUnit("/hTest/FieldY",this);  
-  YMagFieldCmd->SetGuidance("Define magnetic field along Y");
-  YMagFieldCmd->SetGuidance("Magnetic field will be in Y direction.");
-  YMagFieldCmd->SetParameterName("By",false);
-  YMagFieldCmd->SetUnitCategory("Magnetic flux density");
-  YMagFieldCmd->AvailableForStates(G4State_PreInit,G4State_Idle);  
-
-  ZMagFieldCmd = new G4UIcmdWithADoubleAndUnit("/hTest/FieldZ",this);  
-  ZMagFieldCmd->SetGuidance("Define magnetic field along Z");
-  ZMagFieldCmd->SetGuidance("Magnetic field will be in Z direction.");
-  ZMagFieldCmd->SetParameterName("Bz",false);
-  ZMagFieldCmd->SetUnitCategory("Magnetic flux density");
-  ZMagFieldCmd->AvailableForStates(G4State_PreInit,G4State_Idle);  
-
-  HistoCmd = new G4UIcmdWithAString("/hTest/HistoName",this);
-  HistoCmd->SetGuidance("Set the name of the histo file");
-  HistoCmd->SetParameterName("histo",false);
-  HistoCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  NumOfEvt = new G4UIcmdWithAnInteger("/hTest/NumberOfEvents",this);
-  NumOfEvt->SetGuidance("Set number of event to be simulated");
-  NumOfEvt->SetParameterName("Nevt",false);
-  NumOfEvt->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  verbCmd = new G4UIcmdWithAnInteger("/hTest/verbose",this);
-  verbCmd->SetGuidance("Set verbose for hTest");
-  verbCmd->SetParameterName("verb",false);
-  verbCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  intCmd = new G4UIcmdWithAnInteger("/hTest/numberAbsToSave",this);
-  intCmd->SetGuidance("Set number of absorbers for which "); 
-  intCmd->SetGuidance("the energy is saved to tuple");
-  intCmd->SetParameterName("numberAbsToSave",false);
-  intCmd->AvailableForStates(G4State_PreInit);
-
-  nhistCmd = new G4UIcmdWithAnInteger("/hTest/HistoNumber",this);
-  nhistCmd->SetGuidance("Set number of histograms to fill"); 
-  nhistCmd->SetParameterName("HistoNumber",false);
-  nhistCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  ntupCmd = new G4UIcmdWithABool("/hTest/ntuple",this);
-  ntupCmd->SetGuidance("Set number ntuple to fill"); 
-  ntupCmd->SetParameterName("ntuple",false);
-  ntupCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  nDebugSCmd = new G4UIcmdWithAnInteger("/hTest/nFirstEventToDebug",this);
-  nDebugSCmd->SetGuidance("Set number of the first event to debug"); 
-  nDebugSCmd->SetParameterName("nFirstEventToDebug",false);
-  nDebugSCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  nDebugECmd = new G4UIcmdWithAnInteger("/hTest/nLastEventToDebug",this);
-  nDebugECmd->SetGuidance("Set number of the last event to debug"); 
-  nDebugECmd->SetParameterName("nLastEventToDebug",false);
-  nDebugECmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  DeltaECmd = new G4UIcmdWithADoubleAndUnit("/hTest/maxDeltaEnergy",this);  
-  DeltaECmd->SetGuidance("Define scale of delta-Energy histogram");
-  DeltaECmd->SetParameterName("DeltaE",false);
-  DeltaECmd->SetUnitCategory("Energy");
-  DeltaECmd->AvailableForStates(G4State_PreInit,G4State_Idle);  
-  
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestDetectorMessenger::~hTestDetectorMessenger()
-{
-  delete NumOfAbsCmd; 
-  delete AbsMaterCmd; 
-  delete AbsThickCmd; 
-  delete AbsGapCmd; 
-  delete AbsSizYZCmd;  
-  delete WorldMaterCmd;
-  delete WorldXCmd;
-  delete UpdateCmd;
-  delete XMagFieldCmd;
-  delete YMagFieldCmd;
-  delete ZMagFieldCmd;
-  delete HistoCmd;
-  delete NumOfEvt;
-  delete verbCmd;
-  delete intCmd;
-  delete nhistCmd;
-  delete nDebugSCmd;
-  delete nDebugECmd;
-  delete hTestdetDir;
-  delete hTestdetDir1;
-  delete hTestdetDir2;
-  delete DeltaECmd;
-  delete ntupCmd;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestDetectorMessenger::SetNewValue(G4UIcommand* command,G4String newValue)
-{ 
-  if(hDet->GetVerbose() > 1) {
-    G4cout << "hTestDetectorMessenger: new value = " << newValue << G4endl;
-  }
-
-  if( command == NumOfAbsCmd )
-   { hDet->SetNumberOfAbsorbers(NumOfAbsCmd->GetNewIntValue(newValue));
-     (hTestHisto::GetPointer())->SetNumberOfAbsorbers(NumOfAbsCmd->GetNewIntValue(newValue));
-   }
-
-  if( command == AbsMaterCmd )
-   { hDet->SetAbsorberMaterial(newValue);}
-   
-  if( command == AbsThickCmd )
-   { hDet->SetAbsorberThickness(AbsThickCmd->GetNewDoubleValue(newValue));
-    (hTestHisto::GetPointer())->SetAbsorberThickness(AbsThickCmd->GetNewDoubleValue(newValue));
-   }
-
-  if( command == AbsGapCmd )
-   { hDet->SetGap(AbsGapCmd->GetNewDoubleValue(newValue));
-    (hTestHisto::GetPointer())->SetGap(AbsGapCmd->GetNewDoubleValue(newValue));
-   }
-
-  if( command == WorldMaterCmd )
-   { hDet->SetWorldMaterial(newValue);}
-   
-  if( command == AbsSizYZCmd )
-   { hDet->SetAbsorberSizeXY(AbsSizYZCmd->GetNewDoubleValue(newValue));}
-      
-  if( command == WorldXCmd )
-   { hDet->SetWorldSizeZ(WorldXCmd->GetNewDoubleValue(newValue));}
-      
-  if( command == UpdateCmd )
-   { hDet->UpdateGeometry(); }
-
-  if( command == XMagFieldCmd )
-   { hDet->SetMagField(XMagFieldCmd->GetNewDoubleValue(newValue),1);}
-
-  if( command == YMagFieldCmd )
-   { hDet->SetMagField(YMagFieldCmd->GetNewDoubleValue(newValue),2);}
-
-  if( command == ZMagFieldCmd )
-   { hDet->SetMagField(ZMagFieldCmd->GetNewDoubleValue(newValue),3);}
-
-  if( command == HistoCmd ) 
-   { (hTestHisto::GetPointer())->SetHistoName(newValue);}
-
-  if( command == ntupCmd ) 
-   { (hTestHisto::GetPointer())->SetNtuple(ntupCmd->GetNewBoolValue(newValue));}
-
-  if( command == NumOfEvt )
-   { hDet->SetNumberOfEvents(NumOfAbsCmd->GetNewIntValue(newValue));}
-
-  if( command == verbCmd ){ 
-     G4int ver = verbCmd->GetNewIntValue(newValue);
-     hDet->SetVerbose(ver);
-     (hTestHisto::GetPointer())->SetVerbose(ver);
-   }
-
-  if( command == intCmd )
-   { hDet->SetNumAbsorbersSaved(intCmd->GetNewIntValue(newValue));}
-
-  if( command == nhistCmd )
-   { (hTestHisto::GetPointer())->SetHistoNumber(nhistCmd->GetNewIntValue(newValue));}
-
-  if( command == nDebugSCmd )
-   { hDet->SetFirstEventToDebug(nDebugSCmd->GetNewIntValue(newValue));}
-
-  if( command == nDebugECmd )
-   { hDet->SetLastEventToDebug(nDebugECmd->GetNewIntValue(newValue));}
-
-  if( command == DeltaECmd )
-   { (hTestHisto::GetPointer())
-      ->SetMaxEnergy(DeltaECmd->GetNewDoubleValue(newValue));}
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestEventAction.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestEventAction.cc	(revision 1201)
+++ 	(revision )
@@ -1,143 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestEventAction -------------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestEventAction.hh"
-#include "hTestHisto.hh"
-
-#include "G4UImanager.hh"
-#include "G4TrajectoryContainer.hh"
-#include "G4Trajectory.hh"
-#include "G4VVisManager.hh"
-#include "G4ios.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestEventAction::hTestEventAction(const hTestDetectorConstruction* det):
-  theDet(det),
-  nEvt(0),
-  verbose(0),
-  drawFlag("all")
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestEventAction::~hTestEventAction()
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestEventAction::BeginOfEventAction(const G4Event* evt)
-{  
-  // New event
-  nEvt++;
-
-  // Switch on verbose mode
-  if(theDet->GetFirstEventToDebug() == nEvt) {
-    verbose = 2;
-    (hTestHisto::GetPointer())->SetVerbose(2);    
-    (G4UImanager::GetUIpointer())->ApplyCommand("/tracking/verbose 2");
-    /*
-    const G4ProcessManager* pm = G4Gamma::Gamma()->GetProcessManager();
-    const G4ProcessVector* pv = pm->GetProcessList();
-    G4int np = pm->GetProcessListLength();
-    for(G4int i=0; i<np; i++) {
-     ((*pv)[i])->SetVerboseLevel(2);
-    }
-    */
-  }
-    
-  // Switch off verbose mode
-  if(theDet->GetLastEventToDebug() == nEvt-1) {
-    verbose = 0;
-    (hTestHisto::GetPointer())->SetVerbose(0);    
-    (G4UImanager::GetUIpointer())->ApplyCommand("/tracking/verbose 0");
-  }
-
-  // Initialize user actions
-  if(verbose > 0) {
-    G4cout << "hTestEventAction: Event # " 
-           << nEvt << " started" << G4endl;
-  }
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestEventAction::EndOfEventAction(const G4Event* evt)
-{
-
-  G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
-
-  if(pVVisManager) {
-    G4TrajectoryContainer* trjc = evt->GetTrajectoryContainer();
-    G4int n_trajectories = 0;
-    if (trjc) n_trajectories = trjc->entries();  
-
-    for(G4int i=0; i<n_trajectories; i++) {
-      G4Trajectory* t = (G4Trajectory*)((*(evt->GetTrajectoryContainer()))[i]);
-      if (drawFlag == "all") t->DrawTrajectory(50);
-      else if ((drawFlag == "charged")&&(t->GetCharge() != 0.))
-                             t->DrawTrajectory(50); 
-    }
-  }  
-
-  if(verbose > 0) {
-    G4cout << "hTestEventAction: Event # " 
-           << nEvt << " ended" << G4endl;
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-  
-
-
-
-
-
-
-
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestHadronPhysicsList.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestHadronPhysicsList.cc	(revision 1201)
+++ 	(revision )
@@ -1,343 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestHadronPhysicsList
-//  
-// Description: Implementation file for Standard HadronPhysicsList 
-//
-// Authors:     V.Ivanchenko 29/03/01
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestHadronPhysicsList.hh"
-
-// Hadron Processes
-
-#include "G4HadronElasticProcess.hh"
-
-#include "G4PionPlusInelasticProcess.hh"
-#include "G4PionMinusInelasticProcess.hh"
-#include "G4KaonPlusInelasticProcess.hh"
-#include "G4KaonZeroSInelasticProcess.hh"
-#include "G4KaonZeroLInelasticProcess.hh"
-#include "G4KaonMinusInelasticProcess.hh"
-#include "G4ProtonInelasticProcess.hh"
-#include "G4AntiProtonInelasticProcess.hh"
-#include "G4NeutronInelasticProcess.hh"
-#include "G4AntiNeutronInelasticProcess.hh"
-/*
-#include "G4LambdaInelasticProcess.hh"
-#include "G4AntiLambdaInelasticProcess.hh"
-#include "G4SigmaPlusInelasticProcess.hh"
-#include "G4SigmaMinusInelasticProcess.hh"
-#include "G4AntiSigmaPlusInelasticProcess.hh"
-#include "G4AntiSigmaMinusInelasticProcess.hh"
-#include "G4XiZeroInelasticProcess.hh"
-#include "G4XiMinusInelasticProcess.hh"
-#include "G4AntiXiZeroInelasticProcess.hh"
-#include "G4AntiXiMinusInelasticProcess.hh"
-#include "G4OmegaMinusInelasticProcess.hh"
-#include "G4AntiOmegaMinusInelasticProcess.hh"
-*/
-
-#include "G4DeuteronInelasticProcess.hh"
-#include "G4TritonInelasticProcess.hh"
-#include "G4AlphaInelasticProcess.hh"
-
-// Low-energy Models
-
-#include "G4LElastic.hh"
-
-#include "G4LEPionPlusInelastic.hh"
-#include "G4LEPionMinusInelastic.hh"
-#include "G4LEKaonPlusInelastic.hh"
-#include "G4LEKaonZeroSInelastic.hh"
-#include "G4LEKaonZeroLInelastic.hh"
-#include "G4LEKaonMinusInelastic.hh"
-#include "G4LEProtonInelastic.hh"
-#include "G4LEAntiProtonInelastic.hh"
-#include "G4LENeutronInelastic.hh"
-#include "G4LEAntiNeutronInelastic.hh"
-/*
-#include "G4LELambdaInelastic.hh"
-#include "G4LEAntiLambdaInelastic.hh"
-#include "G4LESigmaPlusInelastic.hh"
-#include "G4LESigmaMinusInelastic.hh"
-#include "G4LEAntiSigmaPlusInelastic.hh"
-#include "G4LEAntiSigmaMinusInelastic.hh"
-#include "G4LEXiZeroInelastic.hh"
-#include "G4LEXiMinusInelastic.hh"
-#include "G4LEAntiXiZeroInelastic.hh"
-#include "G4LEAntiXiMinusInelastic.hh"
-#include "G4LEOmegaMinusInelastic.hh"
-#include "G4LEAntiOmegaMinusInelastic.hh"
-*/
-
-#include "G4LEDeuteronInelastic.hh"
-#include "G4LETritonInelastic.hh"
-#include "G4LEAlphaInelastic.hh"
-
-// High-energy Models
-
-#include "G4HEPionPlusInelastic.hh"
-#include "G4HEPionMinusInelastic.hh"
-#include "G4HEKaonPlusInelastic.hh"
-#include "G4HEKaonZeroInelastic.hh"
-#include "G4HEKaonZeroInelastic.hh"
-#include "G4HEKaonMinusInelastic.hh"
-#include "G4HEProtonInelastic.hh"
-#include "G4HEAntiProtonInelastic.hh"
-#include "G4HENeutronInelastic.hh"
-#include "G4HEAntiNeutronInelastic.hh"
-/*
-#include "G4HELambdaInelastic.hh"
-#include "G4HEAntiLambdaInelastic.hh"
-#include "G4HESigmaPlusInelastic.hh"
-#include "G4HESigmaMinusInelastic.hh"
-#include "G4HEAntiSigmaPlusInelastic.hh"
-#include "G4HEAntiSigmaMinusInelastic.hh"
-#include "G4HEXiZeroInelastic.hh"
-#include "G4HEXiMinusInelastic.hh"
-#include "G4HEAntiXiZeroInelastic.hh"
-#include "G4HEAntiXiMinusInelastic.hh"
-#include "G4HEOmegaMinusInelastic.hh"
-#include "G4HEAntiOmegaMinusInelastic.hh"
-*/
-// Stopping processes
-
-#ifdef TRIUMF_STOP_PIMINUS
-#include "G4PionMinusAbsorptionAtRest.hh"
-#else
-#include "G4PiMinusAbsorptionAtRest.hh"
-#endif
-#ifdef TRIUMF_STOP_KMINUS
-#include "G4KaonMinusAbsorption.hh"
-#else
-#include "G4KaonMinusAbsorptionAtRest.hh"
-#endif
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHadronPhysicsList::ConstructProcess()
-{
-   G4cout << "Standard Hadronic PhysicsList is initilized" << G4endl;
-   G4HadronElasticProcess* theElasticProcess = 
-                                    new G4HadronElasticProcess;
-   G4LElastic* theElasticModel = new G4LElastic;
-   theElasticProcess->RegisterMe(theElasticModel);
-
-   theParticleIterator->reset();
-   while ((*theParticleIterator)()) {
-      G4ParticleDefinition* particle = theParticleIterator->value();
-      G4ProcessManager* pmanager = particle->GetProcessManager();
-      G4String particleName = particle->GetParticleName();
-     
-      if (particleName == "pi+") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4PionPlusInelasticProcess* theInelasticProcess = 
-                                new G4PionPlusInelasticProcess("inelastic");
-	 
-         G4LEPionPlusInelastic* theLEInelasticModel = 
-                                new G4LEPionPlusInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEPionPlusInelastic* theHEInelasticModel = 
-                                new G4HEPionPlusInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-	 
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "pi-") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4PionMinusInelasticProcess* theInelasticProcess = 
-                                new G4PionMinusInelasticProcess("inelastic");
-	 
-         G4LEPionMinusInelastic* theLEInelasticModel = 
-                                new G4LEPionMinusInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEPionMinusInelastic* theHEInelasticModel = 
-                                new G4HEPionMinusInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-	 
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-       
-#ifdef TRIUMF_STOP_PIMINUS
-         pmanager->AddRestProcess(new G4PionMinusAbsorptionAtRest, ordDefault);
-#else
-         pmanager->AddRestProcess(new G4PiMinusAbsorptionAtRest(
-                   G4String("PiMinusAbsorptionAtRest")), ordDefault);
-#endif
-
-      }
-      else if (particleName == "kaon+") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4KaonPlusInelasticProcess* theInelasticProcess = 
-                                  new G4KaonPlusInelasticProcess("inelastic");
-	 
-         G4LEKaonPlusInelastic* theLEInelasticModel = 
-                                  new G4LEKaonPlusInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEKaonPlusInelastic* theHEInelasticModel = 
-                                  new G4HEKaonPlusInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-	 
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "kaon0S") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4KaonZeroSInelasticProcess* theInelasticProcess = 
-                             new G4KaonZeroSInelasticProcess("inelastic");
-         G4LEKaonZeroSInelastic* theLEInelasticModel = 
-                             new G4LEKaonZeroSInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEKaonZeroInelastic* theHEInelasticModel = 
-                             new G4HEKaonZeroInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "kaon0L") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4KaonZeroLInelasticProcess* theInelasticProcess = 
-                             new G4KaonZeroLInelasticProcess("inelastic");
-         G4LEKaonZeroLInelastic* theLEInelasticModel = 
-                             new G4LEKaonZeroLInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEKaonZeroInelastic* theHEInelasticModel = 
-                             new G4HEKaonZeroInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "kaon-") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4KaonMinusInelasticProcess* theInelasticProcess = 
-                                 new G4KaonMinusInelasticProcess("inelastic");
-         G4LEKaonMinusInelastic* theLEInelasticModel = 
-                                 new G4LEKaonMinusInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEKaonMinusInelastic* theHEInelasticModel = 
-                                 new G4HEKaonMinusInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-#ifdef TRIUMF_STOP_KMINUS
-         pmanager->AddRestProcess(new G4KaonMinusAbsorption, ordDefault);
-#else
-         pmanager->AddRestProcess(new G4KaonMinusAbsorptionAtRest, ordDefault);
-#endif
-      }
-      else if (particleName == "proton") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4ProtonInelasticProcess* theInelasticProcess = 
-                                    new G4ProtonInelasticProcess("inelastic");
-	 
-         G4LEProtonInelastic* theLEInelasticModel = new G4LEProtonInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEProtonInelastic* theHEInelasticModel = new G4HEProtonInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-	 
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-	 
-      }
-      else if (particleName == "anti_proton") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4AntiProtonInelasticProcess* theInelasticProcess = 
-                                new G4AntiProtonInelasticProcess("inelastic");
-         G4LEAntiProtonInelastic* theLEInelasticModel = 
-                                new G4LEAntiProtonInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEAntiProtonInelastic* theHEInelasticModel = 
-                                new G4HEAntiProtonInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "neutron") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-
-         G4NeutronInelasticProcess* theInelasticProcess = 
-                                    new G4NeutronInelasticProcess("inelastic");
-	 
-         G4LENeutronInelastic* theLEInelasticModel = 
-                                    new G4LENeutronInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HENeutronInelastic* theHEInelasticModel = 
-                                    new G4HENeutronInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-      
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }  
-      else if (particleName == "anti_neutron") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4AntiNeutronInelasticProcess* theInelasticProcess = 
-                               new G4AntiNeutronInelasticProcess("inelastic");
-         G4LEAntiNeutronInelastic* theLEInelasticModel = 
-                               new G4LEAntiNeutronInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         G4HEAntiNeutronInelastic* theHEInelasticModel = 
-                               new G4HEAntiNeutronInelastic;
-         theInelasticProcess->RegisterMe(theHEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "deuteron") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4DeuteronInelasticProcess* theInelasticProcess = 
-                            new G4DeuteronInelasticProcess("inelastic");
-         G4LEDeuteronInelastic* theLEInelasticModel = 
-                                 new G4LEDeuteronInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "triton") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4TritonInelasticProcess* theInelasticProcess = 
-                            new G4TritonInelasticProcess("inelastic");
-         G4LETritonInelastic* theLEInelasticModel = 
-                                 new G4LETritonInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-      else if (particleName == "alpha") {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         G4AlphaInelasticProcess* theInelasticProcess = 
-                            new G4AlphaInelasticProcess("inelastic");
-         G4LEAlphaInelastic* theLEInelasticModel = 
-                                 new G4LEAlphaInelastic;
-         theInelasticProcess->RegisterMe(theLEInelasticModel);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-      }
-   }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestHadronPhysicsList1.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestHadronPhysicsList1.cc	(revision 1201)
+++ 	(revision )
@@ -1,113 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestHadronPhysicsList1
-//  
-// Description: Implementation file for "LowEnergy" HadronPhysicsList
-//
-// Authors:    10.04.01 V.Ivanchenko 
-//
-// Modified:   11.04.02 V.Ivanchenko migrate to CHIPS
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestHadronPhysicsList1.hh"
-#include "G4HadronElasticProcess.hh"
-#include "G4LElastic.hh"
-#include "G4PionMinusNuclearReaction.hh"
-#include "G4ParticleDefinition.hh"
-#include "G4ProcessManager.hh"
-#include "G4HadronInelasticProcess.hh"
-#include "G4PionMinusNuclearAtRestChips.hh"
-#include "G4KaonMinusAbsorptionAtRest.hh"
-#include "G4GammaNuclearReaction.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHadronPhysicsList1::ConstructProcess()
-{
-   G4cout << "CHIPS Hadronic PhysicsList is initilized" << G4endl;
-   G4HadronElasticProcess* theElasticProcess = new G4HadronElasticProcess();
-   G4LElastic* theElasticModel = new G4LElastic();
-   theElasticProcess->RegisterMe(theElasticModel);
-
-   theParticleIterator->reset();
-   while ((*theParticleIterator)()) {
-
-      G4ParticleDefinition* particle = theParticleIterator->value();
-      G4ProcessManager* pmanager = particle->GetProcessManager();
-      G4String particleName = particle->GetParticleName();
-      G4String particleType = particle->GetParticleType();
-      G4int bNumber = particle->GetBaryonNumber();
-       
-      if (particleType == "meson" || bNumber != 0) {
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         theElasticProcess->RegisterMe(theElasticModel);
-
-         G4String nm = particleName + "Inel";
-         G4HadronInelasticProcess* theInelasticProcess = 
-                               new G4HadronInelasticProcess(nm, particle);
-         G4PionMinusNuclearReaction* chips = new G4PionMinusNuclearReaction();
-         theInelasticProcess->RegisterMe(chips);
-         pmanager->AddDiscreteProcess(theElasticProcess);
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-
-         G4cout << "Process <" << nm << "> is added to " << particleName << G4endl;
-      }
-
-      if (particleName == "pi-") {   
-         pmanager->AddRestProcess(new G4PionMinusNuclearAtRestChips(), ordDefault);
-         G4cout << "Process <PionMinusAnnihilationAtRest> is added to " 
-                << particleName << G4endl;
-      }
-
-      if (particleName == "kaon-") {
-         pmanager->AddRestProcess(new G4KaonMinusAbsorptionAtRest(), ordDefault);
-         G4cout << "Process <PionMinusAbsorptionAtRest> is added to " 
-                << particleName << G4endl;
-      }
-
-      if (particleName == "gamma") {
-         G4HadronInelasticProcess* theInelasticProcess = 
-                               new G4HadronInelasticProcess("gamNucl", particle);
-         theInelasticProcess->RegisterMe(new G4GammaNuclearReaction());
-         pmanager->AddDiscreteProcess(theInelasticProcess);
-         G4cout << "Process <gamNucl> is added to " 
-                << particleName << G4endl;
-
-      }
-
-    }  
- }
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestHisto.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestHisto.cc	(revision 1201)
+++ 	(revision )
@@ -1,245 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestHisto
-//  
-//
-// Author:      V.Ivanchenko 30/01/01
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestHisto.hh"
-#include <iomanip>
-
-#include <memory> // for the auto_ptr(T>
-
-#include "AIDA/AIDA.h"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestHisto* hTestHisto::fManager = 0;
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestHisto* hTestHisto::GetPointer()
-{
-  if(!fManager) {
-    fManager = new hTestHisto();
-  }
-  return fManager;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestHisto::hTestHisto() 
-{
-  verbose = 1;
-  histName = G4String("histo.hbook");
-  ntup = 0;
-  nHisto = 1;
-  nAbsSaved = 0;
-  maxEnergy = 0.0;
-  nTuple = false;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestHisto::~hTestHisto() 
-{
-  histo.clear(); 
-  G4cout << "hTestHisto: Histograms are deleted for " << theName << G4endl;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::BeginOfHisto(G4int num)
-{  
-  if(0 < verbose) G4cout << "hTestHisto # " << num << " started " << G4endl;
-  zend     = 0.0;
-  zend2    = 0.0;
-  zEvt     = 0.0;
-  
-  if(0 < nHisto) bookHisto();
-
-  if(verbose > 0) {
-    G4cout << "hTestHisto: Histograms are booked and run has been started" 
-           << G4endl;
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::EndOfHisto()
-{
-
-  G4cout << "hTestHisto: End of run actions are started" << G4endl;
-
-  // Zend average
-  if(zEvt > 0.0) {
-    zend  /= zEvt;
-    zend2 /= zEvt;
-    zend2 -= zend*zend;
-    G4double sig = 0.0;
-    if(zend2 > 0.) sig = std::sqrt(zend2);
-    zend2 = sig / std::sqrt(zEvt);
-    G4cout<<"========================================================"<<G4endl;
-    G4cout << setprecision(4) << "Range(mm)= " << zend/mm 
-           << "; Stragling(mm)= " << sig/mm 
-           << setprecision(2) << " +- " << zend2/mm 
-           << "    " << zEvt << " events for range" << G4endl;
-    G4cout<<"========================================================"<<G4endl;
-  }  
-
-   // Write histogram file
-  if(0 < nHisto || ntup) {
-    tree->commit();
-    std::cout << "Closing the tree..." << std::endl;
-    tree->close();
-    G4cout << "Histograms and Ntuples are saved" << G4endl;
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::SaveEvent()
-{
-  if(ntup) {
-    ntup->addRow();
-  }                       
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::SaveToTuple(const G4String& parname, G4double val)
-{
-  if(ntup) ntup->fill( ntup->findColumn(parname), (float)val);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::SaveToTuple(const G4String& parname,G4double val,G4double defval)
-{
-  if(ntup) ntup->fill( ntup->findColumn(parname), (float)val);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::bookHisto()
-{
-  G4double zmax = (AbsorberThickness + gap) * NumberOfAbsorbers / mm;
-  G4cout << "hTestHisto: Histograms will be saved to the file <" 
-         << histName << ">"
-         << " AbsThick(mm)= " << AbsorberThickness/mm
-         << " Nabs= " << NumberOfAbsorbers
-         << " zmax= " << zmax
-         << " emax= " << maxEnergy
-         << " nHisto= " << nHisto
-         << G4endl;
-
-  // Creating the analysis factory
-  std::auto_ptr< AIDA::IAnalysisFactory > af( AIDA_createAnalysisFactory() );
-
-  // Creating the tree factory
-  std::auto_ptr< AIDA::ITreeFactory > tf( af->createTreeFactory() );
-
-  // Creating a tree mapped to a new hbook file.
-  tree = tf->create(histName,false,false,"hbook");
-  G4cout << "Tree store : " << tree->storeName() << G4endl;
- 
-  histo.resize(nHisto);
-
-  // Creating a histogram factory, whose histograms will be handled by the tree
-  std::auto_ptr< AIDA::IHistogramFactory > hf(af->createHistogramFactory( *tree ));
-
-  // Creating an 1-dimensional histograms in the root directory of the tree
-
-  if(0 < nHisto) histo[0] = hf->createHistogram1D("10",
-    "Energy deposit (MeV) in absorber (mm)",NumberOfAbsorbers,0.0,zmax);
-
-  if(1 < nHisto) histo[1] = hf->createHistogram1D("11",
-    "Energy (MeV) of delta-electrons",50,0.0,maxEnergy/MeV);
-
-  if(2 < nHisto) histo[2] = hf->createHistogram1D("12",
-    "Theta (degrees) of delta-electrons",36,0.0,180.);
-
-  if(3 < nHisto) histo[3] = hf->createHistogram1D("13",
-    "Energy (MeV) of secondary gamma",50,0.0,maxEnergy/MeV);
-
-  if(4 < nHisto) histo[4] = hf->createHistogram1D("14",
-    "Theta (degrees) of secondary gamma",36,0.0,180.);
-
-  // Creating a tuple factory, whose tuples will be handled by the tree
-  std::auto_ptr< AIDA::ITupleFactory > tpf( af->createTupleFactory( *tree ) );
-
-  // If using Anaphe HBOOK implementation, there is a limitation on the 
-  // length of the variable names in a ntuple
-  if(nTuple) ntup = tpf->createITuple( "100", "Range/Energy", 
-  "float xend, yend, zend, ltpk, tend, teta, loss, dedx, back, leak, edep" );
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::AddEnergy(G4double edep, G4double z)
-{
-  if(0 < nHisto) histo[0]->fill((float)z/mm, (float)edep/MeV);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::AddEndPoint(G4double z)
-{
-  zend  += z;
-  zend2 += z*z;
-  zEvt  += 1.0;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::AddDeltaElectron(const G4DynamicParticle* elec)
-{
-  if(1 < nHisto) histo[1]->fill(elec->GetKineticEnergy()/MeV,1.0);
-  if(2 < nHisto)
-     histo[2]->fill((elec->GetMomentumDirection()).theta()/deg,1.0);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestHisto::AddPhoton(const G4DynamicParticle* ph)
-{
-  if(3 < nHisto) histo[3]->fill(ph->GetKineticEnergy()/MeV,1.0);
-  if(4 < nHisto)
-     histo[4]->fill((ph->GetMomentumDirection()).theta()/deg,1.0);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestLowEPhysicsList.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestLowEPhysicsList.cc	(revision 1201)
+++ 	(revision )
@@ -1,202 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestLowEPhysicsList
-//  
-// Description: LowEnergy EM processes list
-//
-// Authors:    08.04.01 V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestLowEPhysicsList.hh"
-
-#include "G4LowEnergyRayleigh.hh"
-#include "G4LowEnergyCompton.hh"   
-#include "G4LowEnergyGammaConversion.hh"
-#include "G4LowEnergyPhotoElectric.hh"
-
-#include "G4MultipleScattering.hh"
-
-#include "G4eIonisation.hh"
-#include "G4eBremsstrahlung.hh"
-#include "G4LowEnergyIonisation.hh"
-#include "G4LowEnergyBremsstrahlung.hh"
-#include "G4eplusAnnihilation.hh"
-
-#include "G4MuIonisation.hh"
-#include "G4MuBremsstrahlung.hh"
-#include "G4MuPairProduction.hh"
-#include "G4MuonMinusCaptureAtRest.hh"
-
-#include "G4hLowEnergyIonisation.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestLowEPhysicsList::hTestLowEPhysicsList()
-{
-  verbose = 0;
-  nuclStop = true;
-  barkas = true;
-  table = G4String("");
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
- 
-void hTestLowEPhysicsList::ConstructProcess()
-{
-  G4cout << "LowEnergy Electromagnetic PhysicsList is initilized" << G4endl;
-  G4ParticleDefinition* proton = G4Proton::ProtonDefinition();     
-  G4ParticleDefinition* antiproton = G4AntiProton::AntiProtonDefinition();     
-
-  theParticleIterator->reset();
-  while( (*theParticleIterator)() ){
-    G4ParticleDefinition* particle = theParticleIterator->value();
-    G4ProcessManager* pmanager = particle->GetProcessManager();
-    G4String particleName = particle->GetParticleName();
-    G4String particleType = particle->GetParticleType();
-    G4double charge = particle->GetPDGCharge();
-
-    if(0 < verbose) G4cout << "LowE EM processes for " << particleName << G4endl; 
-     
-    if (particleName == "gamma") {
-      if(0 < verbose) G4cout << "LowE gamma" << G4endl; 
-      pmanager->AddDiscreteProcess(new G4LowEnergyRayleigh());
-      pmanager->AddDiscreteProcess(new G4LowEnergyPhotoElectric());
-      pmanager->AddDiscreteProcess(new G4LowEnergyCompton());
-      pmanager->AddDiscreteProcess(new G4LowEnergyGammaConversion());    
-      
-    } else if (particleName == "e-") {
-      if(0 < verbose) G4cout << "LowE e-" << G4endl; 
-      pmanager->AddProcess(new G4MultipleScattering(), -1, 1,1);
-      G4LowEnergyIonisation* lei = new G4LowEnergyIonisation();
-      lei->SetCutForLowEnSecPhotons(1000.0*keV);
-      lei->SetCutForLowEnSecElectrons(1000.0*keV);
-      pmanager->AddProcess(lei,  -1, 2,2);
-      pmanager->AddProcess(new G4LowEnergyBremsstrahlung(), -1,-1,3);   
-
-    } else if (particleName == "e+") {
-      if(0 < verbose) G4cout << "LowE e+" << G4endl; 
-      pmanager->AddProcess(new G4MultipleScattering(), -1, 1,1);
-      pmanager->AddProcess(new G4eIonisation,        -1, 2,2);
-      pmanager->AddProcess(new G4eBremsstrahlung,    -1,-1,3);
-      pmanager->AddProcess(new G4eplusAnnihilation(),   0,-1,4);
-  
-    } else if( particleName == "mu+" || 
-               particleName == "mu-"    ) {
-      if(0 < verbose) G4cout << "LowE " << particleName << G4endl; 
-      pmanager->AddProcess(new G4MultipleScattering(),-1, 1,1);
-      pmanager->AddProcess(new G4MuIonisation(),      -1, 2,2);
-      pmanager->AddProcess(new G4MuBremsstrahlung(),  -1,-1,3);
-      pmanager->AddProcess(new G4MuPairProduction(),  -1,-1,4);       	       
-      if(particleName == "mu-") 
-        pmanager->AddProcess(new G4MuonMinusCaptureAtRest(),0,-1,-1);
- 
-    } else if (
-                particleName == "proton"  
-               || particleName == "anti_proton"  
-               || particleName == "pi+"  
-               || particleName == "pi-"  
-               || particleName == "kaon+"  
-               || particleName == "kaon-"  
-               || particleName == "sigma+"  
-               || particleName == "sigma-"  
-              )
-    {
-      if(0 < verbose) G4cout << "LowE " << particleName << G4endl; 
-      pmanager->AddProcess(new G4MultipleScattering(),-1,1,1);
-      G4hLowEnergyIonisation* hIon = new G4hLowEnergyIonisation() ;
-
-      if(nuclStop) hIon->SetNuclearStoppingOn();
-      else         hIon->SetNuclearStoppingOff();
-
-      if(barkas)   hIon->SetBarkasOn();
-      else         hIon->SetBarkasOff();
-
-      hIon->SetVerboseLevel(verbose);
-
-      if(table == G4String("Ziegler1977He") ||
-         table == G4String("Ziegler1977H") ||
-         table == G4String("ICRU_R49p") ||
-         table == G4String("ICRU_R49He") ||
-         table == G4String("ICRU_R49PowersHe") ) {
-
-	if(particle->GetPDGCharge() > 0.0) 
-          hIon->SetElectronicStoppingPowerModel(proton,table);
-        else
-          hIon->SetElectronicStoppingPowerModel(antiproton,table);
-      }
-
-      pmanager->AddProcess(hIon,-1,2,2);		       
-   
-    } else if (   particleName == "alpha"  
-               || particleName == "deuteron"  
-               || particleName == "triton"  
-               || particleName == "IonC12"  
-               || particleName == "IonAr40"  
-               || particleName == "IonFe56"  
-               || particleName == "He3"  
-               || particleName == "GenericIon"  
-               || (particleType == "nucleus" && charge != 0) 
-              )
-    {
-      if(0 < verbose) G4cout << "LowE " << particleName << G4endl; 
-      pmanager->AddProcess(new G4MultipleScattering(),-1,1,1);
-      G4hLowEnergyIonisation* iIon = new G4hLowEnergyIonisation() ;
-
-      if(nuclStop) iIon->SetNuclearStoppingOn();
-      else         iIon->SetNuclearStoppingOff();
-
-      if(barkas)   iIon->SetBarkasOn();
-      else         iIon->SetBarkasOff();
-
-      iIon->SetVerboseLevel(verbose);
-
-      if(table == G4String("Ziegler1977He") ||
-         table == G4String("Ziegler1977H") ||
-         table == G4String("ICRU_R49p") ||
-         table == G4String("ICRU_R49He") ||
-         table == G4String("ICRU_R49PowersHe") )
-         iIon->SetElectronicStoppingPowerModel(proton,table);
-
-      pmanager->AddProcess(iIon,-1,2,2);
-    }
-    if(2 < verbose) pmanager->DumpInfo();
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPhysicsList.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPhysicsList.cc	(revision 1201)
+++ 	(revision )
@@ -1,420 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestPhysicsList
-//  
-// Description: hTest PhysicsList for Geant4 tests 
-//
-// Authors:   07.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//
-
-#include "hTestPhysicsList.hh"
-#include "hTestDetectorConstruction.hh"
-#include "hTestPhysicsListMessenger.hh"
-#include "hTestLowEPhysicsList.hh"
-#include "hTestStanPhysicsList.hh"
-#include "hTestHadronPhysicsList.hh"
-#include "hTestHadronPhysicsList1.hh"
-#include "hTestStepCut.hh"
-
-#include "G4ParticleDefinition.hh"
-#include "G4ParticleWithCuts.hh"
-#include "G4IonC12.hh"
-#include "G4IonAr40.hh"
-#include "G4IonFe56.hh"
-#include "G4ProcessManager.hh"
-#include "G4ProcessVector.hh"
-#include "G4ParticleTypes.hh"
-#include "G4ParticleTable.hh"
-#include "G4Material.hh"
-#include "G4EnergyLossTables.hh"
-#include "G4ios.hh"
-#include <iomanip>                
-#include "G4Decay.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPhysicsList::hTestPhysicsList(const hTestDetectorConstruction* p):
-  pDet(p),
-  physicsIsDefined(false)
-{
-  InitializeMe(); 
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::InitializeMe()
-{
-  verbose = pDet->GetVerbose();
- 
-  // default cuts
-  cutForGamma     = 1.0*cm;
-  cutForElectron  = 1.0*mm;
-  cutForProton    = 1.0*mm;
-  maxChargedStep  = DBL_MAX; 
-  lowEnergyLimit  = 10.0*eV;
-  highEnergyLimit  = 100.0*GeV;
-
-  theMessenger = new hTestPhysicsListMessenger(this);
-
-  emPhysics = G4String("");
-  hadronPhysics = G4String("");
-  decayPhysics = G4String("none");
-  SetEMPhysicsList(G4String("LowEnergy"));  
-  SetHadronPhysicsList(G4String("none"));
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPhysicsList::~hTestPhysicsList()
-{
-  delete theMessenger; 
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructParticle()
-{
-  // In this method, static member functions should be called
-  // for all particles which you want to use.
-  // This ensures that objects of these particle types will be
-  // created in the program. 
-
-  ConstructMyBosons();
-  ConstructMyLeptons();
-  ConstructMyBarions();
-  ConstructMyMesons();
-  ConstructMyIons();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructMyBosons()
-{
-  // pseudo-particles
-  G4Geantino::GeantinoDefinition();
-  G4ChargedGeantino::ChargedGeantinoDefinition();
-  
-  // gamma
-  G4Gamma::GammaDefinition();
-}
- //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructMyLeptons()
-{
-  // leptons
-  G4Electron::ElectronDefinition();
-  G4Positron::PositronDefinition();
-  G4MuonPlus::MuonPlusDefinition();
-  G4MuonMinus::MuonMinusDefinition();
-
-  G4NeutrinoE::NeutrinoEDefinition();
-  G4AntiNeutrinoE::AntiNeutrinoEDefinition();
-  G4NeutrinoMu::NeutrinoMuDefinition();
-  G4AntiNeutrinoMu::AntiNeutrinoMuDefinition();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructMyMesons()
-{
- //  mesons
-  G4PionPlus::PionPlusDefinition();
-  G4PionMinus::PionMinusDefinition();
-  G4PionZero::PionZeroDefinition();
-  G4KaonPlus::KaonPlusDefinition();
-  G4KaonMinus::KaonMinusDefinition();
-  G4Eta::EtaDefinition();
-  G4EtaPrime::EtaPrimeDefinition();
-  G4KaonZero::KaonZeroDefinition();
-  G4AntiKaonZero::AntiKaonZeroDefinition();
-  G4KaonZeroLong::KaonZeroLongDefinition();
-  G4KaonZeroShort::KaonZeroShortDefinition();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructMyBarions()
-{
-//  barions
-  G4Proton::ProtonDefinition();
-  G4AntiProton::AntiProtonDefinition();
-  G4Neutron::NeutronDefinition();
-  G4AntiNeutron::AntiNeutronDefinition();
-  G4Lambda::LambdaDefinition();
-  G4SigmaZero::SigmaZeroDefinition();
-  G4SigmaPlus::SigmaPlusDefinition();
-  G4SigmaMinus::SigmaMinusDefinition();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructMyIons()
-{
-//  Ions
-  G4Deuteron::DeuteronDefinition();
-  G4Triton::TritonDefinition();
-  G4Alpha::AlphaDefinition();
-  G4IonC12::IonC12Definition();
-  G4IonAr40::IonAr40Definition();
-  G4IonFe56::IonFe56Definition();
-  G4GenericIon::GenericIonDefinition();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructProcess()
-{
-  verbose = pDet->GetVerbose();
-  AddTransportation();
-  if(theEMList)  theEMList->ConstructEM();
-  if(theHadList) theHadList->ConstructHad();
-  ConstructDecay();
-  physicsIsDefined = true;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::ConstructDecay()
-{
-  // Add Decay Process
-  G4Decay* theDecayProcess = new G4Decay();
-  theParticleIterator->reset();
-  hTestStepCut* theStepCut = new hTestStepCut(G4String("user cut"),this);
-
-  while( (*theParticleIterator)() ){
-    G4ParticleDefinition* particle = theParticleIterator->value();
-    G4ProcessManager* pmanager = particle->GetProcessManager();
-
-    if (theDecayProcess->IsApplicable(*particle) && decayPhysics != "none") { 
-      pmanager ->AddProcess(theDecayProcess);
-
-      // set ordering for PostStepDoIt and AtRestDoIt
-      pmanager ->SetProcessOrdering(theDecayProcess, idxPostStep);
-      pmanager ->SetProcessOrdering(theDecayProcess, idxAtRest);
-    }
-    if (particle->GetPDGCharge()) { 
-      pmanager ->AddProcess(theStepCut);
-      pmanager ->SetProcessOrdering(theStepCut, idxPostStep);
-    }
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetCuts()
-{
-
-  //special for low energy physics
-  G4Gamma   ::SetEnergyRange(lowEnergyLimit,highEnergyLimit);
-  G4Electron::SetEnergyRange(lowEnergyLimit,highEnergyLimit);
-  G4Positron::SetEnergyRange(lowEnergyLimit,highEnergyLimit);
-   
-  if (verbose > 0){
-    G4cout << "hTestPhysicsList::SetCuts: "
-           << "CutLength = " << maxChargedStep/mm << " mm" << G4endl;
-  }  
-  // set cut values for gamma at first and for e- second and next for e+,
-  // because some processes for e+/e- need cut values for gamma 
-
-   G4cout << "hTestPhysicsList: Set cuts for all particles " << G4endl; 
-
-   SetCutValue(cutForGamma,"gamma");
-
-   SetCutValue(cutForElectron,"e-");
-   SetCutValue(cutForElectron,"e+");
-
-   SetCutValue(cutForProton,"mu-");
-   SetCutValue(cutForProton,"mu+");
-
-  // set cut values for proton and anti_proton before all other hadrons
-  // because some processes for hadrons need cut values for proton/anti_proton 
-
-  SetCutValue(cutForProton, "proton");
-
-  SetCutValue(cutForProton, "anti_proton");
-
-  SetCutValueForOthers(cutForProton);
-
-  if (verbose > 1) {
-    G4cout << "hTestPhysicsList: Dump the table" << G4endl;
-  }
-  DumpCutValuesTable();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetGammaCut(G4double val)
-{
-  if(physicsIsDefined) ResetCuts();
-  cutForGamma = val;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetElectronCut(G4double val)
-{
-  if(physicsIsDefined) ResetCuts();
-  cutForElectron = val;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetProtonCut(G4double val)
-{
-  if(physicsIsDefined) ResetCuts();
-  cutForProton = val;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetElectronCutByEnergy(G4double energy)
-{
-  G4Material* currMat = pDet->GetAbsorberMaterial();
-  G4ParticleDefinition* part = G4Electron::ElectronDefinition();
-
-  // Get range from electron energy and set it as a cut
-  SetElectronCut(G4EnergyLossTables::GetRange(part,energy,currMat));
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetLowEnergyLimit(G4double energy)
-{
-  if(physicsIsDefined) ResetCuts();
-  lowEnergyLimit = energy;
-  G4cout << "hTestPhysicsList: lowEnergyLimit = " 
-         << lowEnergyLimit/eV << " eV" << G4endl;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetHighEnergyLimit(G4double energy)
-{
-  if(physicsIsDefined) ResetCuts();
-  highEnergyLimit = energy;
-  G4cout << "hTestPhysicsList: highEnergyLimit = " 
-         << highEnergyLimit/GeV << " GeV" << G4endl;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetMaxStep(G4double step)
-{
-  maxChargedStep = step;
-  G4cout << "hTestPhysicsList: MaxChargedStep = " 
-         << maxChargedStep/mm << " mm" << G4endl;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetEMPhysicsList(const G4String& name)
-{
-  verbose = pDet->GetVerbose();
-  // Name is not changed
-  if(name == emPhysics) return;
-
-  // Define hadronic process class
-
-  if(name == "Standard") {
-    theEMList = new hTestStanPhysicsList();
-    theEMList->SetVerbose(verbose);
-
-  } else if (name == "LowEnergy") {
-    theEMList = new hTestLowEPhysicsList();
-    theEMList->SetVerbose(verbose);
-
-  } else if (name == "none") {
-    theEMList = 0;
-
-  } else {
-    G4cout << "HsPhysicsList: There are no EMPhysicsList called <"
-           << name << ">, so old one is used" << G4endl;
-    return;
-  }
-
-  emPhysics = name;   
-  G4cout << "HsPhysicsList: <" << name 
-         << "> EMPhysicsList is set" << G4endl;
-  if(physicsIsDefined) ResetCuts(); 
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPhysicsList::SetHadronPhysicsList(const G4String& name)
-{
-  verbose = pDet->GetVerbose();
-  // Name is not changed
-  if(name == hadronPhysics) return;
-
-  // Define hadronic process class
-  G4String stand = G4String("Standard");
-  G4String hado  = G4String("LowEnergy");
-  G4String frag  = G4String("IonFragmentation");
-  G4String none  = G4String("none");
-
-  if(name == "LEparametrised") {
-    theHadList = new hTestHadronPhysicsList();
-    theHadList->SetVerbose(verbose);
-
-  } else if (name == "CHIPS") {
-    theHadList = new hTestHadronPhysicsList1();
-    theHadList->SetVerbose(verbose);
-
-  } else if (name == "none") {
-    theHadList = 0;
-
-  } else {
-    G4cout << "HsPhysicsList: There are no HadronicPhysicsList called <"
-           << name << ">, so old one is used" << G4endl;
-    return;
-  }
-
-  hadronPhysics = name;   
-  G4cout << "HsPhysicsList: <" << name 
-         << "> HadronicPhysicsList is set" << G4endl;
-  if(physicsIsDefined) ResetCuts(); 
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPhysicsListMessenger.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPhysicsListMessenger.cc	(revision 1201)
+++ 	(revision )
@@ -1,176 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestPhysicsListMessenger -------
-//              
-//  Modified: 08.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestPhysicsListMessenger.hh"
-
-#include "hTestPhysicsList.hh"
-#include "G4UIcmdWithADoubleAndUnit.hh"
-#include "G4UIcmdWithAString.hh"
-#include "G4UIcmdWithAnInteger.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPhysicsListMessenger::hTestPhysicsListMessenger(hTestPhysicsList* list)
- :hTestList(list)
-{
-  cutGCmd = new G4UIcmdWithADoubleAndUnit("/hTest/physics/cutGamma",this);
-  cutGCmd->SetGuidance("Set cut values by RANGE for Gamma");
-  cutGCmd->SetParameterName("cutGamma",false);
-  cutGCmd->SetRange("cutGamma>0.");
-  cutGCmd->SetUnitCategory("Length");
-  cutGCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  cutECmd = new G4UIcmdWithADoubleAndUnit("/hTest/physics/cutElectron",this);
-  cutECmd->SetGuidance("Set cut values by RANGE for e- & e+");
-  cutECmd->SetParameterName("cutElectron",false);
-  cutECmd->SetRange("cutElectron>0.");
-  cutECmd->SetUnitCategory("Length");  
-  cutECmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  cutPCmd = new G4UIcmdWithADoubleAndUnit("/hTest/physics/cutHadron",this);
-  cutPCmd->SetGuidance("Set cut values by RANGE for proton and others");
-  cutPCmd->SetParameterName("cutHadron",false);
-  cutPCmd->SetRange("cutHadron>0.");
-  cutPCmd->SetUnitCategory("Length");    
-  cutPCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  eCmd = new G4UIcmdWithADoubleAndUnit("/hTest/physics/cutElectronEnergy",this);
-  eCmd->SetGuidance("Set cut values by ENERGY for charged particles.");
-  eCmd->SetParameterName("cutElectronEnergy",false);
-  eCmd->SetRange("cutElectronEnergy>0.");
-  eCmd->SetUnitCategory("Energy");   
-  eCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  lowLimCmd = new G4UIcmdWithADoubleAndUnit("/hTest/physics/LowLimit",this);
-  lowLimCmd->SetGuidance("Set low enery limit for charged particles");
-  lowLimCmd->SetParameterName("LowLimit",false);
-  lowLimCmd->SetRange("LowLimit>0.");
-  lowLimCmd->SetUnitCategory("Energy");   
-  lowLimCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  highLimCmd = new G4UIcmdWithADoubleAndUnit("/hTest/physics/HighLimit",this);
-  highLimCmd->SetGuidance("Set high energy limit for charged particles");
-  highLimCmd->SetParameterName("HighLimit",false);
-  highLimCmd->SetRange("HighLimit>0.");
-  highLimCmd->SetUnitCategory("Energy");   
-  highLimCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  setMaxStepCmd = new G4UIcmdWithADoubleAndUnit("/hTest/physics/MaxStep",this);
-  setMaxStepCmd->SetGuidance("Set max charged particle step length");
-  setMaxStepCmd->SetParameterName("MaxStep",false);
-  setMaxStepCmd->SetRange("MaxStep>0.");
-  setMaxStepCmd->SetUnitCategory("Length");
-  setMaxStepCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  EMPhysicsCmd = new G4UIcmdWithAString("/hTest/physics/EMList",this);
-  EMPhysicsCmd->SetGuidance("Set the name of the EMPhysicsList");
-  EMPhysicsCmd->SetParameterName("EMList",false);
-  EMPhysicsCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  HadPhysicsCmd = new G4UIcmdWithAString("/hTest/physics/HadronList",this);
-  HadPhysicsCmd->SetGuidance("Set the name of the HadPhysicsList");
-  HadPhysicsCmd->SetParameterName("HadronList",false);
-  HadPhysicsCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  decayCmd = new G4UIcmdWithAString("/hTest/physics/decay",this);
-  decayCmd->SetGuidance("Set the name of the decayList");
-  decayCmd->SetParameterName("decay",false);
-  decayCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  verbCmd = new G4UIcmdWithAnInteger("/hTest/physics/verbose",this);
-  verbCmd->SetGuidance("Set verbose for hTest");
-  verbCmd->SetParameterName("verb",false);
-  verbCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPhysicsListMessenger::~hTestPhysicsListMessenger()
-{
-  delete cutGCmd;
-  delete cutECmd;
-  delete cutPCmd;
-  delete eCmd;
-  delete lowLimCmd;
-  delete highLimCmd;
-  delete setMaxStepCmd;
-  delete EMPhysicsCmd;
-  delete HadPhysicsCmd;
-  delete decayCmd;
-  delete verbCmd;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-  
-void hTestPhysicsListMessenger::SetNewValue(G4UIcommand* com, G4String newValue)
-{
-  if(hTestList->GetVerbose() > 1) {
-    G4cout << "hTestPhysicsListMessenger: new value = " << newValue << G4endl;
-  }
-
-  if(com == cutGCmd)
-    { hTestList->SetGammaCut(cutGCmd->GetNewDoubleValue(newValue));}
-  if(com == cutECmd)
-    { hTestList->SetElectronCut(cutECmd->GetNewDoubleValue(newValue));}
-  if(com == cutPCmd)
-    { hTestList->SetProtonCut(cutPCmd->GetNewDoubleValue(newValue));}
-  if(com == eCmd)
-    { hTestList->SetElectronCutByEnergy(eCmd->GetNewDoubleValue(newValue));}
-  if(com == lowLimCmd)
-    { hTestList->SetLowEnergyLimit(lowLimCmd->GetNewDoubleValue(newValue));}
-  if(com == highLimCmd)
-    { hTestList->SetHighEnergyLimit(highLimCmd->GetNewDoubleValue(newValue));}
-  if(com == setMaxStepCmd)
-    { hTestList->SetMaxStep(setMaxStepCmd->GetNewDoubleValue(newValue));}
-  if(com == EMPhysicsCmd)
-    { hTestList->SetEMPhysicsList(newValue);}
-  if(com == HadPhysicsCmd)
-    { hTestList->SetHadronPhysicsList(newValue);}
-  if(com == decayCmd)
-    { hTestList->SetDecay(newValue);}
-  if( com == verbCmd )
-   { hTestList->SetVerbose(verbCmd->GetNewIntValue(newValue));}
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPrimaryGeneratorAction.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPrimaryGeneratorAction.cc	(revision 1201)
+++ 	(revision )
@@ -1,249 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#define hTestPrimaryGeneratorAction_CPP 
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestPrimaryGeneratorAction
-//  
-// Description: Generate primary beam 
-//
-// Authors:    0.6.04.01 V.Ivanchenko
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-#include "hTestPrimaryGeneratorAction.hh"
-#include "hTestPrimaryGeneratorMessenger.hh"
-#include "Randomize.hh"
-#include "G4ParticleGun.hh"
-#include "G4ParticleTable.hh"
-#include "G4ParticleDefinition.hh"
-#include "hTestHisto.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPrimaryGeneratorAction::hTestPrimaryGeneratorAction(
-			     hTestDetectorConstruction* det):
-  theDet(det)
-{
-  InitializeMe();
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPrimaryGeneratorAction::InitializeMe()
-{
-  verbose = theDet->GetVerbose();
-  theMessenger = new hTestPrimaryGeneratorMessenger(this);
-  particleGun = new G4ParticleGun();
-  counter = 0;
-  x0 = 0.0; 
-  y0 = 0.0;
-  z0 = 0.0;
-  sigmaX = 0.0;
-  sigmaY = 0.0;
-  sigmaZ = 0.0;
-  sigmaE = 0.0;
-  minCosTheta = 1.0;
-  SetBeamEnergy(10.0*MeV);
-  position  = G4ThreeVector(x0,y0,z0);
-  direction = G4ThreeVector(0.0,0.0,1.0);
-  m_gauss = true;
-  if(energy < (hTestHisto::GetPointer())->GetMaxEnergy())
-              (hTestHisto::GetPointer())->SetMaxEnergy(energy);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPrimaryGeneratorAction::~hTestPrimaryGeneratorAction()
-{
-  delete particleGun;
-  delete theMessenger;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
-{
-  counter++ ;
-  verbose = theDet->GetVerbose();
-
-  // Simulation of beam position
-  G4double x = x0;
-  G4double y = y0;
-  G4double z = z0;
-  if(0.0 < sigmaX) x += G4RandGauss::shoot(0.0,sigmaX);
-  if(0.0 < sigmaY) y += G4RandGauss::shoot(0.0,sigmaY);
-  if(0.0 < sigmaZ) z += G4RandGauss::shoot(0.0,sigmaZ);
-  position  = G4ThreeVector(x,y,z);
-  particleGun->SetParticlePosition(position);
-
-  // Simulation of beam direction
-  G4double ux = direction.x();
-  G4double uy = direction.y();
-  G4double uz = direction.z();
-
-  // Beam particles are uniformly distributed over phi, cosTheta 
-  if(1.0 > minCosTheta) {
-    uz = minCosTheta + (1.0 - minCosTheta)*G4UniformRand() ;
-    ux = std::sqrt(1.0 - uz*uz) ;
-    uy = ux ;
-    G4double phi = 360.0*deg*G4UniformRand() ;
-    ux *= std::cos(phi) ;
-    uy *= std::sin(phi) ;
-    direction = G4ThreeVector(ux,uy,uz) ;
-  }
-
-  direction = direction.unit();
-  particleGun->SetParticleMomentumDirection(direction);
-  G4ParticleDefinition* particle = particleGun->GetParticleDefinition();
-  G4double mass = particle->GetPDGMass();
-
-  // Simulation of beam kinetic energy
-  G4double kinEnergy = energy;
-
-  if(m_gauss == "flatE") kinEnergy  = minE + (maxE-minE)*G4UniformRand();
-
-  else if(m_gauss == "flatBeta") {
-         G4double beta = minBeta + (maxBeta-minBeta)*G4UniformRand();
-         kinEnergy = mass*(1./std::sqrt(1. - beta*beta) - 1.);
-  }
-  else if(0.0 < sigmaE) kinEnergy += G4RandGauss::shoot(0.0,sigmaE);
-   
-
-  if(0.0 > kinEnergy) kinEnergy = 0.0;
-  particleGun->SetParticleEnergy(kinEnergy);
-
-  G4String particleName = particle->GetParticleName() ;
-
-  if(verbose > 0) {
-    G4cout << "Event#  " << counter 
-           << "  Beam particle is generated by hTestPrimaryGeneratorAction " 
-           << G4endl;
-    G4cout << "ParticleName= " << particleName 
-           << "  PDGcode= " << particle->GetPDGEncoding()
-           << std::setprecision(5) 
-	   << "   KinEnergy(GeV)= "
-	   << energy/GeV 
-	   << "   x(mm)= "
-	   << x/mm 
-	   << " y(mm)= "
-	   << y/mm 
-	   << " z(mm)= "
-	   << z/mm 
-           << "   ux= " 
-	   << ux 
-	   << " uy= "
-	   << uy
-	   << " uz= "
-	   << uz 
-	   << endl;
-    }
-
-  particleGun->GeneratePrimaryVertex(anEvent);
-  if(verbose > 1) G4cout << "hTestPrimaryGeneratorAction: BeamOn" << G4endl;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPrimaryGeneratorAction::SetBeamBeta(G4double val)
-{
-  G4ParticleDefinition* particle = particleGun->GetParticleDefinition();
-  G4double mass = particle->GetPDGMass();
-  if(val > 0. && val < 1.) energy = mass*(1./std::sqrt(1.-val*val) - 1.);
-  G4cout << "hTestPrimaryGeneratorAction: KinEnergy(MeV)= " 
-         << energy/MeV << G4endl;
-  minE = energy;
-  maxE = energy;
-  minBeta = val;
-  maxBeta = val;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPrimaryGeneratorAction::SetSigmaBeta(G4double val)
-{
-  G4ParticleDefinition* particle = particleGun->GetParticleDefinition();
-  G4double mass = particle->GetPDGMass();
-  if(val > 0. && val < 1.) {
-    sigmaE = mass*(1./std::sqrt(1.-val*val) - 1.);
-    G4double gamma = energy/mass + 1.;
-    G4double beta0 = std::sqrt(1. - 1./(gamma*gamma));
-    G4double beta  = beta0 + val;
-    if (beta >= 1.) beta = 0.9999;
-    maxBeta = beta;
-    maxE = mass*(1./std::sqrt(1.-beta*beta) - 1.);
-    beta  = beta0 - val;
-    if (beta <= 0.) beta = 0.0001;
-    minBeta = beta;
-    minE = mass*(1./std::sqrt(1.-beta*beta) - 1.);
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPrimaryGeneratorAction::SetBeamSigmaE(G4double val) 
-{
-  G4ParticleDefinition* particle = particleGun->GetParticleDefinition();
-  G4double mass = particle->GetPDGMass();
-  sigmaE = val; 
-  minE = energy - sigmaE;
-  G4double gamma = minE/mass + 1.;
-  minBeta = std::sqrt(1. - 1./(gamma*gamma));
-  maxE = energy + sigmaE;
-  gamma = maxE/mass + 1.;
-  maxBeta = std::sqrt(1. - 1./(gamma*gamma));
-}
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestPrimaryGeneratorAction::SetBeamEnergy(G4double val) 
-{
-  G4ParticleDefinition* particle = particleGun->GetParticleDefinition();
-  G4double mass = particle->GetPDGMass();
-  energy = val;
-  minE = energy - sigmaE;
-  G4double gamma = minE/mass + 1.;
-  minBeta = std::sqrt(1. - 1./(gamma*gamma));
-  maxE = energy + sigmaE;
-  gamma = maxE/mass + 1.;
-  maxBeta = std::sqrt(1. - 1./(gamma*gamma));
-  if(energy < (hTestHisto::GetPointer())->GetMaxEnergy())
-              (hTestHisto::GetPointer())->SetMaxEnergy(energy);
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPrimaryGeneratorMessenger.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestPrimaryGeneratorMessenger.cc	(revision 1201)
+++ 	(revision )
@@ -1,198 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#define hTestPrimaryGeneratorMessenger_CPP 
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestPrimaryGeneratorMessenger
-//  
-// Description: Definition of physics list parameters
-//
-// Author:      V.Ivanchenko 26/09/00
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestPrimaryGeneratorMessenger.hh"
-#include "hTestPrimaryGeneratorAction.hh"
-#include "G4UImanager.hh"
-#include "hTestHisto.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPrimaryGeneratorMessenger::hTestPrimaryGeneratorMessenger(
-                                hTestPrimaryGeneratorAction* gen):
-  theGen(gen)
-{
-  G4cout << "hTestPrimaryGeneratorMessenger: Construct " << G4endl;
-
-  beamXCmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/beamX",this);
-  beamXCmd->SetGuidance("Set X position of the center of the beam.");
-  beamXCmd->SetParameterName("beamX",true);
-  beamXCmd->SetUnitCategory("Length");
-  beamXCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  beamYCmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/beamY",this);
-  beamYCmd->SetGuidance("Set Y position of the center of the beam.");
-  beamYCmd->SetParameterName("beamY",true);
-  beamYCmd->SetUnitCategory("Length");
-  beamYCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  beamZCmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/beamZ",this);
-  beamZCmd->SetGuidance("Set Z of the entry point of the beam.");
-  beamZCmd->SetParameterName("beamZ",true);
-  beamZCmd->SetUnitCategory("Length");
-  beamZCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  sigmaXCmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/sigmaX",this);
-  sigmaXCmd->SetGuidance("Set the beam Gussian width for X");
-  sigmaXCmd->SetParameterName("sigmaX",false);
-  sigmaXCmd->SetUnitCategory("Length");
-  sigmaXCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  sigmaYCmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/sigmaY",this);
-  sigmaYCmd->SetGuidance("Set the beam Gussian width for Y");
-  sigmaYCmd->SetParameterName("sigmaY",false);
-  sigmaYCmd->SetUnitCategory("Length");
-  sigmaYCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  sigmaZCmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/sigmaZ",this);
-  sigmaZCmd->SetGuidance("Set the beam Gussian width for Y");
-  sigmaZCmd->SetParameterName("sigmaZ",false);
-  sigmaZCmd->SetUnitCategory("Length");
-  sigmaZCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  sigmaECmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/sigmaE",this);
-  sigmaECmd->SetGuidance("Set the beam Gussian width for energy");
-  sigmaECmd->SetParameterName("sigmaE",false);
-  sigmaECmd->SetUnitCategory("Energy");
-  sigmaECmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  beamECmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/beamE",this);
-  beamECmd->SetGuidance("Set the beam kinetic energy");
-  beamECmd->SetParameterName("beamE",false);
-  beamECmd->SetUnitCategory("Energy");
-  beamECmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  beamBetaCmd = new G4UIcmdWithADouble("/hTest/gun/beamBeta",this);
-  beamBetaCmd->SetGuidance("Set the beam velocity");
-  beamBetaCmd->SetParameterName("beamBeta",false);
-  beamBetaCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  sigmaBetaCmd = new G4UIcmdWithADouble("/hTest/gun/sigmaBeta",this);
-  sigmaBetaCmd->SetGuidance("Set the sigma velocity");
-  sigmaBetaCmd->SetParameterName("sigmaBeta",false);
-  sigmaBetaCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  randCmd = new G4UIcmdWithAString("/hTest/gun/random",this);
-  randCmd->SetGuidance("Set the name of the random distribution (gauss,flatE,flatBeta)");
-  randCmd->SetParameterName("rand",false);
-  randCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  partCmd = new G4UIcmdWithAString("/hTest/gun/particle",this);
-  partCmd->SetGuidance("Set the name of the particle");
-  partCmd->SetParameterName("part",false);
-  partCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-  maxThetaCmd = new G4UIcmdWithADoubleAndUnit("/hTest/gun/maxTheta",this);
-  maxThetaCmd->SetGuidance("Set the beam maxTheta in degrees.");
-  maxThetaCmd->SetParameterName("maxTheta",false);
-  maxThetaCmd->SetUnitCategory("Angle");
-  maxThetaCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestPrimaryGeneratorMessenger::~hTestPrimaryGeneratorMessenger()
-{
-  delete beamXCmd;
-  delete beamYCmd;
-  delete beamZCmd;
-  delete sigmaXCmd;
-  delete sigmaYCmd;
-  delete sigmaZCmd;
-  delete sigmaECmd;
-  delete beamECmd;
-  delete maxThetaCmd;
-  delete partCmd;
-  delete beamBetaCmd;
-  delete sigmaBetaCmd;
-  delete randCmd;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-  
-void hTestPrimaryGeneratorMessenger::SetNewValue(G4UIcommand* command,
-                                                 G4String newValue)
-{
- 
-  if(1 < theGen->GetVerbose()) {
-    G4cout << "hTestPrimaryGeneratorMessenger: Next command value = " 
-           << newValue << G4endl;
-  }
-
-  if(command == beamXCmd)
-    {theGen->SetBeamX(beamXCmd->GetNewDoubleValue(newValue));}
-  if(command == beamYCmd)
-    {theGen->SetBeamY(beamYCmd->GetNewDoubleValue(newValue));}
-  if(command == beamZCmd) 
-    {theGen->SetBeamZ(beamZCmd->GetNewDoubleValue(newValue));}
-  if(command == sigmaXCmd)
-    {theGen->SetBeamSigmaX(sigmaXCmd->GetNewDoubleValue(newValue));}
-  if(command == sigmaYCmd)
-    {theGen->SetBeamSigmaY(sigmaYCmd->GetNewDoubleValue(newValue));}
-  if(command == sigmaZCmd)
-    {theGen->SetBeamSigmaZ(sigmaZCmd->GetNewDoubleValue(newValue));}
-  if(command == sigmaECmd)
-    {theGen->SetBeamSigmaE(sigmaECmd->GetNewDoubleValue(newValue));}
-  if(command == beamECmd) {
-     G4double e = beamECmd->GetNewDoubleValue(newValue);
-     theGen->SetBeamEnergy(e);
-     hTestHisto* theHisto = hTestHisto::GetPointer();
-     if(theHisto->GetMaxEnergy() == 0.0) theHisto->SetMaxEnergy(e);
-  }
-  if(command == maxThetaCmd)
-    {theGen->SetBeamMinCosTheta(std::cos(maxThetaCmd->GetNewDoubleValue(newValue)));}
-  if(command == partCmd)
-    {(G4UImanager::GetUIpointer())->ApplyCommand("/gun/particle "+newValue);}
-  if(command == beamBetaCmd)
-    {theGen->SetBeamBeta(beamBetaCmd->GetNewDoubleValue(newValue));}
-  if(command == sigmaBetaCmd)
-    {theGen->SetSigmaBeta(sigmaBetaCmd->GetNewDoubleValue(newValue));}
-  if(command == randCmd)
-    {theGen->SetRandom(newValue);}
-
-
-  if(0 < theGen->GetVerbose())
-    {G4cout << "hTestPrimaryGeneratorMessenger: O'K " << G4endl;}
-  }
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestRunAction.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestRunAction.cc	(revision 1201)
+++ 	(revision )
@@ -1,108 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// -------------------------------------------------------------
-//
-//
-// -------------------------------------------------------------
-//      GEANT4 hTest
-//
-//      History: based on object model of
-//      2nd December 1995, G.Cosmo
-//      ---------- hTestCalorimeterSD -------------
-//              
-//  Modified: 05.04.01 Vladimir Ivanchenko new design of hTest 
-// 
-// -------------------------------------------------------------
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestRunAction.hh"
-#include "hTestHisto.hh"
-#include "G4UImanager.hh"
-#include "G4VVisManager.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestRunAction::hTestRunAction()
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestRunAction::~hTestRunAction()
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestRunAction::BeginOfRunAction(const G4Run* aRun)
-{  
-  G4int id = aRun->GetRunID();
-  G4cout << "### Run " << id << " start" << G4endl;
-  (hTestHisto::GetPointer())->BeginOfHisto(id);
-
-#ifdef G4VIS_USE
-  G4UImanager* UI = G4UImanager::GetUIpointer();
-   
-  G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
-
-  if(pVVisManager)
-  {
-    UI->ApplyCommand("/vis/scene/notifyHandlers");
-  }
-#endif
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestRunAction::EndOfRunAction(const G4Run*)
-{
-
-  G4cout << "hTestRunAction: End of run actions are started" << G4endl;
-  (hTestHisto::GetPointer())->EndOfHisto();
-
-#ifdef G4VIS_USE
-  if (G4VVisManager::GetConcreteInstance())
-    G4UImanager::GetUIpointer()->ApplyCommand("/vis/viewer/update");
-#endif
-
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestStanPhysicsList.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestStanPhysicsList.cc	(revision 1201)
+++ 	(revision )
@@ -1,168 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestStanPhysicsList
-//  
-// Description: Standard EM physics list
-//
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestStanPhysicsList.hh"
-
-#include "G4ComptonScattering.hh"
-#include "G4GammaConversion.hh"
-#include "G4PhotoElectricEffect.hh"
-
-#include "G4MultipleScattering.hh"
-#include "G4MultipleScattering.hh"
-
-#include "G4eIonisation.hh"
-#include "G4eBremsstrahlung.hh"
-#include "G4eplusAnnihilation.hh"
-
-#include "G4MuIonisation.hh"
-#include "G4MuBremsstrahlung.hh"
-#include "G4MuPairProduction.hh"
-#include "G4MuonMinusCaptureAtRest.hh"
-
-#include "G4hIonisation.hh"
-
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestStanPhysicsList::hTestStanPhysicsList()
-{
-  verbose = 0;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestStanPhysicsList::ConstructProcess()
-{
-  G4cout << "Standard EM PhysicsList will be constructed" << G4endl;
-
-  theParticleIterator->reset();
-  while( (*theParticleIterator)() ){
-    G4ParticleDefinition* particle = theParticleIterator->value();
-    G4ProcessManager* pmanager = particle->GetProcessManager();
-    G4String particleName = particle->GetParticleName();
-    G4String particleType = particle->GetParticleType();
-    //    G4double charge = particle->GetPDGCharge();
-     
-    if (particleName == "gamma") {
-
-      pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
-      pmanager->AddDiscreteProcess(new G4ComptonScattering);
-      pmanager->AddDiscreteProcess(new G4GammaConversion);    
-      
-    } else if (particleName == "e-") {
-      G4MultipleScattering* msc = new G4MultipleScattering();
-      msc->SetFacrange(0.1);
-      pmanager->AddProcess(msc, -1, 1,1);
-      G4eIonisation* eion = new G4eIonisation();
-      eion->SetSubSec(false);
-      pmanager->AddProcess(eion,   -1, 2,2);
-      G4eBremsstrahlung* ebr = new G4eBremsstrahlung();
-      ebr->SetSubSec(false);
-      pmanager->AddProcess(ebr,    -1,-1,3);       
-
-    } else if (particleName == "e+") {
-
-      pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
-      G4eIonisation* pion = new G4eIonisation();
-      pion->SetSubSec(false);
-      pmanager->AddProcess(pion,        -1, 2,2);
-      G4eBremsstrahlung* pbr = new G4eBremsstrahlung();
-      pbr->SetSubSec(false);
-      pmanager->AddProcess(pbr,    -1,-1,3);
-      pmanager->AddProcess(new G4eplusAnnihilation,   0,-1,4);
-  
-    } else if( particleName == "mu+" || 
-               particleName == "mu-"    ) {
-
-      
-      pmanager->AddProcess(new G4MultipleScattering,-1, 1,1);
-      pmanager->AddProcess(new G4MuIonisation,      -1, 2,2);
-      pmanager->AddProcess(new G4MuBremsstrahlung,  -1,-1,3);
-      pmanager->AddProcess(new G4MuPairProduction,  -1,-1,4);       	       
-      if(particleName == "mu-") 
-        pmanager->AddProcess(new G4MuonMinusCaptureAtRest,0,-1,-1);
-      
-    } else if (
-                particleName == "proton"  
-               || particleName == "anti_proton"  
-               || particleName == "pi+"  
-               || particleName == "pi-"  
-               || particleName == "kaon+"  
-               || particleName == "kaon-"  
-              )
-    {
-      pmanager->AddProcess(new G4MultipleScattering,-1,1,1);
-      if(0 < verbose) {
-        G4cout << "Hadronic processes for " << particleName << G4endl; 
-      }
-
-      G4hIonisation* hIon = new G4hIonisation() ;
-      hIon->SetVerboseLevel(0);
-      pmanager->AddProcess(hIon,-1,2,2);
-   
-    } else if (   particleName == "alpha"  
-               || particleName == "deuteron"  
-               || particleName == "triton"  
-               || particleName == "IonC12"  
-               || particleName == "IonAr40"  
-               || particleName == "IonFe56"  
-               || particleName == "GenericIon"
-               || particleType == "nucleus") 
-              
-    {
-      pmanager->AddProcess(new G4MultipleScattering,-1,1,1);
-
-      if(0 < verbose) {
-        G4cout << "Ionic processes for " << particleName << G4endl; 
-      }
-
-      G4hIonisation* iIon = new G4hIonisation();
-      iIon->SetVerboseLevel(1);
-      pmanager->AddProcess(iIon,-1,1,1);
-    }
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestStepCut.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestStepCut.cc	(revision 1201)
+++ 	(revision )
@@ -1,67 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestStepCut
-//  
-// Description: Cut on step length of charged particles
-//
-// Authors:   08.04.01  V.Ivanchenko 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestStepCut.hh"
-
-#include "G4Step.hh"
-#include "G4UserLimits.hh"
-#include "G4VParticleChange.hh"
-#include "G4EnergyLossTables.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestStepCut::hTestStepCut(const G4String& aName, const hTestPhysicsList* list)
- :G4VDiscreteProcess(aName),
-  thePhysics(list)
-{
-  if (verboseLevel>0) {
-     G4cout << GetProcessName() << " is created "<< G4endl;
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestStepCut::~hTestStepCut()
-{}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestTrackingAction.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestTrackingAction.cc	(revision 1201)
+++ 	(revision )
@@ -1,154 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#define hTestTrackingAction_CPP
-
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestTrackingAction
-//  
-// Description: Implementation file for MC truth.
-//
-// Author:      V.Ivanchenko 17/03/01
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#include "hTestTrackingAction.hh"
-#include "G4ParticleDefinition.hh"
-#include "G4DynamicParticle.hh"
-#include "G4Track.hh"
-#include "G4ThreeVector.hh"
-#include "G4Gamma.hh"
-#include "G4Electron.hh"
-#include "G4EventManager.hh"
-#include "G4Event.hh"
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestTrackingAction::hTestTrackingAction():
-  theHisto(hTestHisto::GetPointer())
-{;}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestTrackingAction::~hTestTrackingAction()
-{;}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestTrackingAction::PreUserTrackingAction(const G4Track* aTrack)
-{
-
-  G4ParticleDefinition* particle = aTrack->GetDefinition();
-  G4String name = particle->GetParticleName();
-  theHisto->ResetTrackLength();
-  G4int pid = aTrack->GetParentID(); 
-
-  if(0 < theHisto->GetVerbose() &&
-    (theHisto->GetMaxEnergy() < aTrack->GetKineticEnergy() && pid > 0)) {
-    G4cout << "Track #" 
-           << aTrack->GetTrackID() << " of " << name
-           << " Emax(MeV)= " << theHisto->GetMaxEnergy()/MeV
-           << " Ekin(MeV)= " << aTrack->GetKineticEnergy()/MeV
-           << " ## EventID= " 
-           << (G4EventManager::GetEventManager())->GetConstCurrentEvent()
-              ->GetEventID() 
-           << G4endl;
-  }
-
-  //Save primary parameters
-
-  if(0 == pid) {
-
-    //    theHisto->StartEvent();      
-
-    G4double kinE = aTrack->GetKineticEnergy();
-    theHisto->SaveToTuple("TKIN", kinE/MeV);      
-
-    G4double mass = 0.0;
-    if(particle) {
-      mass = particle->GetPDGMass();
-      theHisto->SaveToTuple("MASS", mass/MeV);      
-      theHisto->SaveToTuple("CHAR",(particle->GetPDGCharge())/eplus);      
-      G4double beta = 1.;
-	if(mass > 0.) {
-          G4double gamma = kinE/mass + 1.;
-          beta = std::sqrt(1. - 1./(gamma*gamma));
-	}
-      theHisto->SaveToTuple("BETA", beta);            
-    }
-
-    G4ThreeVector pos = aTrack->GetPosition();
-    G4ThreeVector dir = aTrack->GetMomentumDirection();
-    /*
-    theHisto->SaveToTuple("X0",(pos.x())/mm);
-    theHisto->SaveToTuple("Y0",(pos.y())/mm);
-    theHisto->SaveToTuple("Z0",(pos.z())/mm);
-    */
-    if(1 < theHisto->GetVerbose()) {
-      G4cout << "hTestTrackingAction: Primary kinE(MeV)= " << kinE/MeV
-           << "; m(MeV)= " << mass/MeV   
-           << "; pos= " << pos << ";  dir= " << dir << G4endl;
-    }
-
-    // delta-electron
-  } else if ("e-" == name) {
-    if(1 < theHisto->GetVerbose()) {
-      G4cout << "hTestTrackingAction: Secondary electron " << G4endl;
-    }
-    theHisto->AddDeltaElectron(aTrack->GetDynamicParticle());
-
-  } else if ("e+" == name) {
-    if(1 < theHisto->GetVerbose()) {
-      G4cout << "hTestTrackingAction: Secondary positron " << G4endl;
-    }
-    //    theHisto->AddPositron(aTrack->GetDynamicParticle());
-
-  } else if ("gamma" == name) {
-    if(0 < theHisto->GetVerbose()) {
-      G4cout << "hTestTrackingAction: Secondary gamma " 
-             << aTrack->GetDynamicParticle() << G4endl;
-      aTrack->GetDynamicParticle()->DumpInfo();
-    }
-    theHisto->AddPhoton(aTrack->GetDynamicParticle());
- 
-  }
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-
-
-
-
-
-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestVisManager.cc
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/src/hTestVisManager.cc	(revision 1201)
+++ 	(revision )
@@ -1,167 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//---------------------------------------------------------------------------
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   hTestVisManager
-//
-//  
-// Authors:   08.04.01  V.Ivanchenko take from John Allison Examples 
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-#ifdef G4VIS_USE
-
-#include "hTestVisManager.hh"
-
-// Supported drivers...
-
-#ifdef G4VIS_USE_DAWN
-#include "G4FukuiRenderer.hh"
-#endif
-
-#ifdef G4VIS_USE_DAWNFILE
-#include "G4DAWNFILE.hh"
-#endif
-
-#ifdef G4VIS_USE_OPACS
-#include "G4Wo.hh"
-#include "G4Xo.hh"
-#endif
-
-#ifdef G4VIS_USE_OPENGLX
-#include "G4OpenGLImmediateX.hh"
-#include "G4OpenGLStoredX.hh"
-#endif
-
-#ifdef G4VIS_USE_OPENGLWIN32
-#include "G4OpenGLImmediateWin32.hh"
-#include "G4OpenGLStoredWin32.hh"
-#endif
-
-#ifdef G4VIS_USE_OPENGLXM
-#include "G4OpenGLImmediateXm.hh"
-#include "G4OpenGLStoredXm.hh"
-#endif
-
-#ifdef G4VIS_USE_OIX
-#include "G4OpenInventorX.hh"
-#endif
-
-#ifdef G4VIS_USE_OIWIN32
-#include "G4OpenInventorWin32.hh"
-#endif
-
-#ifdef G4VIS_USE_RAYX
-#include "G4RayX.hh"
-#endif
-
-#ifdef G4VIS_USE_VRML
-#include "G4VRML1.hh"
-// #include "G4VRML2.hh"
-#endif
-
-#ifdef G4VIS_USE_VRMLFILE
-#include "G4VRML1File.hh"
-//#include "G4VRML2File.hh"
-#endif
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-hTestVisManager::hTestVisManager () {}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
-
-void hTestVisManager::RegisterGraphicsSystems () {
-
-#ifdef G4VIS_USE_DAWN
-  RegisterGraphicsSystem (new G4FukuiRenderer);
-#endif
-
-#ifdef G4VIS_USE_DAWNFILE
-  RegisterGraphicsSystem (new G4DAWNFILE);
-#endif
-
-#ifdef G4VIS_USE_OPACS
-  RegisterGraphicsSystem (new G4Wo);
-  RegisterGraphicsSystem (new G4Xo);
-#endif
-
-#ifdef G4VIS_USE_OPENGLX
-  RegisterGraphicsSystem (new G4OpenGLImmediateX);
-  RegisterGraphicsSystem (new G4OpenGLStoredX);
-#endif
-
-#ifdef G4VIS_USE_OPENGLWIN32
-  RegisterGraphicsSystem (new G4OpenGLImmediateWin32);
-  RegisterGraphicsSystem (new G4OpenGLStoredWin32);
-#endif
-
-#ifdef G4VIS_USE_OPENGLXM
-  RegisterGraphicsSystem (new G4OpenGLImmediateXm);
-  RegisterGraphicsSystem (new G4OpenGLStoredXm);
-#endif
-
-#ifdef G4VIS_USE_OIX
-  RegisterGraphicsSystem (new G4OpenInventorX);
-#endif
-
-#ifdef G4VIS_USE_OIWIN32
-  RegisterGraphicsSystem (new G4OpenInventorWin32);
-#endif
-
-#ifdef G4VIS_USE_RAYX
-  RegisterGraphicsSystem (new G4RayX);
-#endif
-
-#ifdef G4VIS_USE_VRML
-  RegisterGraphicsSystem (new G4VRML1);
-// RegisterGraphicsSystem (new G4VRML2);
-#endif
-
-#ifdef G4VIS_USE_VRMLFILE
-  RegisterGraphicsSystem (new G4VRML1File);
-// RegisterGraphicsSystem (new G4VRML2File);
-#endif
-
-  if (fVerbose > 0) {
-    G4cout <<
-      "\nYou have successfully chosen to use the following graphics systems."
-	 << G4endl;
-    PrintAvailableGraphicsSystems ();
-  }
-}
-
-#endif
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/water.mac
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/water.mac	(revision 1201)
+++ 	(revision )
@@ -1,34 +1,0 @@
-#=======================================================
-# Macro file "water.mac" for the Water test by hTest.cc
-# 10.04.01 V.Ivanchenko
-#======================================================= 
-/control/verbose           2
-/run/verbose               2
-/tracking/verbose          0
-/event/verbose             0
-/hTest/verbose             0
-#
-/hTest/physics/cutGamma    1.0 mm
-/hTest/physics/cutElectron 0.2 mm
-/hTest/physics/MaxStep     1.0 mm
-/hTest/physics/verbose     0
-#/hTest/physics/EMList      LowEnergy
-/hTest/physics/EMList      Standard
-/hTest/physics/HadronList  LowEnergy
-#/hTest/physics/HadronList  none
-/hTest/AbsorberMaterial    Water
-/hTest/AbsorberThick       1.0 mm
-/hTest/AbsorberXY          20.0 cm
-/hTest/NumberOfAbsorbers   300
-/hTest/WorldMaterial       Vacuum
-/hTest/numberAbsToSave     0
-/hTest/HistoName           waterstn.paw 
-/hTest/NumberOfEvents      1000
-/hTest/nFirstEventToDebug -1
-/hTest/nLastEventToDebug  -1
-/hTest/gun/beamE           175 MeV
-/hTest/gun/sigmaE          0.9 MeV
-#
-/gun/particle              proton
-#/gun/particle              e-
-
Index: trunk/source/processes/electromagnetic/lowenergy/test/hTest/water.out
===================================================================
--- trunk/source/processes/electromagnetic/lowenergy/test/hTest/water.out	(revision 1201)
+++ 	(revision )
@@ -1,336 +1,0 @@
-**********************************************
- Geant4 version $Name: emlowen-V09-02-64 $
-                                (06-Apr-2001)
-             Copyright : Geant4 Collaboration
-**********************************************
-Detector Construction is defined
-HsPhysicsList: <LowEnergy> EMPhysicsList is set
-HsPhysicsList: <none> HadronicPhysicsList is set
-Physics List is defined
-User actions will be initialized
-hTestPrimaryGeneratorMessenger: Construct 
-hTestPrimaryGeneratorAction is defined
-EventAction is defined
-TrackingAction is defined
-UI interface is started
-#=======================================================
-# Macro file "water.mac" for the Water test by hTest.cc
-# 10.04.01 V.Ivanchenko
-#======================================================= 
-/run/verbose               2
-/step/verbose              0
-/tracking/verbose          0
-/stepping/verbose          0
-/event/verbose             0
-/hTest/verbose             0
-#
-/hTest/physics/cutGamma    1.0 cm
-/hTest/physics/cutElectron 1.0 mm
-/hTest/physics/MaxStep     1.0 mm
-hTestPhysicsList: MaxChargedStep = 1 mm
-/hTest/physics/EMList      LowEnergy
-#/hTest/physics/EMList      Standard
-/hTest/physics/HadronList  LowEnergy
-HsPhysicsList: <LowEnergy> HadronicPhysicsList is set
-/hTest/AbsorberMaterial    Water
-/hTest/AbsorberThick       1.0 mm
-/hTest/AbsorberXY          20.0 cm
-/hTest/NumberOfAbsorbers   300
-/hTest/WorldMaterial       Vacuum
-/hTest/numberAbsToSave     0
-/hTest/HistoName           water.paw 
-/hTest/NumberOfEvents      1000
-/hTest/nFirstEventToDebug -1
-/hTest/nLastEventToDebug  -1
-/hTest/gun/sigmaE          0.9 MeV
-hTestPrimaryGeneratorMessenger: O'K 
-#
-/gun/particle              proton
-/gun/energy                175 MeV
-
-Start initialisation
-userDetector->Construct() start.
-
-***** Table : Nb of materials = 18 *****
-
- Material: Beryllium            density:  1.848 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  35.267 cm
-   --->  Element: Beryllium    Z =  4.0   N =   9.0   A =   9.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Aluminum            density:  2.700 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.893 cm
-   --->  Element: Aluminum    Z = 13.0   N =  27.0   A =  26.98 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Carbon            density:  2.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  21.348 cm
-   --->  Element: Carbon    Z =  6.0   N =  12.0   A =  12.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Silicon            density:  2.330 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   9.368 cm
-   --->  Element: Silicon    Z = 14.0   N =  28.1   A =  28.09 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: liquidArgon            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  14.065 cm
-   --->  Element: liquidArgon    Z = 18.0   N =  40.0   A =  39.95 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Iron            density:  7.870 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.759 cm
-   --->  Element: Iron    Z = 26.0   N =  55.9   A =  55.85 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Copper            density:  8.960 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.436 cm
-   --->  Element: Copper    Z = 29.0   N =  63.5   A =  63.55 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Gold            density: 19.320 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   3.344 mm
-   --->  Element: Gold    Z = 79.0   N = 197.0   A = 196.97 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Lead            density: 11.350 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm
-   --->  Element: Lead    Z = 82.0   N = 207.2   A = 207.19 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: Water        H_2O   density:  1.000 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  36.092 cm
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  11.21 %  Abundance  66.67 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  88.79 %  Abundance  33.33 %
-
- Material: Methane        CH_4   density:  0.667 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 696.375 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  25.19 %  Abundance  80.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  74.81 %  Abundance  20.00 %
-
- Material: Graphite        Graphite   density:  2.265 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  18.834 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
- Material: GaAs        GaAs   density:  5.318 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   2.293 cm
-   --->  Element: GalliumGa   Z = 31.0   N =  69.7   A =  69.72 g/mole  fractionMass:  48.20 %  Abundance  50.00 %
-   --->  Element: ArsenicumAs   Z = 33.0   N =  74.9   A =  74.92 g/mole  fractionMass:  51.80 %  Abundance  50.00 %
-
- Material: Ethane        C_2H_6   density: 424.100 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.076 m
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:  20.16 %  Abundance  75.00 %
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  79.84 %  Abundance  25.00 %
-
- Material: CsI        CsI   density:  4.530 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.852 cm
-   --->  Element: CesiumCs   Z = 55.0   N = 132.9   A = 132.91 g/mole  fractionMass:  51.15 %  Abundance  50.00 %
-   --->  Element: IodideI   Z = 53.0   N = 126.9   A = 126.90 g/mole  fractionMass:  48.85 %  Abundance  50.00 %
-
- Material: Air            density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m
-   --->  Element: NitrogenN   Z =  7.0   N =  14.0   A =  14.01 g/mole  fractionMass:  70.00 %  Abundance  72.71 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  30.00 %  Abundance  27.29 %
-
- Material: Mylar            density:  1.390 g/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:  28.868 cm
-   --->  Element: CarbonC   Z =  6.0   N =  12.0   A =  12.00 g/mole  fractionMass:  55.00 %  Abundance  30.30 %
-   --->  Element: HydrogenH   Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass:   8.33 %  Abundance  54.55 %
-   --->  Element: OxygenO   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  36.67 %  Abundance  15.15 %
-
- Material: Vacuum            density:  0.000 mg/cm3  temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc
-   --->  Element: Vacuum    Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %
-
-
-The  WORLD   is made of  of Vacuum. The transverse size (XY) of the world is 2e+02 mm
-The ABSORBER is made of 300 items of 1 mm of Water. The transverse size (XY) is 2e+02 mm
-physicsList->Construct() start.
-LowEnergy Electromagnetic PhysicsList is initilized
-LowE EM processes for GenericIon
-LowE GenericIon
-LowE EM processes for He3
-LowE He3
-LowE EM processes for IonAr40
-LowE IonAr40
-LowE EM processes for IonC12
-LowE IonC12
-LowE EM processes for IonFe56
-LowE IonFe56
-LowE EM processes for alpha
-LowE alpha
-LowE EM processes for anti_kaon0
-LowE EM processes for anti_lambda
-LowE EM processes for anti_neutron
-LowE EM processes for anti_nu_e
-LowE EM processes for anti_nu_mu
-LowE EM processes for anti_omega-
-LowE EM processes for anti_proton
-LowE anti_proton
-LowE EM processes for anti_sigma+
-LowE EM processes for anti_sigma-
-LowE EM processes for anti_sigma0
-LowE EM processes for anti_xi-
-LowE EM processes for anti_xi0
-LowE EM processes for chargedgeantino
-LowE EM processes for deuteron
-LowE deuteron
-LowE EM processes for e+
-LowE e+
-LowE EM processes for e-
-LowE e-
->>>>>>>>> New G4LowEnergyIonisation 0x8932e40
-LowE EM processes for eta
-LowE EM processes for eta_prime
-LowE EM processes for gamma
-LowE gamma
-LowE EM processes for geantino
-LowE EM processes for kaon+
-LowE kaon+
-LowE EM processes for kaon-
-LowE kaon-
-LowE EM processes for kaon0
-LowE EM processes for kaon0L
-LowE EM processes for kaon0S
-LowE EM processes for lambda
-LowE EM processes for mu+
-LowE mu+
-MuonMinusCaptureAtRest is created 
-LowE EM processes for mu-
-LowE mu-
-MuonMinusCaptureAtRest is created 
-LowE EM processes for neutron
-LowE EM processes for nu_e
-LowE EM processes for nu_mu
-LowE EM processes for omega-
-LowE EM processes for pi+
-LowE pi+
-LowE EM processes for pi-
-LowE pi-
-LowE EM processes for pi0
-LowE EM processes for proton
-LowE proton
-LowE EM processes for sigma+
-LowE sigma+
-LowE EM processes for sigma-
-LowE sigma-
-LowE EM processes for sigma0
-LowE EM processes for triton
-LowE triton
-LowE EM processes for xi-
-LowE EM processes for xi0
-LowEnergy Hadronic PhysicsList is initilized
-physicsList->setCut() start.
-hTestPhysicsList: Set cuts for all particles 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-*** LEion using Tcut =0.47
-*** LEion using Tcut =0.6
-*** LEion using Tcut =0.52
-*** LEion using Tcut =0.55
-*** LEion using Tcut =0.34
-*** LEion using Tcut =1.3
-*** LEion using Tcut =1.4
-*** LEion using Tcut =2.3
-*** LEion using Tcut =1.4
-*** LEion using Tcut =0.35
-*** LEion using Tcut =0.00012
-*** LEion using Tcut =0.57
-*** LEion using Tcut =0.87
-*** LEion using Tcut =0.22
-*** LEion using Tcut =0.69
-*** LEion using Tcut =0.00028
-*** LEion using Tcut =0.43
-*** LEion using Tcut =1e-05
-
-LowEnergyIoni:  Low energy ionisation code with implementation of the continuous dE/dx part.
- At present it can be used for electrons  in the energy range [250eV,100GeV]
- the process must work with G4LowEnergyBremsstrahlung
-*** LE Bremsstrahlung using Gamma Tcut = 0.0038 for material Beryllium
-*** LE Bremsstrahlung using Gamma Tcut = 0.02 for material Aluminum
-*** LE Bremsstrahlung using Gamma Tcut = 0.0075 for material Carbon
-*** LE Bremsstrahlung using Gamma Tcut = 0.021 for material Silicon
-*** LE Bremsstrahlung using Gamma Tcut = 0.019 for material liquidArgon
-*** LE Bremsstrahlung using Gamma Tcut = 0.061 for material Iron
-*** LE Bremsstrahlung using Gamma Tcut = 0.07 for material Copper
-*** LE Bremsstrahlung using Gamma Tcut = 0.38 for material Gold
-*** LE Bremsstrahlung using Gamma Tcut = 0.28 for material Lead
-*** LE Bremsstrahlung using Gamma Tcut = 0.0077 for material Water
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Methane
-*** LE Bremsstrahlung using Gamma Tcut = 0.0079 for material Graphite
-*** LE Bremsstrahlung using Gamma Tcut = 0.064 for material GaAs
-*** LE Bremsstrahlung using Gamma Tcut = 0.0039 for material Ethane
-*** LE Bremsstrahlung using Gamma Tcut = 0.1 for material CsI
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Air
-*** LE Bremsstrahlung using Gamma Tcut = 0.0075 for material Mylar
-*** LE Bremsstrahlung using Gamma Tcut = 1e-05 for material Vacuum
-
-LowEnBrem:  Total cross sections from EEDL database,Gamma energy sampled from a parametrised formula.Implementation of the continuous dE/dx part.
- At present it can be used for electrons  in the energy range [250eV,100GeV]
- the process must work with G4LowEnergyIonisation
-
-annihil:  Total cross section from Heilter formula (annihilation into 2 photons).
-        gamma energies sampled according Heitler
-        PhysicsTables from 10 keV to 10 TeV in 100 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-MuIoni:  knock-on electron cross sections .
-          Good description above the mean excitation energy.
-         delta ray energy sampled from  differential Xsection.
-      PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuBrems:  theoretical cross section 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-MuPairProd:  theoretical cross sections 
-          Good description up to 1000 PeV.
-    PhysicsTables from 1 keV to 1e+03 PeV in 150 bins. 
-
-msc:   Tables of transport mean free paths.
-          New model of MSC , computes the lateral 
-          displacement of the particle , too.
-        PhysicsTables from 1e+02 eV to 1e+02 TeV in 100 bins. 
-
-hLowEIoni:    Knock-on electron cross sections . 
-        Good description above the mean excitation energy.
-        Delta ray energy sampled from  differential Xsection.
-        PhysicsTables from 10 eV  to 1e+02 TeV  in 200 bins.
-        Electronic stopping power model is  ICRU_R49p
-        from 1 keV  to 2 MeV .
-
-        Parametrisation model for antiprotons is  ICRU_R49p
-        from 50 keV  to 2 MeV .
-        Parametrization of the Barkas effect is switched on.
-        Nuclear stopping power model is ICRU_R49
-           material       min.delta energy(keV) 
-
-Vacuum          0.021
-============= The cut Energy ==============================
-                      gamma            e-           
-Cut in range                  1 cm             1 mm
-Cut in energy
- Beryllium                         3.84 keV           467 keV
-   Aluminum                         20.4 keV           597 keV
-   Carbon                         7.51 keV           522 keV
-   Silicon                         20.7 keV           546 keV
-   liquidArgon                         19.2 keV           345 keV
-   Iron                         60.6 keV          1.29 MeV
-   Copper                         70.1 keV          1.41 MeV
-   Gold                          377 keV          2.28 MeV
-   Lead                          284 keV          1.38 MeV
-   Water                         7.72 keV           353 keV
-   Methane                           10 eV           119 eV
-   Graphite                         7.92 keV           571 keV
-   GaAs                         63.9 keV           873 keV
-   Ethane                         3.87 keV           218 keV
-   CsI                          103 keV           690 keV
-   Air                           10 eV           276 eV
-   Mylar                         7.49 keV           431 keV
-   Vacuum                           10 eV            10 eV
-===================================================
-Start event loop for 1000 events
-hTestHisto: Histograms will be saved to the file <water.paw>
-Start closing geometry.
-Start Run processing.
-Run terminated.
-Run Summary
-  Number of events processed : 1000
-  User=23s Real=23s Sys=0.21s
-hTestHisto: End of run actions are started
-========================================================
-Range(mm)= 220.5; Stragling(mm)= 62.36 +- 2
-========================================================
-Histograms and Ntuples are saved
-runManager will be deleted
-G4 kernel has come to Quit state.
-Deletion of G4 kernel class start.
-UserDetectorConstruction deleted.
-UserPhysicsList deleted.
-UserPrimaryGenerator deleted.
-G4SDManager deleted.
-EventManager deleted.
-UImanager deleted.
-StateManager deleted.
-RunManager is deleting.
-runManager is deleted
