Import Geant4 8.3.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.79 2006/11/06 15:20:35 maire Exp $
|
||||
$Id: History,v 1.81 2007/03/20 18:50:53 vnivanch Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -14,6 +14,10 @@ track of all tags.
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
20-03-07 V.Ivant (testem5-V08-02-00)
|
||||
- Use all default values in default PhysList
|
||||
- Use hadronic builders from physics_lists library
|
||||
|
||||
06-11-06 mma (testem5-V08-01-02)
|
||||
- remove PhysicsLists g4v52 and g4v71
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
*************************************************************
|
||||
Geant4 version Name: global-V08-01-05 (15-December-2006)
|
||||
Geant4 version Name: geant4-08-03-cand-00 (5-May-2007)
|
||||
Copyright : Geant4 Collaboration
|
||||
Reference : NIM A 506 (2003), 250-303
|
||||
WWW : http://cern.ch/geant4
|
||||
@@ -64,30 +64,33 @@ conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV f
|
||||
|
||||
msc: Model variant of multiple scattering for e-
|
||||
Lambda tables from 100 eV to 100 TeV in 120 bins.
|
||||
LateralDisplacementFlag= 1 Skin= 0
|
||||
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
|
||||
|
||||
eIoni: tables are built for e-
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Delta cross sections from Moller+Bhabha, good description from 1 KeV to 100 GeV.
|
||||
Delta cross sections and sampling from MollerBhabha model
|
||||
Good description from 1 KeV to 100 GeV.
|
||||
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
|
||||
|
||||
eBrem: tables are built for e-
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Total cross sections from a parametrisation based on the EEDL data library.
|
||||
Total cross sections and sampling from StandBrem model (based on the EEDL data library)
|
||||
Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
|
||||
|
||||
eIoni: tables are built for e+
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Delta cross sections from Moller+Bhabha, good description from 1 KeV to 100 GeV.
|
||||
Delta cross sections and sampling from MollerBhabha model
|
||||
Good description from 1 KeV to 100 GeV.
|
||||
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
|
||||
|
||||
eBrem: tables are built for e+
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Total cross sections from a parametrisation based on the EEDL data library.
|
||||
Total cross sections and sampling from StandBrem model (based on the EEDL data library)
|
||||
Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
|
||||
|
||||
annihil: Sampling according eplus2gg model
|
||||
@@ -96,35 +99,42 @@ annihil: Sampling according eplus2gg model
|
||||
|
||||
msc: Model variant of multiple scattering for proton
|
||||
Lambda tables from 100 eV to 100 TeV in 120 bins.
|
||||
LateralDisplacementFlag= 1 Skin= 0
|
||||
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
|
||||
|
||||
hIoni: tables are built for proton
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Scaling relation is used to proton dE/dx and range
|
||||
Bether-Bloch model for Escaled > 2 MeV, ICRU49 parametrisation for protons below.
|
||||
Scaling relation is used from proton dE/dx and range.
|
||||
Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
|
||||
Parametrisation from Bragg for protons below.
|
||||
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
|
||||
|
||||
msc: Model variant of multiple scattering for GenericIon
|
||||
LateralDisplacementFlag= 0 Skin= 0
|
||||
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
|
||||
|
||||
ionIoni: tables are built for GenericIon
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Scaling relation is used to proton dE/dx and range
|
||||
Bether-Bloch model for Escaled > 2 MeV, ICRU49 parametrisation for alpha particles below.
|
||||
Scaling relation is used from proton dE/dx and range.
|
||||
Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
|
||||
Parametrisation from BraggIon for protons below.
|
||||
|
||||
Stopping Power data for 8 ion/material pairs are used.
|
||||
Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1
|
||||
|
||||
hIoni: tables are built for anti_proton
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Scaling relation is used to proton dE/dx and range
|
||||
Bether-Bloch model for Escaled > 2 MeV, ICRU49 parametrisation for protons below.
|
||||
Scaling relation is used from proton dE/dx and range.
|
||||
Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
|
||||
Parametrisation from Bragg for protons below.
|
||||
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
|
||||
|
||||
msc: Model variant of multiple scattering for mu+
|
||||
Lambda tables from 100 eV to 100 TeV in 120 bins.
|
||||
LateralDisplacementFlag= 1 Skin= 0
|
||||
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
|
||||
|
||||
muIoni: tables are built for mu+
|
||||
@@ -164,19 +174,22 @@ muPairProd: tables are built for mu-
|
||||
hIoni: tables are built for pi+
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Scaling relation is used to proton dE/dx and range
|
||||
Bether-Bloch model for Escaled > 0.297504 MeV, ICRU49 parametrisation for protons below.
|
||||
Scaling relation is used from proton dE/dx and range.
|
||||
Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
|
||||
Parametrisation from Bragg for protons below.
|
||||
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
|
||||
|
||||
msc: Model variant of multiple scattering for pi-
|
||||
Lambda tables from 100 eV to 100 TeV in 120 bins.
|
||||
LateralDisplacementFlag= 1 Skin= 0
|
||||
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
|
||||
|
||||
hIoni: tables are built for pi-
|
||||
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
|
||||
Lambda tables from threshold to 100 TeV in 120 bins.
|
||||
Scaling relation is used to proton dE/dx and range
|
||||
Bether-Bloch model for Escaled > 0.297504 MeV, ICRU49 parametrisation for protons below.
|
||||
Scaling relation is used from proton dE/dx and range.
|
||||
Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
|
||||
Parametrisation from Bragg for protons below.
|
||||
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
|
||||
|
||||
Region <DefaultRegionForTheWorld> -- appears in <World> world volume
|
||||
@@ -236,26 +249,26 @@ Start Run processing.
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 100000
|
||||
User=96.49s Real=352.43s Sys=41.25s
|
||||
User=110.33s Real=1095.16s Sys=151.41s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
The run was 100000 pi+ of 5 GeV through 20 um of Silicon (density: 2.33 g/cm3 )
|
||||
|
||||
Total energy deposit in absorber per event = 6.369 keV +- 15.68 eV
|
||||
-----> Mean dE/dx = 3.185 MeV/cm (1.367 MeV*cm2/g)
|
||||
Total energy deposit in absorber per event = 6.269 keV +- 15.34 eV
|
||||
-----> Mean dE/dx = 3.135 MeV/cm (1.345 MeV*cm2/g)
|
||||
|
||||
From formulas :
|
||||
restricted dEdx = 2.806 MeV/cm (1.204 MeV*cm2/g)
|
||||
full dEdx = 4.696 MeV/cm (2.016 MeV*cm2/g)
|
||||
|
||||
Total track length (charged) in absorber per event = 20.31 um +- 7.758 nm
|
||||
Total track length (neutral) in absorber per event = 4.881 Ang +- 2.7 Ang
|
||||
Total track length (charged) in absorber per event = 20.32 um +- 7.959 nm
|
||||
Total track length (neutral) in absorber per event = 5.985 Ang +- 4.239 Ang
|
||||
|
||||
Number of steps (charged) in absorber per event = 4.382 +- 8.808e-06
|
||||
Number of steps (neutral) in absorber per event = 4e-05 +- 8.808e-06
|
||||
Number of steps (charged) in absorber per event = 1.305 +- 8.921e-06
|
||||
Number of steps (neutral) in absorber per event = 2e-05 +- 8.921e-06
|
||||
|
||||
Number of secondaries per event : Gammas = 4e-05; electrons = 0.03567; positrons = 0
|
||||
Number of secondaries per event : Gammas = 2e-05; electrons = 0.03625; positrons = 0
|
||||
|
||||
Number of events with the primary particle transmitted = 100 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 100 %
|
||||
@@ -264,13 +277,13 @@ Run Summary
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0 %
|
||||
|
||||
MultipleScattering:
|
||||
rms proj angle of transmit primary particle = 0.02437 mrad (central part only)
|
||||
rms proj angle of transmit primary particle = 0.02451 mrad (central part only)
|
||||
computed theta0 (Highland formula) = 0.02627 mrad
|
||||
central part defined as +- 0.0788 mrad; Tail ratio = 1.297 %
|
||||
central part defined as +- 0.0788 mrad; Tail ratio = 1.584 %
|
||||
|
||||
--------- Ranecu engine status ---------
|
||||
Initial seed (index) = 0
|
||||
Current couple of seeds = 1998594552, 1902404041
|
||||
Current couple of seeds = 1003823545, 998528957
|
||||
----------------------------------------
|
||||
UserDetectorConstruction deleted.
|
||||
UserPhysicsList deleted.
|
||||
|
||||
@@ -1,76 +0,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: PhysListBinaryCascade.hh,v 1.4 2006/08/10 08:44:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// Class Description:
|
||||
// This class is an derived class of G4VPhysicsConstructor
|
||||
// It is provide PhysicsList for Binary Cascade for
|
||||
// protons and neutrons with the energy E<3 GeV
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PhysListBinaryCascade_h
|
||||
#define PhysListBinaryCascade_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class G4ProtonInelasticProcess;
|
||||
class G4NeutronInelasticProcess;
|
||||
class G4HadronFissionProcess;
|
||||
class G4HadronCaptureProcess;
|
||||
|
||||
class PhysListBinaryCascade : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
PhysListBinaryCascade(const G4String& name = "binary");
|
||||
virtual ~PhysListBinaryCascade();
|
||||
|
||||
public:
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each particle type will be instantiated
|
||||
void ConstructParticle() {};
|
||||
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each physics process will be instantiated and
|
||||
// registered to the process manager of each particle type
|
||||
void ConstructProcess();
|
||||
|
||||
private:
|
||||
|
||||
G4ProtonInelasticProcess* theIPproton;
|
||||
G4NeutronInelasticProcess* theIPneutron;
|
||||
G4HadronFissionProcess* theFissionProcess;
|
||||
G4HadronCaptureProcess* theCaptureProcess;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
@@ -1,77 +0,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: PhysListHadronElastic.hh,v 1.5 2006/08/10 08:44:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// Class Description:
|
||||
// This class is an derived class of G4VPhysicsConstructor
|
||||
// It is provide PhysicsList for hadron eleastic process
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PhysListHadronElastic_h
|
||||
#define PhysListHadronElastic_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class G4UHadronElasticProcess;
|
||||
|
||||
class PhysListHadronElastic : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
PhysListHadronElastic(const G4String& name = "elastic");
|
||||
virtual ~PhysListHadronElastic();
|
||||
|
||||
public:
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each particle type will be instantiated
|
||||
void ConstructParticle() {};
|
||||
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each physics process will be instantiated and
|
||||
// registered to the process manager of each particle type
|
||||
void ConstructProcess();
|
||||
|
||||
private:
|
||||
// Elastic Process
|
||||
G4UHadronElasticProcess* theElasticProcess;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,77 +0,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: PhysListIonBinaryCascade.hh,v 1.6 2006/08/10 08:44:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// Class Description:
|
||||
// This class is an derived class of G4VPhysicsConstructor
|
||||
// It is provide PhysicsList for Binary Cascade for
|
||||
// protons and neutrons with the energy E<3 GeV
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PhysListIonBinaryCascade_h
|
||||
#define PhysListIonBinaryCascade_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class G4DeuteronInelasticProcess;
|
||||
class G4TritonInelasticProcess;
|
||||
class G4AlphaInelasticProcess;
|
||||
class G4HadronInelasticProcess;
|
||||
|
||||
class PhysListIonBinaryCascade : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
PhysListIonBinaryCascade(const G4String& name = "binary_ion");
|
||||
virtual ~PhysListIonBinaryCascade();
|
||||
|
||||
public:
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each particle type will be instantiated
|
||||
void ConstructParticle() {};
|
||||
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each physics process will be instantiated and
|
||||
// registered to the process manager of each particle type
|
||||
void ConstructProcess();
|
||||
|
||||
private:
|
||||
|
||||
G4DeuteronInelasticProcess* theIPdeuteron;
|
||||
G4TritonInelasticProcess* theIPtriton;
|
||||
G4AlphaInelasticProcess* theIPalpha;
|
||||
G4HadronInelasticProcess* theIPGenericIon;
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: PhysicsList.hh,v 1.5 2006/06/29 16:55:03 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
// $Id: PhysicsList.hh,v 1.6 2007/03/20 18:50:53 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-03 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -43,37 +43,43 @@ class PhysicsListMessenger;
|
||||
|
||||
class PhysicsList: public G4VModularPhysicsList
|
||||
{
|
||||
public:
|
||||
PhysicsList();
|
||||
~PhysicsList();
|
||||
public:
|
||||
PhysicsList();
|
||||
virtual ~PhysicsList();
|
||||
|
||||
void ConstructParticle();
|
||||
void ConstructParticle();
|
||||
|
||||
void AddPhysicsList(const G4String& name);
|
||||
void AddPhysicsList(const G4String& name);
|
||||
|
||||
void ConstructProcess();
|
||||
void AddDecay();
|
||||
void AddStepMax();
|
||||
StepMax* GetStepMaxProcess() {return stepMaxProcess;};
|
||||
|
||||
void SetCuts();
|
||||
void SetCutForGamma(G4double);
|
||||
void SetCutForElectron(G4double);
|
||||
void SetCutForPositron(G4double);
|
||||
|
||||
private:
|
||||
void ConstructProcess();
|
||||
void AddDecay();
|
||||
void AddStepMax();
|
||||
|
||||
PhysicsListMessenger* pMessenger;
|
||||
StepMax* GetStepMaxProcess() {return stepMaxProcess;};
|
||||
|
||||
void SetCuts();
|
||||
void SetCutForGamma(G4double);
|
||||
void SetCutForElectron(G4double);
|
||||
void SetCutForPositron(G4double);
|
||||
|
||||
private:
|
||||
|
||||
PhysicsListMessenger* pMessenger;
|
||||
|
||||
G4String emName;
|
||||
G4VPhysicsConstructor* emPhysicsList;
|
||||
std::vector<G4VPhysicsConstructor*> hadronPhys;
|
||||
G4String emName;
|
||||
G4VPhysicsConstructor* emPhysicsList;
|
||||
std::vector<G4VPhysicsConstructor*> hadronPhys;
|
||||
|
||||
StepMax* stepMaxProcess;
|
||||
StepMax* stepMaxProcess;
|
||||
|
||||
G4double cutForGamma;
|
||||
G4double cutForElectron;
|
||||
G4double cutForPositron;
|
||||
G4double cutForGamma;
|
||||
G4double cutForElectron;
|
||||
G4double cutForPositron;
|
||||
|
||||
G4bool helIsRegisted;
|
||||
G4bool bicIsRegisted;
|
||||
G4bool biciIsRegisted;
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Id: mumsc.mac,v 1.5 2005/03/02 17:17:57 maire Exp $
|
||||
# $Id: mumsc.mac,v 1.6 2007/03/20 18:37:42 vnivanch Exp $
|
||||
#
|
||||
# macro file for TestEm5.cc
|
||||
#
|
||||
@@ -6,6 +6,7 @@
|
||||
#
|
||||
/control/verbose 2
|
||||
/run/verbose 2
|
||||
#/tracking/verbose 1
|
||||
#
|
||||
/testem/det/setAbsMat Iron
|
||||
/testem/det/setAbsThick 1 m
|
||||
@@ -15,9 +16,11 @@
|
||||
#
|
||||
#### /testem/phys/addPhysics g4v52
|
||||
#
|
||||
/testem/phys/setCuts 0.1 mm
|
||||
#/testem/phys/setCuts 0.1 mm
|
||||
/testem/phys/setCuts 1 cm
|
||||
#
|
||||
/run/initialize
|
||||
#/process/eLoss/MscStepLimit 0.02 false
|
||||
#
|
||||
/testem/gun/setDefault
|
||||
/gun/particle mu+
|
||||
@@ -31,4 +34,4 @@
|
||||
/testem/stack/killSecondaries
|
||||
#
|
||||
/testem/event/printModulo 1000
|
||||
/run/beamOn 10000
|
||||
/run/beamOn 1000
|
||||
|
||||
@@ -1,105 +0,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: PhysListBinaryCascade.cc,v 1.4 2006/08/10 08:44:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "PhysListBinaryCascade.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4LFission.hh"
|
||||
#include "G4LCapture.hh"
|
||||
#include "G4Proton.hh"
|
||||
#include "G4Neutron.hh"
|
||||
|
||||
#include "G4ProtonInelasticProcess.hh"
|
||||
#include "G4NeutronInelasticProcess.hh"
|
||||
#include "G4ProtonInelasticCrossSection.hh"
|
||||
#include "G4NeutronInelasticCrossSection.hh"
|
||||
#include "G4HadronFissionProcess.hh"
|
||||
#include "G4HadronCaptureProcess.hh"
|
||||
|
||||
#include "G4BinaryCascade.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PhysListBinaryCascade::PhysListBinaryCascade(const G4String& name)
|
||||
: G4VPhysicsConstructor(name)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PhysListBinaryCascade::~PhysListBinaryCascade()
|
||||
{
|
||||
delete theIPproton;
|
||||
delete theIPneutron;
|
||||
delete theFissionProcess;
|
||||
delete theCaptureProcess;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void PhysListBinaryCascade::ConstructProcess()
|
||||
{
|
||||
|
||||
// Binary Cascade
|
||||
G4ParticleDefinition* particle = 0;
|
||||
G4ProcessManager* pmanager = 0;
|
||||
G4BinaryCascade* theBC = 0;
|
||||
|
||||
// proton
|
||||
particle = G4Proton::Proton();
|
||||
pmanager = particle->GetProcessManager();
|
||||
theBC = new G4BinaryCascade();
|
||||
theIPproton = new G4ProtonInelasticProcess();
|
||||
theIPproton->RegisterMe(theBC);
|
||||
theIPproton->AddDataSet(new G4ProtonInelasticCrossSection);
|
||||
pmanager->AddDiscreteProcess(theIPproton);
|
||||
|
||||
// neutron
|
||||
particle = G4Neutron::Neutron();
|
||||
pmanager = particle->GetProcessManager();
|
||||
theBC = new G4BinaryCascade();
|
||||
theIPneutron = new G4NeutronInelasticProcess();
|
||||
theIPneutron->RegisterMe(theBC);
|
||||
theIPneutron->AddDataSet(new G4NeutronInelasticCrossSection);
|
||||
pmanager->AddDiscreteProcess(theIPneutron);
|
||||
// fission
|
||||
theFissionProcess = new G4HadronFissionProcess;
|
||||
G4LFission* theFissionModel = new G4LFission;
|
||||
theFissionProcess->RegisterMe(theFissionModel);
|
||||
pmanager->AddDiscreteProcess(theFissionProcess);
|
||||
// capture
|
||||
theCaptureProcess = new G4HadronCaptureProcess;
|
||||
G4LCapture* theCaptureModel = new G4LCapture;
|
||||
theCaptureProcess->RegisterMe(theCaptureModel);
|
||||
pmanager->AddDiscreteProcess(theCaptureProcess);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: PhysListEmStandard.cc,v 1.10 2006/11/06 15:20:35 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
// $Id: PhysListEmStandard.cc,v 1.11 2007/03/20 18:37:42 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-03 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -67,7 +67,6 @@ void PhysListEmStandard::ConstructProcess()
|
||||
{
|
||||
// Add standard EM Processes
|
||||
//
|
||||
G4MultipleScattering* msc(0);
|
||||
|
||||
theParticleIterator->reset();
|
||||
while( (*theParticleIterator)() ){
|
||||
@@ -83,13 +82,13 @@ void PhysListEmStandard::ConstructProcess()
|
||||
|
||||
} else if (particleName == "e-") {
|
||||
//electron
|
||||
pmanager->AddProcess(msc=new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4eIonisation, -1, 2,2);
|
||||
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);
|
||||
|
||||
} else if (particleName == "e+") {
|
||||
//positron
|
||||
pmanager->AddProcess(msc=new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4eIonisation, -1, 2,2);
|
||||
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);
|
||||
pmanager->AddProcess(new G4eplusAnnihilation, 0,-1,4);
|
||||
@@ -97,23 +96,22 @@ void PhysListEmStandard::ConstructProcess()
|
||||
} else if (particleName == "mu+" ||
|
||||
particleName == "mu-" ) {
|
||||
//muon
|
||||
pmanager->AddProcess(msc=new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4MuIonisation, -1, 2,2);
|
||||
pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3,3);
|
||||
pmanager->AddProcess(new G4MuPairProduction, -1, 4,4);
|
||||
|
||||
} else if (particleName == "alpha" || particleName == "GenericIon" ) {
|
||||
pmanager->AddProcess(msc=new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4MultipleScattering, -1, 1,1);
|
||||
pmanager->AddProcess(new G4ionIonisation, -1, 2,2);
|
||||
|
||||
} else if ((!particle->IsShortLived()) &&
|
||||
(particle->GetPDGCharge() != 0.0) &&
|
||||
(particle->GetParticleName() != "chargedgeantino")) {
|
||||
//all others charged particles except geantino
|
||||
pmanager->AddProcess(msc=new G4MultipleScattering, -1,1,1);
|
||||
pmanager->AddProcess(new G4MultipleScattering, -1,1,1);
|
||||
pmanager->AddProcess(new G4hIonisation, -1,2,2);
|
||||
}
|
||||
if(msc) msc->SetSkin(1.);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +0,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: PhysListHadronElastic.cc,v 1.7 2006/08/10 08:44:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "PhysListHadronElastic.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4UHadronElasticProcess.hh"
|
||||
#include "G4HadronElastic.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PhysListHadronElastic::PhysListHadronElastic(const G4String& name)
|
||||
: G4VPhysicsConstructor(name)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PhysListHadronElastic::~PhysListHadronElastic()
|
||||
{
|
||||
delete theElasticProcess;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void PhysListHadronElastic::ConstructProcess()
|
||||
{
|
||||
|
||||
// Hadron elastic process
|
||||
theElasticProcess = new G4UHadronElasticProcess("hElastic");
|
||||
theElasticProcess->RegisterMe( new G4HadronElastic() );
|
||||
|
||||
theParticleIterator->reset();
|
||||
while( (*theParticleIterator)() ){
|
||||
G4ParticleDefinition* particle = theParticleIterator->value();
|
||||
if (theElasticProcess->IsApplicable(*particle)) {
|
||||
particle->GetProcessManager()->AddDiscreteProcess(theElasticProcess);
|
||||
G4cout << "### Elastic process is registered for "
|
||||
<< particle->GetParticleName()
|
||||
<< G4endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -1,141 +0,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: PhysListIonBinaryCascade.cc,v 1.6 2006/08/10 08:44:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "PhysListIonBinaryCascade.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
|
||||
#include "G4Deuteron.hh"
|
||||
#include "G4Triton.hh"
|
||||
#include "G4Alpha.hh"
|
||||
#include "G4GenericIon.hh"
|
||||
|
||||
#include "G4HadronInelasticProcess.hh"
|
||||
#include "G4BinaryLightIonReaction.hh"
|
||||
#include "G4TripathiCrossSection.hh"
|
||||
#include "G4TripathiLightCrossSection.hh"
|
||||
#include "G4IonsShenCrossSection.hh"
|
||||
#include "G4LEDeuteronInelastic.hh"
|
||||
#include "G4LETritonInelastic.hh"
|
||||
#include "G4LEAlphaInelastic.hh"
|
||||
|
||||
#include "G4DeuteronInelasticProcess.hh"
|
||||
#include "G4TritonInelasticProcess.hh"
|
||||
#include "G4AlphaInelasticProcess.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PhysListIonBinaryCascade::PhysListIonBinaryCascade(const G4String& name)
|
||||
: G4VPhysicsConstructor(name)
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PhysListIonBinaryCascade::~PhysListIonBinaryCascade()
|
||||
{
|
||||
delete theIPGenericIon;
|
||||
delete theIPdeuteron;
|
||||
delete theIPtriton;
|
||||
delete theIPalpha;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void PhysListIonBinaryCascade::ConstructProcess()
|
||||
{
|
||||
// Binary Cascade
|
||||
G4ParticleDefinition* particle = 0;
|
||||
G4ProcessManager* pmanager = 0;
|
||||
G4BinaryLightIonReaction* theBC = new G4BinaryLightIonReaction();
|
||||
// theBC->SetMinEnergy(80*MeV);
|
||||
theBC->SetMinEnergy(0.0);
|
||||
theBC->SetMaxEnergy(20*GeV);
|
||||
|
||||
G4TripathiCrossSection* TripathiCrossSection= new G4TripathiCrossSection;
|
||||
G4TripathiLightCrossSection* fTripathiLight = new G4TripathiLightCrossSection;
|
||||
G4IonsShenCrossSection* aShen = new G4IonsShenCrossSection;
|
||||
|
||||
// deuteron
|
||||
particle = G4Deuteron::Deuteron();
|
||||
pmanager = particle->GetProcessManager();
|
||||
// G4LEDeuteronInelastic* theDIModel = new G4LEDeuteronInelastic;
|
||||
// theDIModel->SetMaxEnergy(100*MeV);
|
||||
theIPdeuteron = new G4DeuteronInelasticProcess();
|
||||
theIPdeuteron->AddDataSet(TripathiCrossSection);
|
||||
theIPdeuteron->AddDataSet(fTripathiLight);
|
||||
theIPdeuteron->AddDataSet(aShen);
|
||||
// theIPdeuteron.RegisterMe(theDIModel);
|
||||
theIPdeuteron->RegisterMe(theBC);
|
||||
pmanager->AddDiscreteProcess(theIPdeuteron);
|
||||
|
||||
// triton
|
||||
particle = G4Triton::Triton();
|
||||
pmanager = particle->GetProcessManager();
|
||||
// G4LETritonInelastic* theTIModel = new G4LETritonInelastic;
|
||||
// theTIModel->SetMaxEnergy(100*MeV);
|
||||
theIPtriton = new G4TritonInelasticProcess;
|
||||
theIPtriton->AddDataSet(TripathiCrossSection);
|
||||
theIPtriton->AddDataSet(fTripathiLight);
|
||||
theIPtriton->AddDataSet(aShen);
|
||||
// theIPtriton->RegisterMe(theTIModel);
|
||||
theIPtriton->RegisterMe(theBC);
|
||||
pmanager->AddDiscreteProcess(theIPtriton);
|
||||
|
||||
// alpha
|
||||
particle = G4Alpha::Alpha();
|
||||
pmanager = particle->GetProcessManager();
|
||||
// G4LEAlphaInelastic* theAIModel = new G4LEAlphaInelastic;
|
||||
// theAIModel->SetMaxEnergy(100*MeV);
|
||||
theIPalpha = new G4AlphaInelasticProcess();
|
||||
theIPalpha->AddDataSet(TripathiCrossSection);
|
||||
theIPalpha->AddDataSet(fTripathiLight);
|
||||
theIPalpha->AddDataSet(aShen);
|
||||
// theIPalpha->RegisterMe(theAIModel);
|
||||
theIPalpha->RegisterMe(theBC);
|
||||
pmanager->AddDiscreteProcess(theIPalpha);
|
||||
|
||||
// GenericIon
|
||||
particle = G4GenericIon::GenericIon();
|
||||
pmanager = particle->GetProcessManager();
|
||||
theIPGenericIon = new G4HadronInelasticProcess("IonInelastic",particle);
|
||||
theIPGenericIon->AddDataSet(TripathiCrossSection);
|
||||
theIPGenericIon->AddDataSet(fTripathiLight);
|
||||
theIPGenericIon->AddDataSet(aShen);
|
||||
G4BinaryLightIonReaction * theGenIonBC= new G4BinaryLightIonReaction;
|
||||
theGenIonBC->SetMinEnergy(0*MeV);
|
||||
theGenIonBC->SetMaxEnergy(10*GeV);
|
||||
theIPGenericIon->RegisterMe(theGenIonBC);
|
||||
pmanager->AddDiscreteProcess(theIPGenericIon);
|
||||
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: PhysicsList.cc,v 1.17 2006/12/13 15:42:28 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
// $Id: PhysicsList.cc,v 1.18 2007/03/20 18:50:53 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-03 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -36,9 +36,12 @@
|
||||
#include "PhysListEmStandardSS.hh"
|
||||
#include "PhysListEmLivermore.hh"
|
||||
#include "PhysListEmPenelope.hh"
|
||||
#include "PhysListHadronElastic.hh"
|
||||
#include "PhysListBinaryCascade.hh"
|
||||
#include "PhysListIonBinaryCascade.hh"
|
||||
|
||||
#include "G4HadronElasticPhysics.hh"
|
||||
#include "G4HadronHElasticPhysics.hh"
|
||||
#include "G4HadronQElasticPhysics.hh"
|
||||
#include "G4HadronInelasticQBBC.hh"
|
||||
#include "G4IonBinaryCascadePhysics.hh"
|
||||
|
||||
#include "G4LossTableManager.hh"
|
||||
#include "G4UnitsTable.hh"
|
||||
@@ -80,6 +83,10 @@ PhysicsList::PhysicsList() : G4VModularPhysicsList()
|
||||
// EM physics
|
||||
emName = G4String("standard");
|
||||
emPhysicsList = new PhysListEmStandard(emName);
|
||||
|
||||
helIsRegisted = false;
|
||||
bicIsRegisted = false;
|
||||
biciIsRegisted = false;
|
||||
|
||||
stepMaxProcess = 0;
|
||||
|
||||
@@ -226,19 +233,27 @@ void PhysicsList::AddPhysicsList(const G4String& name)
|
||||
emName = name;
|
||||
delete emPhysicsList;
|
||||
emPhysicsList = new PhysListEmPenelope(name);
|
||||
|
||||
} else if (name == "elastic" && !helIsRegisted) {
|
||||
hadronPhys.push_back( new G4HadronElasticPhysics(name));
|
||||
helIsRegisted = true;
|
||||
|
||||
} else if (name == "HElastic" && !helIsRegisted) {
|
||||
hadronPhys.push_back( new G4HadronHElasticPhysics(name));
|
||||
helIsRegisted = true;
|
||||
|
||||
} else if (name == "QElastic" && !helIsRegisted) {
|
||||
hadronPhys.push_back( new G4HadronQElasticPhysics(name));
|
||||
helIsRegisted = true;
|
||||
|
||||
} else if (name == "binary" && !bicIsRegisted) {
|
||||
hadronPhys.push_back(new G4HadronInelasticQBBC());
|
||||
bicIsRegisted = true;
|
||||
|
||||
} else if (name == "binary_ion" && !biciIsRegisted) {
|
||||
hadronPhys.push_back(new G4IonBinaryCascadePhysics());
|
||||
biciIsRegisted = true;
|
||||
|
||||
} else if (name == "elastic") {
|
||||
|
||||
hadronPhys.push_back( new PhysListHadronElastic(name));
|
||||
|
||||
} else if (name == "binary") {
|
||||
|
||||
hadronPhys.push_back( new PhysListBinaryCascade(name));
|
||||
|
||||
} else if (name == "binary_ion") {
|
||||
|
||||
hadronPhys.push_back( new PhysListIonBinaryCascade(name));
|
||||
|
||||
} else {
|
||||
|
||||
G4cout << "PhysicsList::AddPhysicsList: <" << name << ">"
|
||||
|
||||
Reference in New Issue
Block a user