Changeset 1203 for trunk/source/physics_lists
- Timestamp:
- Nov 27, 2009, 11:46:04 AM (15 years ago)
- Location:
- trunk/source/physics_lists/builders
- Files:
-
- 60 added
- 2 deleted
- 116 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/GNUmakefile
r921 r1203 1 # $Id: GNUmakefile,v 1. 5 2008/10/15 18:24:11 vnivanchExp $1 # $Id: GNUmakefile,v 1.10 2009/11/20 10:24:28 mkossov Exp $ 2 2 # --------------------------------------------------------------------------- 3 3 # GNUmakefile for physics_lists/builders library. Gunter Folger 25-Oct-2006. … … 14 14 CPPFLAGS += -I$(G4BASE)/global/management/include \ 15 15 -I$(G4BASE)/global/HEPRandom/include \ 16 -I$(G4BASE)/global/HEPNumerics/include \ 16 17 -I$(G4BASE)/global/HEPGeometry/include \ 17 18 -I$(G4BASE)/geometry/volumes/include \ … … 50 51 -I$(G4BASE)/processes/hadronic/models/cascade/cascade/include \ 51 52 -I$(G4BASE)/processes/hadronic/models/chiral_inv_phase_space/body/include \ 53 -I$(G4BASE)/processes/hadronic/models/chiral_inv_phase_space/cross_sections/include \ 54 -I$(G4BASE)/processes/hadronic/models/chiral_inv_phase_space/processes/include \ 55 -I$(G4BASE)/processes/hadronic/models/chiral_inv_phase_space/fragmentation/include \ 52 56 -I$(G4BASE)/processes/hadronic/models/chiral_inv_phase_space/interface/include \ 53 57 -I$(G4BASE)/processes/hadronic/models/coherent_elastic/include \ … … 61 65 -I$(G4BASE)/processes/hadronic/models/high_energy/include \ 62 66 -I$(G4BASE)/processes/hadronic/models/im_r_matrix/include \ 67 -I$(G4BASE)/processes/hadronic/models/incl/include \ 63 68 -I$(G4BASE)/processes/hadronic/models/leading_particle/include \ 64 69 -I$(G4BASE)/processes/hadronic/models/low_energy/include \ -
trunk/source/physics_lists/builders/include/G4BertiniNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BertiniNeutronBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BertiniNeutronBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4BertiniNeutronBuilder_h 27 41 #define G4BertiniNeutronBuilder_h 1 … … 36 50 37 51 #include "G4CascadeInterface.hh" 38 #include "G4NeutronInelasticCrossSection.hh"39 52 40 53 class G4BertiniNeutronBuilder : public G4VNeutronBuilder … … 55 68 private: 56 69 G4CascadeInterface * theModel; 57 G4NeutronInelasticCrossSection theXSec;58 70 G4double theMin; 59 71 G4double theMax; -
trunk/source/physics_lists/builders/include/G4BertiniPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4BertiniPiKBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BertiniPiKBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4BertiniPiKBuilder_h … … 57 71 58 72 private: 59 G4PiNuclearCrossSection thePiData;73 G4PiNuclearCrossSection* thePiData; 60 74 G4CascadeInterface * theModel; 61 75 G4double theMin; -
trunk/source/physics_lists/builders/include/G4BertiniProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BertiniProtonBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BertiniProtonBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4BertiniProtonBuilder_h 27 41 #define G4BertiniProtonBuilder_h … … 36 50 37 51 #include "G4CascadeInterface.hh" 38 #include "G4ProtonInelasticCrossSection.hh"39 52 40 53 class G4BertiniProtonBuilder : public G4VProtonBuilder … … 52 65 53 66 private: 54 G4ProtonInelasticCrossSection theXSec; 67 55 68 G4CascadeInterface * theModel; 56 69 G4double theMin; -
trunk/source/physics_lists/builders/include/G4BinaryNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BinaryNeutronBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BinaryNeutronBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4BinaryNeutronBuilder_h 27 41 #define G4BinaryNeutronBuilder_h 1 … … 36 50 37 51 #include "G4BinaryCascade.hh" 38 #include "G4NeutronInelasticCrossSection.hh"39 52 40 53 class G4BinaryNeutronBuilder : public G4VNeutronBuilder … … 55 68 private: 56 69 G4BinaryCascade * theModel; 57 G4NeutronInelasticCrossSection theXSec;58 70 G4double theMin; 59 71 G4double theMax; -
trunk/source/physics_lists/builders/include/G4BinaryPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4BinaryPiKBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BinaryPiKBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4BinaryPiKBuilder_h … … 57 71 58 72 private: 59 G4PiNuclearCrossSection thePiData;73 G4PiNuclearCrossSection* thePiData; 60 74 G4BinaryCascade * theModel; 61 75 G4double theMin; -
trunk/source/physics_lists/builders/include/G4BinaryProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BinaryProtonBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BinaryProtonBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4BinaryProtonBuilder_h 27 41 #define G4BinaryProtonBuilder_h … … 36 50 37 51 #include "G4BinaryCascade.hh" 38 #include "G4ProtonInelasticCrossSection.hh"39 52 40 53 class G4BinaryProtonBuilder : public G4VProtonBuilder … … 52 65 53 66 private: 54 G4ProtonInelasticCrossSection theXSec; 67 55 68 G4BinaryCascade * theModel; 56 69 G4double theMin; -
trunk/source/physics_lists/builders/include/G4ChargeExchangePhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4ChargeExchangePhysics.hh,v 1.1 2008/11/20 12:38:11 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4DecayPhysics.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4DecayPhysics.hh,v 1. 1 2006/10/31 11:35:01 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4DecayPhysics.hh,v 1.2 2009/11/05 01:24:47 gum Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 64 64 virtual void ConstructProcess(); 65 65 66 virtual G4Decay* GetDecayProcess() { return fDecayProcess; } 67 66 68 private: 67 69 G4Decay* fDecayProcess; -
trunk/source/physics_lists/builders/include/G4EmExtraPhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4EmExtraPhysics.hh,v 1.2 2007/11/15 18:08:11 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4EmMessenger.hh
r988 r1203 25 25 // 26 26 // $Id: G4EmMessenger.hh,v 1.1 2006/10/31 11:35:01 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4EmStandardPhysics.hh
r988 r1203 26 26 // 27 27 // $Id: G4EmStandardPhysics.hh,v 1.4 2007/05/16 11:35:36 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 29 29 // 30 30 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4EmStandardPhysics_option1.hh
r988 r1203 26 26 // 27 27 // $Id: G4EmStandardPhysics_option1.hh,v 1.1 2007/05/16 11:35:36 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 29 29 // 30 30 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4EmStandardPhysics_option2.hh
r988 r1203 26 26 // 27 27 // $Id: G4EmStandardPhysics_option2.hh,v 1.1 2007/05/16 11:35:36 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 29 29 // 30 30 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4EmStandardPhysics_option3.hh
r988 r1203 26 26 // 27 27 // $Id: G4EmStandardPhysics_option3.hh,v 1.1 2008/03/13 12:11:02 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 29 29 // 30 30 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4FTFBinaryNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFBinaryNeutronBuilder.hh,v 1.3 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFBinaryNeutronBuilder 32 // 33 // Author: 2008 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4FTFBinaryNeutronBuilder_h 27 41 #define G4FTFBinaryNeutronBuilder_h 1 … … 35 49 #include "G4VNeutronBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4ExcitationHandler.hh" … … 66 79 G4QuasiElasticChannel * theQuasiElastic; 67 80 68 G4NeutronInelasticCrossSection theXSec;69 81 G4double theMin; 70 82 -
trunk/source/physics_lists/builders/include/G4FTFBinaryPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4FTFBinaryPiKBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFBinaryPiKBuilder 32 // 33 // Author: 2008 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4FTFBinaryPiKBuilder_h … … 71 85 G4QuasiElasticChannel * theQuasiElastic; 72 86 73 G4PiNuclearCrossSection thePiData;87 G4PiNuclearCrossSection* thePiData; 74 88 G4double theMin; 75 89 -
trunk/source/physics_lists/builders/include/G4FTFBinaryProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFBinaryProtonBuilder.hh,v 1.2 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFBinaryProtonBuilder 32 // 33 // Author: 2008 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4FTFBinaryProtonBuilder_h 27 41 #define G4FTFBinaryProtonBuilder_h … … 35 49 #include "G4VProtonBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4ExcitationHandler.hh" … … 44 57 #include "G4ExcitedStringDecay.hh" 45 58 #include "G4QuasiElasticChannel.hh" 46 47 #include "G4ProtonInelasticCrossSection.hh"48 59 49 60 class G4FTFBinaryProtonBuilder : public G4VProtonBuilder … … 67 78 G4QuasiElasticChannel * theQuasiElastic; 68 79 69 G4ProtonInelasticCrossSection theXSec;70 80 G4double theMin; 71 81 -
trunk/source/physics_lists/builders/include/G4FTFCNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFCNeutronBuilder.hh,v 1.3 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFCNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4FTFCNeutronBuilder_h 27 41 #define G4FTFCNeutronBuilder_h 1 … … 35 49 #include "G4VNeutronBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4StringChipsParticleLevelInterface.hh" … … 64 77 G4QuasiElasticChannel * theQuasiElastic; 65 78 66 G4NeutronInelasticCrossSection theXSec;67 79 G4double theMin; 68 80 -
trunk/source/physics_lists/builders/include/G4FTFCPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4FTFCPiKBuilder.hh,v 1.3 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFCPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4FTFCPiKBuilder_h … … 68 82 G4QuasiElasticChannel * theQuasiElastic; 69 83 70 G4PiNuclearCrossSection thePiData;84 G4PiNuclearCrossSection* thePiData; 71 85 G4double theMin; 72 86 -
trunk/source/physics_lists/builders/include/G4FTFCProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFCProtonBuilder.hh,v 1.4 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFCProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4FTFCProtonBuilder_h 27 41 #define G4FTFCProtonBuilder_h … … 35 49 #include "G4VProtonBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4StringChipsParticleLevelInterface.hh" … … 43 56 #include "G4QuasiElasticChannel.hh" 44 57 45 #include "G4ProtonInelasticCrossSection.hh"46 47 58 class G4FTFCProtonBuilder : public G4VProtonBuilder 48 59 { 49 60 public: 50 61 G4FTFCProtonBuilder(G4bool quasiElastic=false); 51 virtual ~G4FTFCProtonBuilder() {};62 virtual ~G4FTFCProtonBuilder(); 52 63 53 64 public: 54 virtual void Build(G4HadronElasticProcess * ) {};65 virtual void Build(G4HadronElasticProcess * ); 55 66 virtual void Build(G4ProtonInelasticProcess * aP); 56 67 … … 58 69 59 70 private: 60 G4ProtonInelasticCrossSection theXSec; 71 61 72 G4TheoFSGenerator * theModel; 73 G4StringChipsParticleLevelInterface * theCascade; 74 G4FTFModel * theStringModel; 75 G4ExcitedStringDecay * theStringDecay; 62 76 G4QuasiElasticChannel * theQuasiElastic; 63 77 -
trunk/source/physics_lists/builders/include/G4FTFPNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFPNeutronBuilder.hh,v 1.4 2009/04/23 18:54:57 japost Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFPNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4FTFPNeutronBuilder_h 27 41 #define G4FTFPNeutronBuilder_h 1 … … 35 49 #include "G4VNeutronBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4ExcitationHandler.hh" … … 58 71 59 72 void SetMinEnergy(G4double aM) {theMin = aM;} 73 void SetMaxEnergy(G4double aM) {theMax = aM;} 60 74 61 75 private: … … 67 81 G4QuasiElasticChannel * theQuasiElastic; 68 82 69 G4NeutronInelasticCrossSection theXSec;70 83 G4double theMin; 71 84 G4double theMax; 72 85 }; 73 86 -
trunk/source/physics_lists/builders/include/G4FTFPPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4FTFPPiKBuilder.hh,v 1.4 2009/04/23 18:54:57 japost Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFPPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4FTFPPiKBuilder_h … … 62 76 63 77 void SetMinEnergy(G4double aM) {theMin = aM;} 78 void SetMaxEnergy(G4double aM) {theMax = aM;} 64 79 65 80 private: … … 71 86 G4QuasiElasticChannel * theQuasiElastic; 72 87 73 G4PiNuclearCrossSection thePiData;88 G4PiNuclearCrossSection* thePiData; 74 89 G4double theMin; 90 G4double theMax; 75 91 76 92 }; -
trunk/source/physics_lists/builders/include/G4FTFPProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFPProtonBuilder.hh,v 1.4 2009/04/23 18:54:57 japost Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFPProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4FTFPProtonBuilder_h 27 41 #define G4FTFPProtonBuilder_h … … 35 49 #include "G4VProtonBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4ExcitationHandler.hh" … … 44 57 #include "G4ExcitedStringDecay.hh" 45 58 #include "G4QuasiElasticChannel.hh" 46 47 #include "G4ProtonInelasticCrossSection.hh"48 59 49 60 class G4FTFPProtonBuilder : public G4VProtonBuilder … … 58 69 59 70 void SetMinEnergy(G4double aM) {theMin = aM;} 71 void SetMaxEnergy(G4double aM) {theMax = aM;} 60 72 61 73 private: … … 67 79 G4QuasiElasticChannel * theQuasiElastic; 68 80 69 G4ProtonInelasticCrossSection theXSec;70 81 G4double theMin; 82 G4double theMax; 71 83 72 84 }; -
trunk/source/physics_lists/builders/include/G4HadronDElasticPhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4HadronDElasticPhysics.hh,v 1.1 2007/11/13 16:19:52 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4HadronElasticPhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4HadronElasticPhysics.hh,v 1.4 2006/11/23 15:46:04 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4HadronHElasticPhysics.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4HadronHElasticPhysics.hh,v 1. 2 2007/11/15 18:08:11vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4HadronHElasticPhysics.hh,v 1.3 2009/10/04 16:03:38 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 66 66 private: 67 67 68 G4HadronicInteraction* model;69 G4HadronicInteraction* neutronModel;70 G4HadronicInteraction* neutronHPModel;71 72 G4String mname;73 74 68 G4int verbose; 75 69 G4bool hpFlag; -
trunk/source/physics_lists/builders/include/G4HadronQElasticPhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4HadronQElasticPhysics.hh,v 1.1 2006/11/17 19:19:40 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4IonBinaryCascadePhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4IonBinaryCascadePhysics.hh,v 1.1 2006/10/31 11:35:01 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4IonPhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4IonPhysics.hh,v 1.1 2006/10/31 11:35:01 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4LEPNeutronBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4LEPPiKBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4LEPProtonBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4LHEPStoppingPhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4LHEPStoppingPhysics.hh,v 1.1 2006/10/31 11:35:01 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4MiscLHEPBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4NeutronBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4NeutronTrackingCut.hh
r988 r1203 25 25 // 26 26 // $Id: G4NeutronTrackingCut.hh,v 1.2 2008/09/17 18:19:15 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4PiKBuilder.hh
r988 r1203 25 25 // 26 26 // $Id: G4PiKBuilder.hh,v 1.1 2006/10/31 11:35:01 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4PrecoNeutronBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4PrecoNeutronBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4PrecoNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4PrecoNeutronBuilder_h … … 55 69 private: 56 70 G4PreCompoundModel * theModel; 57 G4NeutronInelasticCrossSection theXSec;58 71 G4double theMin; 59 72 G4double theMax; -
trunk/source/physics_lists/builders/include/G4PrecoProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PrecoProtonBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4PrecoProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4PrecoProtonBuilder_h 27 41 #define G4PrecoProtonBuilder_h … … 36 50 37 51 #include "G4PreCompoundModel.hh" 38 #include "G4ProtonInelasticCrossSection.hh"39 52 40 53 class G4PrecoProtonBuilder : public G4VProtonBuilder … … 51 64 52 65 private: 53 G4ProtonInelasticCrossSection theXSec; 66 54 67 G4PreCompoundModel * theModel; 55 68 G4double theMin; -
trunk/source/physics_lists/builders/include/G4ProtonBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4QEmExtraPhysics.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QEmExtraPhysics.hh,v 1. 1 2007/05/23 17:38:35 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4QEmExtraPhysics.hh,v 1.2 2009/11/16 19:12:10 mkossov Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 33 33 // Author: 11 April 2006 V. Ivanchenko 34 34 // 35 // Modified: 35 // Modified: 19 Nov 2009 M.Kosov: G4QInelastic instead of G4QCollision 36 36 // 37 37 //---------------------------------------------------------------------------- … … 44 44 #include "G4VPhysicsConstructor.hh" 45 45 46 class G4Q Collision;46 class G4QInelastic; 47 47 48 48 class G4QEmExtraPhysics : public G4VPhysicsConstructor … … 64 64 private: 65 65 66 G4Q Collision* hProcess;66 G4QInelastic* hProcess; 67 67 68 68 G4int verbose; -
trunk/source/physics_lists/builders/include/G4QGSBinaryNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSBinaryNeutronBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSBinaryNeutronBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSBinaryNeutronBuilder_h 27 41 #define G4QGSBinaryNeutronBuilder_h 1 … … 35 49 #include "G4VNeutronBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4ExcitationHandler.hh" … … 68 81 G4QuasiElasticChannel * theQuasiElastic; 69 82 70 G4NeutronInelasticCrossSection theXSec;71 83 G4double theMin; 72 84 -
trunk/source/physics_lists/builders/include/G4QGSBinaryPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4QGSBinaryPiKBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSBinaryPiKBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4QGSBinaryPiKBuilder_h … … 65 79 66 80 private: 67 G4PiNuclearCrossSection thePiData;81 G4PiNuclearCrossSection* thePiData; 68 82 G4TheoFSGenerator * theModel; 69 83 G4PreCompoundModel * thePreEquilib; -
trunk/source/physics_lists/builders/include/G4QGSBinaryProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSBinaryProtonBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSBinaryProtonBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSBinaryProtonBuilder_h 27 41 #define G4QGSBinaryProtonBuilder_h … … 35 49 #include "G4VProtonBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4ExcitationHandler.hh" … … 45 58 #include "G4ExcitedStringDecay.hh" 46 59 #include "G4QuasiElasticChannel.hh" 47 48 #include "G4ProtonInelasticCrossSection.hh"49 60 50 61 class G4QGSBinaryProtonBuilder : public G4VProtonBuilder … … 61 72 62 73 private: 63 G4ProtonInelasticCrossSection theXSec; 74 64 75 G4TheoFSGenerator * theModel; 65 76 G4PreCompoundModel * thePreEquilib; -
trunk/source/physics_lists/builders/include/G4QGSCEflowNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCEflowNeutronBuilder.hh,v 1.3 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCEflowNeutronBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSCEflowNeutronBuilder_h 27 41 #define G4QGSCEflowNeutronBuilder_h 1 … … 35 49 #include "G4VNeutronBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4StringChipsParticleLevelInterface.hh" … … 65 78 G4QuasiElasticChannel * theQuasiElastic; 66 79 67 G4NeutronInelasticCrossSection theXSec;68 80 G4double theMin; 69 81 -
trunk/source/physics_lists/builders/include/G4QGSCEflowPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4QGSCEflowPiKBuilder.hh,v 1.3 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCEflowPiKBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4QGSCEflowPiKBuilder_h … … 63 77 64 78 private: 65 G4PiNuclearCrossSection thePiCross;79 G4PiNuclearCrossSection* thePiCross; 66 80 67 81 G4TheoFSGenerator * theModel; -
trunk/source/physics_lists/builders/include/G4QGSCEflowProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCEflowProtonBuilder.hh,v 1.3 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCEflowProtonBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSCEflowProtonBuilder_h 27 41 #define G4QGSCEflowProtonBuilder_h … … 44 58 #include "G4QuasiElasticChannel.hh" 45 59 46 #include "G4ProtonInelasticCrossSection.hh"47 48 60 class G4QGSCEflowProtonBuilder : public G4VProtonBuilder 49 61 { … … 59 71 60 72 private: 61 G4ProtonInelasticCrossSection theXSec; 73 62 74 G4TheoFSGenerator * theModel; 63 75 G4StringChipsParticleLevelInterface * theCascade; -
trunk/source/physics_lists/builders/include/G4QGSCNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCNeutronBuilder.hh,v 1.4 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSCNeutronBuilder_h 27 41 #define G4QGSCNeutronBuilder_h 1 … … 35 49 #include "G4VNeutronBuilder.hh" 36 50 37 #include "G4NeutronInelasticCrossSection.hh"38 51 #include "G4TheoFSGenerator.hh" 39 52 #include "G4QStringChipsParticleLevelInterface.hh" … … 65 78 G4QuasiElasticChannel * theQuasiElastic; 66 79 67 G4NeutronInelasticCrossSection theXSec;68 80 G4double theMin; 69 70 81 }; 71 82 -
trunk/source/physics_lists/builders/include/G4QGSCPiKBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4QGSCPiKBuilder.hh,v 1.4 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4QGSCPiKBuilder_h … … 63 77 64 78 private: 65 G4PiNuclearCrossSection thePiCross;79 G4PiNuclearCrossSection* thePiCross; 66 80 67 81 G4TheoFSGenerator * theModel; -
trunk/source/physics_lists/builders/include/G4QGSCProtonBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCProtonBuilder.hh,v 1.4 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSCProtonBuilder_h 27 41 #define G4QGSCProtonBuilder_h … … 44 58 #include "G4QuasiElasticChannel.hh" 45 59 46 #include "G4ProtonInelasticCrossSection.hh"47 48 60 class G4QGSCProtonBuilder : public G4VProtonBuilder 49 61 { … … 59 71 60 72 private: 61 G4ProtonInelasticCrossSection theXSec; 73 62 74 G4TheoFSGenerator * theModel; 63 75 G4QStringChipsParticleLevelInterface * theCascade; -
trunk/source/physics_lists/builders/include/G4QGSPNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSPNeutronBuilder.hh,v 1.4 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSPNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSPNeutronBuilder_h 27 41 #define G4QGSPNeutronBuilder_h 1 … … 45 59 #include "G4QuasiElasticChannel.hh" 46 60 #include "G4ProjectileDiffractiveChannel.hh" 47 48 #include "G4NeutronInelasticCrossSection.hh"49 61 50 62 class G4QGSPNeutronBuilder : public G4VNeutronBuilder … … 72 84 G4ProjectileDiffractiveChannel * theProjectileDiffraction; 73 85 74 G4NeutronInelasticCrossSection theXSec;75 86 G4double theMin; 76 87 -
trunk/source/physics_lists/builders/include/G4QGSPPiKBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSPPiKBuilder.hh,v 1.4 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSPPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #ifndef G4QGSPPiKBuilder_h 27 41 #define G4QGSPPiKBuilder_h 1 … … 45 59 #include "G4QuasiElasticChannel.hh" 46 60 #include "G4ProjectileDiffractiveChannel.hh" 47 48 #include "G4PiNuclearCrossSection.hh" 61 #include "G4VCrossSectionDataSet.hh" 49 62 50 63 class G4QGSPPiKBuilder : public G4VPiKBuilder … … 67 80 68 81 private: 69 G4 PiNuclearCrossSectionthePiData;82 G4VCrossSectionDataSet* thePiData; 70 83 G4TheoFSGenerator * theModel; 71 84 G4PreCompoundModel * thePreEquilib; -
trunk/source/physics_lists/builders/include/G4QGSPProtonBuilder.hh
r825 r1203 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // 26 // $Id: G4QGSPProtonBuilder.hh,v 1.5 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSPProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 25 39 // 26 40 #ifndef G4QGSPProtonBuilder_h … … 63 77 64 78 private: 65 G4ProtonInelasticCrossSection theXSec; 79 66 80 G4TheoFSGenerator * theModel; 67 81 G4PreCompoundModel * thePreEquilib; -
trunk/source/physics_lists/builders/include/G4QStoppingPhysics.hh
r988 r1203 25 25 // 26 26 // $Id: G4QStoppingPhysics.hh,v 1.2 2007/04/26 16:03:18 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4StoppingHadronBuilder.hh
r988 r1203 25 25 // 26 26 // $Id: G4StoppingHadronBuilder.hh,v 1.1 2006/10/31 11:35:02 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/include/G4VNeutronBuilder.hh
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VNeutronBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4VNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 21.11.2005 G.Folger: don't keep processes as data members, but new these 37 // 30.03.2009 V.Ivanchenko move constructor and destructor to source 38 // 39 //---------------------------------------------------------------------------- 40 // 26 41 #ifndef G4VNeutronBuilder_h 27 42 #define G4VNeutronBuilder_h … … 34 49 class G4VNeutronBuilder 35 50 { 36 37 G4VNeutronBuilder() {}38 virtual ~G4VNeutronBuilder() {}39 40 41 42 51 public: 52 G4VNeutronBuilder(); 53 virtual ~G4VNeutronBuilder(); 54 virtual void Build(G4HadronElasticProcess * aP) = 0; 55 virtual void Build(G4HadronFissionProcess * aP) = 0; 56 virtual void Build(G4HadronCaptureProcess * aP) = 0; 57 virtual void Build(G4NeutronInelasticProcess * aP) = 0; 43 58 }; 44 59 // 2002 by J.P. Wellisch -
trunk/source/physics_lists/builders/include/G4VPiKBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VPiKBuilder.hh,v 1. 1 2006/10/31 11:35:02 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4VPiKBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 35 35 // Modified: 36 36 // 16.11.2005 G.Folger: don't keep processes as data members, but new these 37 // 30.03.2009 V.Ivanchenko move constructor and destructor to source 37 38 // 38 39 //---------------------------------------------------------------------------- … … 51 52 class G4VPiKBuilder 52 53 { 53 54 G4VPiKBuilder() {}55 virtual ~G4VPiKBuilder() {}56 57 58 59 60 61 62 54 public: 55 G4VPiKBuilder(); 56 virtual ~G4VPiKBuilder(); 57 virtual void Build(G4HadronElasticProcess * aP) = 0; 58 virtual void Build(G4PionPlusInelasticProcess * aP) = 0; 59 virtual void Build(G4PionMinusInelasticProcess * aP) = 0; 60 virtual void Build(G4KaonPlusInelasticProcess * aP) = 0; 61 virtual void Build(G4KaonMinusInelasticProcess * aP) = 0; 62 virtual void Build(G4KaonZeroLInelasticProcess * aP) = 0; 63 virtual void Build(G4KaonZeroSInelasticProcess * aP) = 0; 63 64 }; 64 65 // 2002 by J.P. Wellisch -
trunk/source/physics_lists/builders/include/G4VProtonBuilder.hh
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VProtonBuilder.hh,v 1. 1 2006/10/31 11:35:02 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4VProtonBuilder.hh,v 1.2 2009/03/31 11:04:01 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 35 35 // Modified: 36 36 // 21.11.2005 G.Folger: don't keep processes as data members, but new these 37 // 30.03.2009 V.Ivanchenko move constructor and destructor to source 37 38 // 38 39 //---------------------------------------------------------------------------- … … 46 47 class G4VProtonBuilder 47 48 { 48 49 G4VProtonBuilder() {}50 virtual ~G4VProtonBuilder() {}51 52 49 public: 50 G4VProtonBuilder(); 51 virtual ~G4VProtonBuilder(); 52 virtual void Build(G4HadronElasticProcess * aP) = 0; 53 virtual void Build(G4ProtonInelasticProcess * aP) = 0; 53 54 }; 54 55 // 2002 by J.P. Wellisch -
trunk/source/physics_lists/builders/include/G4WarnPLStatus.hh
r825 r1203 27 27 #define G4WarnPLStatus_hh 28 28 29 #include " G4String.hh"29 #include "globals.hh" 30 30 31 31 class G4WarnPLStatus … … 33 33 public: 34 34 G4WarnPLStatus(); 35 ~G4WarnPLStatus(); 36 37 void Replaced(const G4String aPL, const G4String Replacement) const ; 35 38 void Unsupported(const G4String aPL, const G4String Replacement ="") const ; 36 39 void Experimental(const G4String aPL) const ; 37 40 }; 38 41 39 inline40 G4WarnPLStatus::G4WarnPLStatus()41 {}42 43 inline44 void G4WarnPLStatus::Unsupported(const G4String aPL, const G4String Replacement) const45 {46 G4cout <<47 "*=====================================================================" <<G4endl <<48 "* " <<G4endl <<49 "* The Physics list "<<aPL<<" is NO LONGER SUPPORTED ! " <<G4endl <<50 "* and is likely to be deleted in a future release of Geant4 " <<G4endl <<51 "* " <<G4endl;52 if (Replacement.size() > 0)53 {54 G4cout <<55 "* We recommend you try the physics lists "<<Replacement<< "," <<G4endl <<56 "* this offers similar functionality for most use cases " <<G4endl <<57 "* " <<G4endl;58 59 }60 G4cout <<61 "* " <<G4endl <<62 "* We invite you to report your use case for, and your experience with" <<G4endl <<63 "* this physics list on the Geant4 User Forum dedicated to physics " <<G4endl <<64 "* lists: " <<G4endl <<65 "* http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/phys-list.html"<<G4endl <<66 "* " <<G4endl <<67 "*=====================================================================*" <<G4endl<<68 G4endl;69 }70 void G4WarnPLStatus::Experimental(const G4String aPL) const71 {72 G4cout <<73 "*=====================================================================" <<G4endl <<74 "* " <<G4endl <<75 "* The Physics list "<<aPL<<" is an experimental physics list ! " <<G4endl <<76 "* " <<G4endl <<77 "* Please report your use case for, and your experience with this " <<G4endl <<78 "* physics list on the Geant4 User Forum dedicated to physics lists: " <<G4endl <<79 "* http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/phys-list.html"<<G4endl <<80 "* " <<G4endl <<81 "*=====================================================================*" <<G4endl<<82 G4endl;83 }84 85 42 #endif -
trunk/source/physics_lists/builders/src/G4BertiniNeutronBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BertiniNeutronBuilder.cc,v 1.4 2009/04/02 08:11:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BertiniNeutronBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4BertiniNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 43 57 theModel->SetMaxEnergy(theMax); 44 58 aP->RegisterMe(theModel); 45 aP->AddDataSet(&theXSec);46 59 } 47 60 … … 49 62 ~G4BertiniNeutronBuilder() 50 63 { 51 delete theModel;52 64 } 53 65 -
trunk/source/physics_lists/builders/src/G4BertiniPiKBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 #include "G4BertiniPiKBuilder.hh" 27 #include "G4ParticleDefinition.hh" 28 #include "G4ParticleTable.hh" 29 #include "G4ProcessManager.hh" 26 // $Id: G4BertiniPiKBuilder.cc,v 1.3 2009/04/02 08:11:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BertiniPiKBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible 37 // 38 //---------------------------------------------------------------------------- 39 // 40 #include "G4BertiniPiKBuilder.hh" 41 #include "G4ParticleDefinition.hh" 42 #include "G4ParticleTable.hh" 43 #include "G4ProcessManager.hh" 30 44 31 32 45 G4BertiniPiKBuilder:: 46 G4BertiniPiKBuilder() 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 34 49 theMin = 0*GeV; 35 50 theMax = 9.9*GeV; … … 39 54 } 40 55 41 G4BertiniPiKBuilder:: 42 ~G4BertiniPiKBuilder() 56 G4BertiniPiKBuilder::~G4BertiniPiKBuilder() 43 57 { 44 delete theModel;45 58 } 46 59 47 48 60 void G4BertiniPiKBuilder:: 61 Build(G4PionPlusInelasticProcess * aP) 49 62 { 50 63 aP->RegisterMe(theModel); … … 53 66 } 54 67 55 void G4BertiniPiKBuilder:: 56 Build(G4PionMinusInelasticProcess * aP) 57 { 58 aP->RegisterMe(theModel); 59 aP->AddDataSet(&thePiData); 60 theModel->SetMinEnergy(theMin); 61 theModel->SetMaxEnergy(theMax); 62 } 63 64 void G4BertiniPiKBuilder:: 65 Build(G4HadronElasticProcess * ) {} 66 67 void G4BertiniPiKBuilder:: 68 Build(G4KaonPlusInelasticProcess * aP) 68 void G4BertiniPiKBuilder:: 69 Build(G4PionMinusInelasticProcess * aP) 69 70 { 70 71 aP->RegisterMe(theModel); … … 73 74 } 74 75 75 void G4BertiniPiKBuilder:: 76 Build(G4KaonMinusInelasticProcess * aP) 76 void G4BertiniPiKBuilder:: 77 Build(G4HadronElasticProcess * ) {} 78 79 void G4BertiniPiKBuilder:: 80 Build(G4KaonPlusInelasticProcess * aP) 77 81 { 78 82 aP->RegisterMe(theModel); … … 81 85 } 82 86 83 84 Build(G4KaonZeroLInelasticProcess * aP)87 void G4BertiniPiKBuilder:: 88 Build(G4KaonMinusInelasticProcess * aP) 85 89 { 86 90 aP->RegisterMe(theModel); … … 89 93 } 90 94 91 void G4BertiniPiKBuilder:: 92 Build(G4KaonZeroSInelasticProcess * aP) 95 void G4BertiniPiKBuilder:: 96 Build(G4KaonZeroLInelasticProcess * aP) 97 { 98 aP->RegisterMe(theModel); 99 theModel->SetMinEnergy(theMin); 100 theModel->SetMaxEnergy(theMax); 101 } 102 103 void G4BertiniPiKBuilder:: 104 Build(G4KaonZeroSInelasticProcess * aP) 93 105 { 94 106 aP->RegisterMe(theModel); -
trunk/source/physics_lists/builders/src/G4BertiniProtonBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BertiniProtonBuilder.cc,v 1.3 2009/04/02 08:11:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BertiniProtonBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4BertiniProtonBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 40 54 ~G4BertiniProtonBuilder() 41 55 { 42 delete theModel;43 56 } 44 57 … … 54 67 theModel->SetMaxEnergy(theMax); 55 68 aP->RegisterMe(theModel); 56 aP->AddDataSet(&theXSec);57 69 } 58 70 -
trunk/source/physics_lists/builders/src/G4BinaryNeutronBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 #include "G4BinaryNeutronBuilder.hh" 27 #include "G4ParticleDefinition.hh" 28 #include "G4ParticleTable.hh" 29 #include "G4ProcessManager.hh" 26 // $Id: G4BinaryNeutronBuilder.cc,v 1.3 2009/04/02 08:11:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BinaryNeutronBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible 37 // 38 //---------------------------------------------------------------------------- 39 // 40 #include "G4BinaryNeutronBuilder.hh" 41 #include "G4ParticleDefinition.hh" 42 #include "G4ParticleTable.hh" 43 #include "G4ProcessManager.hh" 30 44 31 32 45 G4BinaryNeutronBuilder:: 46 G4BinaryNeutronBuilder() 33 47 { 34 48 theMin = 0; … … 43 57 theModel->SetMaxEnergy(theMax); 44 58 aP->RegisterMe(theModel); 45 aP->AddDataSet(&theXSec);46 59 } 47 60 48 G4BinaryNeutronBuilder:: 49 ~G4BinaryNeutronBuilder() 61 G4BinaryNeutronBuilder::~G4BinaryNeutronBuilder() 50 62 { 51 delete theModel;52 63 } 53 64 54 55 65 void G4BinaryNeutronBuilder:: 66 Build(G4HadronElasticProcess * ) 56 67 { 57 68 } 58 69 59 60 70 void G4BinaryNeutronBuilder:: 71 Build(G4HadronFissionProcess * ) 61 72 { 62 73 } 63 74 64 65 75 void G4BinaryNeutronBuilder:: 76 Build(G4HadronCaptureProcess * ) 66 77 { 67 78 } -
trunk/source/physics_lists/builders/src/G4BinaryPiKBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BinaryPiKBuilder.cc,v 1.3 2009/04/02 08:11:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BinaryPiKBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4BinaryPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 32 46 G4BinaryPiKBuilder() 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 34 49 theMin = 0*GeV; 35 50 theMax = 1.3*GeV; … … 42 57 ~G4BinaryPiKBuilder() 43 58 { 44 delete theModel;45 59 } 46 60 … … 54 68 theModel->SetMaxEnergy(theMax); 55 69 aP->RegisterMe(theModel); 56 aP->AddDataSet(&thePiData);57 70 } 58 71 … … 63 76 theModel->SetMaxEnergy(theMax); 64 77 aP->RegisterMe(theModel); 65 aP->AddDataSet(&thePiData);66 78 } 67 79 -
trunk/source/physics_lists/builders/src/G4BinaryProtonBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BinaryProtonBuilder.cc,v 1.3 2009/04/02 08:11:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BinaryProtonBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4BinaryProtonBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 40 54 Build(G4ProtonInelasticProcess * aP) 41 55 { 42 aP->AddDataSet(&theXSec);43 56 theModel->SetMinEnergy(theMin); 44 57 theModel->SetMaxEnergy(theMax); … … 47 60 48 61 G4BinaryProtonBuilder:: 49 ~G4BinaryProtonBuilder() {} 62 ~G4BinaryProtonBuilder() 63 { 64 } 50 65 51 66 void G4BinaryProtonBuilder:: -
trunk/source/physics_lists/builders/src/G4ChargeExchangePhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4ChargeExchangePhysics.cc,v 1.1 2008/11/20 12:38:11 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4DecayPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4DecayPhysics.cc,v 1.1 2006/10/31 11:35:02 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4ElectroNuclearBuilder.cc
r988 r1203 25 25 // 26 26 // $Id: G4ElectroNuclearBuilder.cc,v 1.1 2006/10/31 11:35:02 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4EmExtraPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4EmExtraPhysics.cc,v 1.3 2008/01/08 10:36:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4EmMessenger.cc
r988 r1203 25 25 // 26 26 // $Id: G4EmMessenger.cc,v 1.1 2006/10/31 11:35:02 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4EmStandardPhysics.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4EmStandardPhysics.cc,v 1. 16 2008/11/21 16:50:30vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4EmStandardPhysics.cc,v 1.20 2009/10/30 18:36:15 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 54 54 #include "G4PhotoElectricEffect.hh" 55 55 56 #include "G4MultipleScattering.hh" 56 #include "G4eMultipleScattering.hh" 57 #include "G4MuMultipleScattering.hh" 57 58 #include "G4hMultipleScattering.hh" 58 #include "G4eMultipleScattering.hh"59 59 60 60 #include "G4eIonisation.hh" … … 155 155 } else if (particleName == "e-") { 156 156 157 pmanager->AddProcess(new G4eMultipleScattering ,-1, 1, 1);158 pmanager->AddProcess(new G4eIonisation, -1, 2, 2);159 pmanager->AddProcess(new G4eBremsstrahlung(), -1,-3, 3);157 pmanager->AddProcess(new G4eMultipleScattering(), -1, 1, 1); 158 pmanager->AddProcess(new G4eIonisation, -1, 2, 2); 159 pmanager->AddProcess(new G4eBremsstrahlung(), -1,-3, 3); 160 160 161 161 } else if (particleName == "e+") { 162 162 163 pmanager->AddProcess(new G4eMultipleScattering ,-1, 1, 1);164 pmanager->AddProcess(new G4eIonisation, -1, 2, 2);165 pmanager->AddProcess(new G4eBremsstrahlung, -1,-3, 3);166 pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 4);163 pmanager->AddProcess(new G4eMultipleScattering(), -1, 1, 1); 164 pmanager->AddProcess(new G4eIonisation, -1, 2, 2); 165 pmanager->AddProcess(new G4eBremsstrahlung, -1,-3, 3); 166 pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 4); 167 167 168 168 } else if (particleName == "mu+" || 169 169 particleName == "mu-" ) { 170 170 171 pmanager->AddProcess(new G4 hMultipleScattering,-1, 1, 1);172 pmanager->AddProcess(new G4MuIonisation, -1, 2, 2);173 pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3);174 pmanager->AddProcess(new G4MuPairProduction, -1,-4, 4);171 pmanager->AddProcess(new G4MuMultipleScattering,-1, 1, 1); 172 pmanager->AddProcess(new G4MuIonisation, -1, 2, 2); 173 pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3); 174 pmanager->AddProcess(new G4MuPairProduction, -1,-4, 4); 175 175 176 176 } else if (particleName == "alpha" || 177 particleName == "He3" || 178 particleName == "GenericIon") { 177 particleName == "He3") { 178 179 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); 180 pmanager->AddProcess(new G4ionIonisation, -1, 2, 2); 181 182 } else if (particleName == "GenericIon") { 179 183 180 184 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); … … 183 187 } else if (particleName == "pi+" || 184 188 particleName == "pi-" || 189 particleName == "kaon+" || 190 particleName == "kaon-" || 185 191 particleName == "proton" ) { 186 192 … … 206 212 particleName == "anti_xi-" || 207 213 particleName == "deuteron" || 208 particleName == "kaon+" ||209 particleName == "kaon-" ||210 214 particleName == "lambda_c+" || 211 215 particleName == "omega-" || -
trunk/source/physics_lists/builders/src/G4EmStandardPhysics_option1.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4EmStandardPhysics_option1.cc,v 1.1 1 2008/11/21 16:50:30vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4EmStandardPhysics_option1.cc,v 1.15 2009/10/30 18:36:15 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 57 57 58 58 #include "G4eMultipleScattering.hh" 59 #include "G4MuMultipleScattering.hh" 59 60 #include "G4hMultipleScattering.hh" 60 #include "G4MultipleScattering.hh"61 61 #include "G4MscStepLimitType.hh" 62 62 … … 181 181 particleName == "mu-" ) { 182 182 183 pmanager->AddProcess(new G4 hMultipleScattering,-1, 1, 1);183 pmanager->AddProcess(new G4MuMultipleScattering,-1, 1, 1); 184 184 pmanager->AddProcess(new G4MuIonisation, -1, 2, 2); 185 185 pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3); … … 187 187 188 188 } else if (particleName == "alpha" || 189 particleName == "He3" || 190 particleName == "GenericIon") { 189 particleName == "He3") { 190 191 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); 192 pmanager->AddProcess(new G4ionIonisation, -1, 2, 2); 193 194 } else if (particleName == "GenericIon") { 191 195 192 196 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); … … 195 199 } else if (particleName == "pi+" || 196 200 particleName == "pi-" || 201 particleName == "kaon+" || 202 particleName == "kaon-" || 197 203 particleName == "proton" ) { 198 204 … … 218 224 particleName == "anti_xi-" || 219 225 particleName == "deuteron" || 220 particleName == "kaon+" ||221 particleName == "kaon-" ||222 226 particleName == "lambda_c+" || 223 227 particleName == "omega-" || … … 238 242 G4EmProcessOptions opt; 239 243 opt.SetVerbose(verbose); 240 //opt.SetApplyCuts(true);244 opt.SetApplyCuts(true); 241 245 } 242 246 -
trunk/source/physics_lists/builders/src/G4EmStandardPhysics_option2.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4EmStandardPhysics_option2.cc,v 1. 15 2008/11/21 17:59:23vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4EmStandardPhysics_option2.cc,v 1.20 2009/11/24 12:53:22 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 62 62 #include "G4MuMultipleScattering.hh" 63 63 #include "G4CoulombScattering.hh" 64 #include "G4UrbanMscModel93.hh" 65 #include "G4WentzelVIModel.hh" 66 //#include "G4GoudsmitSaundersonMscModel.hh" 64 67 65 68 #include "G4eIonisation.hh" … … 75 78 #include "G4hIonisation.hh" 76 79 #include "G4ionIonisation.hh" 80 //#include "G4IonParametrisedLossModel.hh" 77 81 78 82 #include "G4Gamma.hh" … … 161 165 } else if (particleName == "e-") { 162 166 163 pmanager->AddProcess(new G4eMultipleScattering, -1, 1, 1); 167 G4eMultipleScattering* msc = new G4eMultipleScattering(); 168 msc->AddEmModel(0, new G4UrbanMscModel93()); 169 // msc->AddEmModel(0, new G4GoudsmitSaundersonMscModel()); 170 pmanager->AddProcess(msc, -1, 1, 1); 164 171 pmanager->AddProcess(new G4eIonisation, -1, 2, 2); 165 172 pmanager->AddProcess(new G4eBremsstrahlung, -1,-3, 3); … … 167 174 } else if (particleName == "e+") { 168 175 169 pmanager->AddProcess(new G4eMultipleScattering, -1, 1, 1); 176 G4eMultipleScattering* msc = new G4eMultipleScattering(); 177 msc->AddEmModel(0, new G4UrbanMscModel93()); 178 // msc->AddEmModel(0, new G4GoudsmitSaundersonMscModel()); 179 pmanager->AddProcess(msc, -1, 1, 1); 170 180 pmanager->AddProcess(new G4eIonisation, -1, 2, 2); 171 181 pmanager->AddProcess(new G4eBremsstrahlung, -1,-3, 3); … … 175 185 particleName == "mu-" ) { 176 186 177 pmanager->AddProcess(new G4MuMultipleScattering,-1, 1, 1); 178 pmanager->AddProcess(new G4MuIonisation, -1, 2, 2); 179 pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3); 180 pmanager->AddProcess(new G4MuPairProduction, -1,-4, 4); 187 G4MuMultipleScattering* msc = new G4MuMultipleScattering(); 188 msc->AddEmModel(0, new G4WentzelVIModel()); 189 pmanager->AddProcess(msc, -1, 1, 1); 190 pmanager->AddProcess(new G4MuIonisation, -1, 2, 2); 191 pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3); 192 pmanager->AddProcess(new G4MuPairProduction, -1,-4, 4); 181 193 pmanager->AddDiscreteProcess(new G4CoulombScattering()); 182 194 195 } else if (particleName == "GenericIon") { 196 197 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); 198 199 G4ionIonisation* ionIoni = new G4ionIonisation(); 200 //ionIoni->SetEmModel(new G4IonParametrisedLossModel()); 201 //ionIoni->SetStepFunction(0.1, 20*um); 202 pmanager->AddProcess(ionIoni, -1, 2, 2); 203 183 204 } else if (particleName == "alpha" || 184 particleName == "He3" || 185 particleName == "GenericIon") { 205 particleName == "He3") { 186 206 187 207 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); … … 190 210 } else if (particleName == "pi+" || 191 211 particleName == "pi-" || 212 particleName == "kaon+" || 213 particleName == "kaon-" || 192 214 particleName == "proton" ) { 193 215 194 pmanager->AddProcess(new G4 MuMultipleScattering,-1, 1, 1);216 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); 195 217 pmanager->AddProcess(new G4hIonisation, -1, 2, 2); 196 218 pmanager->AddProcess(new G4hBremsstrahlung, -1,-3, 3); … … 213 235 particleName == "anti_xi-" || 214 236 particleName == "deuteron" || 215 particleName == "kaon+" ||216 particleName == "kaon-" ||217 237 particleName == "lambda_c+" || 218 238 particleName == "omega-" || … … 240 260 // Physics tables 241 261 // 242 //opt.SetMinEnergy( 100*eV);243 // opt.SetMaxEnergy(100*TeV);244 //opt.SetDEDXBinning( 84);245 //opt.SetLambdaBinning( 84);262 //opt.SetMinEnergy(0.1*keV); 263 // opt.SetMaxEnergy(10*TeV); 264 //opt.SetDEDXBinning(77); 265 //opt.SetLambdaBinning(77); 246 266 //opt.SetSplineFlag(true); 247 267 opt.SetPolarAngleLimit(0.2); 248 249 // Energy loss 250 // 251 //opt.SetLinearLossLimit(0.01); 252 268 253 269 // Ionization 254 270 // -
trunk/source/physics_lists/builders/src/G4EmStandardPhysics_option3.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4EmStandardPhysics_option3.cc,v 1.1 4 2008/11/21 16:50:30vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4EmStandardPhysics_option3.cc,v 1.18 2009/11/24 12:53:22 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 50 50 #include "G4GammaConversion.hh" 51 51 #include "G4PhotoElectricEffect.hh" 52 #include "G4 LowEnergyRayleigh.hh"52 #include "G4RayleighScattering.hh" 53 53 54 54 #include "G4eMultipleScattering.hh" 55 #include "G4MuMultipleScattering.hh" 55 56 #include "G4hMultipleScattering.hh" 56 57 #include "G4MscStepLimitType.hh" 58 #include "G4UrbanMscModel93.hh" 59 #include "G4WentzelVIModel.hh" 60 #include "G4CoulombScattering.hh" 57 61 58 62 #include "G4eIonisation.hh" … … 68 72 #include "G4hIonisation.hh" 69 73 #include "G4ionIonisation.hh" 74 #include "G4IonParametrisedLossModel.hh" 75 #include "G4NuclearStopping.hh" 70 76 71 77 #include "G4Gamma.hh" … … 148 154 if (particleName == "gamma") { 149 155 150 pmanager->AddDiscreteProcess(new G4LowEnergyRayleigh);151 156 pmanager->AddDiscreteProcess(new G4PhotoElectricEffect); 152 157 pmanager->AddDiscreteProcess(new G4ComptonScattering); 153 158 pmanager->AddDiscreteProcess(new G4GammaConversion); 159 pmanager->AddDiscreteProcess(new G4RayleighScattering); 154 160 155 161 } else if (particleName == "e-") { 156 162 157 163 G4eMultipleScattering* msc = new G4eMultipleScattering(); 164 msc->AddEmModel(0, new G4UrbanMscModel93()); 158 165 msc->SetStepLimitType(fUseDistanceToBoundary); 159 166 pmanager->AddProcess(msc, -1, 1, 1); … … 166 173 167 174 G4eMultipleScattering* msc = new G4eMultipleScattering(); 175 msc->AddEmModel(0, new G4UrbanMscModel93()); 168 176 msc->SetStepLimitType(fUseDistanceToBoundary); 169 177 pmanager->AddProcess(msc, -1, 1, 1); … … 177 185 particleName == "mu-" ) { 178 186 179 pmanager->AddProcess(new G4eMultipleScattering, -1, 1, 1); 187 G4MuMultipleScattering* msc = new G4MuMultipleScattering(); 188 msc->AddEmModel(0, new G4WentzelVIModel()); 189 pmanager->AddProcess(msc, -1, 1, 1); 180 190 G4MuIonisation* muIoni = new G4MuIonisation(); 181 191 muIoni->SetStepFunction(0.2, 50*um); … … 183 193 pmanager->AddProcess(new G4MuBremsstrahlung, -1,-3, 3); 184 194 pmanager->AddProcess(new G4MuPairProduction, -1,-4, 4); 195 pmanager->AddDiscreteProcess(new G4CoulombScattering()); 185 196 186 197 } else if (particleName == "alpha" || 187 particleName == "He3" || 188 particleName == "GenericIon") { 198 particleName == "He3") { 189 199 190 200 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); … … 192 202 ionIoni->SetStepFunction(0.1, 20*um); 193 203 pmanager->AddProcess(ionIoni, -1, 2, 2); 204 pmanager->AddProcess(new G4NuclearStopping(), -1, 3,-1); 205 206 } else if (particleName == "GenericIon") { 207 208 pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1); 209 G4ionIonisation* ionIoni = new G4ionIonisation(); 210 ionIoni->SetEmModel(new G4IonParametrisedLossModel()); 211 ionIoni->SetStepFunction(0.1, 10*um); 212 pmanager->AddProcess(ionIoni, -1, 2, 2); 213 pmanager->AddProcess(new G4NuclearStopping(), -1, 3,-1); 194 214 195 215 } else if (particleName == "pi+" || 196 216 particleName == "pi-" || 217 particleName == "kaon+" || 218 particleName == "kaon-" || 197 219 particleName == "proton" ) { 198 220 … … 220 242 particleName == "anti_xi-" || 221 243 particleName == "deuteron" || 222 particleName == "kaon+" ||223 particleName == "kaon-" ||224 244 particleName == "lambda_c+" || 225 245 particleName == "omega-" || … … 256 276 opt.SetLambdaBinning(220); 257 277 //opt.SetSplineFlag(true); 278 opt.SetPolarAngleLimit(0.2); 258 279 259 280 // Ionization -
trunk/source/physics_lists/builders/src/G4FTFBinaryNeutronBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFBinaryNeutronBuilder.cc,v 1.4 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFBinaryNeutronBuilder 32 // 33 // Author: 2008 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFBinaryNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4FTFBinaryNeutronBuilder:: … … 80 95 Build(G4NeutronInelasticProcess * aP) 81 96 { 97 theModel->SetMinEnergy(theMin); 82 98 aP->RegisterMe(theModel); 83 aP->AddDataSet( &theXSec);99 aP->AddDataSet(new G4NeutronInelasticCrossSection); 84 100 } -
trunk/source/physics_lists/builders/src/G4FTFBinaryPiKBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 #include "G4FTFBinaryPiKBuilder.hh" 27 #include "G4ParticleDefinition.hh" 28 #include "G4ParticleTable.hh" 29 #include "G4ProcessManager.hh" 26 // $Id: G4FTFBinaryPiKBuilder.cc,v 1.3 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFBinaryPiKBuilder 32 // 33 // Author: 2008 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 40 #include "G4FTFBinaryPiKBuilder.hh" 41 #include "G4ParticleDefinition.hh" 42 #include "G4ParticleTable.hh" 43 #include "G4ProcessManager.hh" 30 44 31 32 45 G4FTFBinaryPiKBuilder:: 46 G4FTFBinaryPiKBuilder(G4bool quasiElastic) 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 34 49 theMin = 4*GeV; 35 50 theModel = new G4TheoFSGenerator("FTFB"); … … 56 71 } 57 72 58 G4FTFBinaryPiKBuilder:: 59 ~G4FTFBinaryPiKBuilder() 73 G4FTFBinaryPiKBuilder:: ~G4FTFBinaryPiKBuilder() 60 74 { 61 75 delete theCascade; … … 66 80 } 67 81 68 69 82 void G4FTFBinaryPiKBuilder:: 83 Build(G4HadronElasticProcess * ) {} 70 84 71 72 85 void G4FTFBinaryPiKBuilder:: 86 Build(G4PionPlusInelasticProcess * aP) 73 87 { 74 aP->AddDataSet(&thePiData); 88 theModel->SetMinEnergy(theMin); 89 aP->AddDataSet(thePiData); 75 90 aP->RegisterMe(theModel); 76 91 } 77 92 78 79 93 void G4FTFBinaryPiKBuilder:: 94 Build(G4PionMinusInelasticProcess * aP) 80 95 { 81 96 theModel->SetMinEnergy(theMin); 82 theModel->SetMaxEnergy(100*TeV); 83 aP->AddDataSet(&thePiData); 97 aP->AddDataSet(thePiData); 84 98 aP->RegisterMe(theModel); 85 99 } … … 89 103 { 90 104 theModel->SetMinEnergy(theMin); 91 theModel->SetMaxEnergy(100*TeV);92 105 aP->RegisterMe(theModel); 93 106 } … … 97 110 { 98 111 theModel->SetMinEnergy(theMin); 99 theModel->SetMaxEnergy(100*TeV);100 112 aP->RegisterMe(theModel); 101 113 } … … 105 117 { 106 118 theModel->SetMinEnergy(theMin); 107 theModel->SetMaxEnergy(100*TeV);108 119 aP->RegisterMe(theModel); 109 120 } … … 113 124 { 114 125 theModel->SetMinEnergy(theMin); 115 theModel->SetMaxEnergy(100*TeV);116 126 aP->RegisterMe(theModel); 117 127 } -
trunk/source/physics_lists/builders/src/G4FTFBinaryProtonBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFBinaryProtonBuilder.cc,v 1.3 2009/03/31 18:38:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFBinaryProtonBuilder 32 // 33 // Author: 2008 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFBinaryProtonBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4ProtonInelasticCrossSection.hh" 30 45 31 46 G4FTFBinaryProtonBuilder:: … … 61 76 { 62 77 theModel->SetMinEnergy(theMin); 63 theModel->SetMaxEnergy(100*TeV);64 78 aP->RegisterMe(theModel); 65 aP->AddDataSet( &theXSec);79 aP->AddDataSet(new G4ProtonInelasticCrossSection); 66 80 } 67 81 -
trunk/source/physics_lists/builders/src/G4FTFCNeutronBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFCNeutronBuilder.cc,v 1.3 2009/03/31 18:38:34 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFCNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFCNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4FTFCNeutronBuilder:: … … 50 65 51 66 theModel->SetTransport(theCascade); 67 theModel->SetMinEnergy(theMin); 68 theModel->SetMaxEnergy(100*TeV); 52 69 } 53 70 54 G4FTFCNeutronBuilder:: 55 ~G4FTFCNeutronBuilder() 71 G4FTFCNeutronBuilder::~G4FTFCNeutronBuilder() 56 72 { 57 73 delete theCascade; … … 80 96 Build(G4NeutronInelasticProcess * aP) 81 97 { 82 aP->AddDataSet(&theXSec);83 84 98 theModel->SetMinEnergy(theMin); 85 theModel->SetMaxEnergy(100*TeV);99 aP->AddDataSet(new G4NeutronInelasticCrossSection); 86 100 aP->RegisterMe(theModel); 87 101 } -
trunk/source/physics_lists/builders/src/G4FTFCPiKBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFCPiKBuilder.cc,v 1.3 2009/03/31 18:38:34 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFCPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFCPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 32 46 G4FTFCPiKBuilder(G4bool quasiElastic) 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 34 49 theMin = 4*GeV; 35 50 theModel = new G4TheoFSGenerator; … … 49 64 } else 50 65 { theQuasiElastic=0;} 66 67 theModel->SetMinEnergy(theMin); 68 theModel->SetMaxEnergy(100*TeV); 51 69 } 52 70 … … 66 84 Build(G4PionPlusInelasticProcess * aP) 67 85 { 68 aP->AddDataSet( &thePiData);86 aP->AddDataSet(thePiData); 69 87 theModel->SetMinEnergy(theMin); 70 theModel->SetMaxEnergy(100*TeV);71 88 aP->RegisterMe(theModel); 72 89 } … … 75 92 Build(G4PionMinusInelasticProcess * aP) 76 93 { 77 aP->AddDataSet( &thePiData);94 aP->AddDataSet(thePiData); 78 95 theModel->SetMinEnergy(theMin); 79 theModel->SetMaxEnergy(100*TeV);80 96 aP->RegisterMe(theModel); 81 97 } … … 85 101 { 86 102 theModel->SetMinEnergy(theMin); 87 theModel->SetMaxEnergy(100*TeV);88 103 aP->RegisterMe(theModel); 89 104 } … … 93 108 { 94 109 theModel->SetMinEnergy(theMin); 95 theModel->SetMaxEnergy(100*TeV);96 110 aP->RegisterMe(theModel); 97 111 } … … 101 115 { 102 116 theModel->SetMinEnergy(theMin); 103 theModel->SetMaxEnergy(100*TeV);104 117 aP->RegisterMe(theModel); 105 118 } … … 109 122 { 110 123 theModel->SetMinEnergy(theMin); 111 theModel->SetMaxEnergy(100*TeV);112 124 aP->RegisterMe(theModel); 113 125 } -
trunk/source/physics_lists/builders/src/G4FTFCProtonBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFCProtonBuilder.cc,v 1.4 2009/03/31 18:38:34 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFCProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFCProtonBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 30 #include " TheoModelFactory.hh"44 #include "G4ProtonInelasticCrossSection.hh" 31 45 32 46 G4FTFCProtonBuilder:: … … 34 48 { 35 49 theMin = 4*GeV; 36 theModel = TheoModelFactory<G4StringChipsParticleLevelInterface, 37 G4FTFModel, G4LundStringFragmentation>::New(); 50 theModel = new G4TheoFSGenerator; 51 52 theStringModel = new G4FTFModel; 53 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation); 54 theStringModel->SetFragmentationModel(theStringDecay); 55 56 theCascade = new G4StringChipsParticleLevelInterface; 57 58 theModel->SetHighEnergyGenerator(theStringModel); 38 59 39 60 if (quasiElastic) 40 61 { 41 62 theQuasiElastic=new G4QuasiElasticChannel; … … 44 65 { theQuasiElastic=0;} 45 66 67 theModel->SetTransport(theCascade); 68 theModel->SetMinEnergy(theMin); 69 theModel->SetMaxEnergy(100*TeV); 70 } 71 72 G4FTFCProtonBuilder::~G4FTFCProtonBuilder() 73 { 74 delete theCascade; 75 delete theStringDecay; 76 if ( theQuasiElastic ) delete theQuasiElastic; 77 delete theStringModel; 78 delete theModel; 46 79 } 47 80 … … 50 83 { 51 84 theModel->SetMinEnergy(theMin); 52 theModel->SetMaxEnergy(100*TeV);53 85 aP->RegisterMe(theModel); 54 aP->AddDataSet(&theXSec); 86 aP->AddDataSet(new G4ProtonInelasticCrossSection); 87 } 88 89 void G4FTFCProtonBuilder:: 90 Build(G4HadronElasticProcess * ) 91 { 55 92 } 56 93 -
trunk/source/physics_lists/builders/src/G4FTFPNeutronBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFPNeutronBuilder.cc,v 1.5 2009/04/23 18:54:57 japost Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFPNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFPNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4FTFPNeutronBuilder:: 32 47 G4FTFPNeutronBuilder(G4bool quasiElastic) 33 48 { 34 theMin = 4*GeV; 49 theMin = 4*GeV; 50 theMax = 100*TeV; 35 51 theModel = new G4TheoFSGenerator("FTFP"); 36 52 … … 52 68 } else 53 69 { theQuasiElastic=0;} 70 71 theModel->SetMinEnergy(theMin); 72 theModel->SetMaxEnergy(100*TeV); 54 73 } 55 74 … … 83 102 { 84 103 theModel->SetMinEnergy(theMin); 85 theModel->SetMaxEnergy( 100*TeV);104 theModel->SetMaxEnergy(theMax); 86 105 aP->RegisterMe(theModel); 87 aP->AddDataSet( &theXSec);106 aP->AddDataSet(new G4NeutronInelasticCrossSection); 88 107 } 89 108 -
trunk/source/physics_lists/builders/src/G4FTFPPiKBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 #include "G4FTFPPiKBuilder.hh" 27 #include "G4ParticleDefinition.hh" 28 #include "G4ParticleTable.hh" 29 #include "G4ProcessManager.hh" 26 // $Id: G4FTFPPiKBuilder.cc,v 1.5 2009/04/23 18:54:57 japost Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFPPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 40 #include "G4FTFPPiKBuilder.hh" 41 #include "G4ParticleDefinition.hh" 42 #include "G4ParticleTable.hh" 43 #include "G4ProcessManager.hh" 30 44 31 32 45 G4FTFPPiKBuilder:: 46 G4FTFPPiKBuilder(G4bool quasiElastic) 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 34 49 theMin = 4*GeV; 50 theMax = 100*TeV; 35 51 theModel = new G4TheoFSGenerator("FTFP"); 36 52 … … 52 68 53 69 theModel->SetTransport(theCascade); 70 theModel->SetMinEnergy(theMin); 71 theModel->SetMaxEnergy(100*TeV); 54 72 } 55 73 56 G4FTFPPiKBuilder:: 57 ~G4FTFPPiKBuilder() 74 G4FTFPPiKBuilder:: ~G4FTFPPiKBuilder() 58 75 { 59 76 delete theCascade; … … 64 81 } 65 82 66 67 83 void G4FTFPPiKBuilder:: 84 Build(G4HadronElasticProcess * ) {} 68 85 69 70 86 void G4FTFPPiKBuilder:: 87 Build(G4PionPlusInelasticProcess * aP) 71 88 { 72 89 theModel->SetMinEnergy(theMin); 73 theModel->SetMaxEnergy( 100*TeV);74 aP->AddDataSet( &thePiData);90 theModel->SetMaxEnergy(theMax); 91 aP->AddDataSet(thePiData); 75 92 aP->RegisterMe(theModel); 76 93 } 77 94 78 79 95 void G4FTFPPiKBuilder:: 96 Build(G4PionMinusInelasticProcess * aP) 80 97 { 81 98 theModel->SetMinEnergy(theMin); 82 theModel->SetMaxEnergy( 100*TeV);83 aP->AddDataSet( &thePiData);99 theModel->SetMaxEnergy(theMax); 100 aP->AddDataSet(thePiData); 84 101 aP->RegisterMe(theModel); 85 102 } 86 103 87 88 104 void G4FTFPPiKBuilder:: 105 Build(G4KaonPlusInelasticProcess * aP) 89 106 { 90 107 theModel->SetMinEnergy(theMin); 91 theModel->SetMaxEnergy( 100*TeV);108 theModel->SetMaxEnergy(theMax); 92 109 aP->RegisterMe(theModel); 93 110 } 94 111 95 96 112 void G4FTFPPiKBuilder:: 113 Build(G4KaonMinusInelasticProcess * aP) 97 114 { 98 115 theModel->SetMinEnergy(theMin); 99 theModel->SetMaxEnergy( 100*TeV);116 theModel->SetMaxEnergy(theMax); 100 117 aP->RegisterMe(theModel); 101 118 } 102 119 103 104 120 void G4FTFPPiKBuilder:: 121 Build(G4KaonZeroLInelasticProcess * aP) 105 122 { 106 123 theModel->SetMinEnergy(theMin); 107 theModel->SetMaxEnergy( 100*TeV);124 theModel->SetMaxEnergy(theMax); 108 125 aP->RegisterMe(theModel); 109 126 } 110 127 111 112 128 void G4FTFPPiKBuilder:: 129 Build(G4KaonZeroSInelasticProcess * aP) 113 130 { 114 131 theModel->SetMinEnergy(theMin); 115 theModel->SetMaxEnergy( 100*TeV);132 theModel->SetMaxEnergy(theMax); 116 133 aP->RegisterMe(theModel); 117 134 } -
trunk/source/physics_lists/builders/src/G4FTFPProtonBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFPProtonBuilder.cc,v 1.6 2009/04/23 18:54:57 japost Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFPProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFPProtonBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4ProtonInelasticCrossSection.hh" 30 45 31 46 G4FTFPProtonBuilder:: … … 33 48 { 34 49 theMin = 4*GeV; 50 theMax = 100.*TeV; 35 51 theModel = new G4TheoFSGenerator("FTFP"); 36 52 … … 52 68 53 69 theModel->SetTransport(theCascade); 70 theModel->SetMinEnergy(theMin); 71 theModel->SetMaxEnergy(100*TeV); 54 72 } 55 73 … … 58 76 { 59 77 theModel->SetMinEnergy(theMin); 60 theModel->SetMaxEnergy( 100*TeV);78 theModel->SetMaxEnergy(theMax); 61 79 aP->RegisterMe(theModel); 62 aP->AddDataSet( &theXSec);80 aP->AddDataSet(new G4ProtonInelasticCrossSection); 63 81 } 64 82 -
trunk/source/physics_lists/builders/src/G4HadronDElasticPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4HadronDElasticPhysics.cc,v 1.3 2008/05/19 10:21:34 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4HadronElasticPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4HadronElasticPhysics.cc,v 1.9 2008/12/01 16:57:22 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4HadronHElasticPhysics.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4HadronHElasticPhysics.cc,v 1. 5 2008/05/19 10:21:34vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4HadronHElasticPhysics.cc,v 1.6 2009/10/04 16:03:38 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 42 42 #include "G4HadronHElasticPhysics.hh" 43 43 44 #include "G4HadronicProcess.hh"45 #include "G4HadronElasticProcess.hh"46 #include "G4HadronicInteraction.hh"47 #include "G4LElastic.hh"48 49 44 #include "G4ParticleDefinition.hh" 50 45 #include "G4ProcessManager.hh" … … 55 50 #include "G4Neutron.hh" 56 51 57 #include "G4VQCrossSection.hh" 52 #include "G4WHadronElasticProcess.hh" 53 #include "G4VHadronElastic.hh" 54 #include "G4CHIPSElastic.hh" 55 #include "G4ElasticHadrNucleusHE.hh" 56 #include "G4NeutronHPElastic.hh" 58 57 #include "G4UElasticCrossSection.hh" 59 58 #include "G4BGGNucleonElasticXS.hh" … … 61 60 62 61 G4HadronHElasticPhysics::G4HadronHElasticPhysics(G4int ver, G4bool hp) 63 : G4VPhysicsConstructor("HElastic"), mname("HElastic"),verbose(ver),62 : G4VPhysicsConstructor("HElastic"), verbose(ver), 64 63 hpFlag(hp), wasActivated(false) 65 64 { 66 65 if(verbose > 1) G4cout << "### HadronHElasticPhysics" << G4endl; 67 model = 0;68 neutronModel = 0;69 neutronHPModel = 0;70 66 } 71 67 72 68 G4HadronHElasticPhysics::~G4HadronHElasticPhysics() 73 { 74 delete model; 75 delete neutronModel; 76 delete neutronHPModel; 77 } 69 {} 78 70 79 71 void G4HadronHElasticPhysics::ConstructParticle() 80 72 { 81 // G4cout << "G4HadronElasticPhysics::ConstructParticle" << G4endl;73 // G4cout << "G4HadronElasticPhysics::ConstructParticle" << G4endl; 82 74 G4MesonConstructor pMesonConstructor; 83 75 pMesonConstructor.ConstructParticle(); … … 96 88 wasActivated = true; 97 89 98 G4double elimit = 0.4*GeV; 99 //G4double elimit = 0.0; 100 101 if(verbose > 1) 90 G4double elimit = 1.0*GeV; 91 if(verbose > 1) { 102 92 G4cout << "### HadronElasticPhysics Construct Processes with HE limit " 103 93 << elimit << " MeV" << G4endl; 94 } 104 95 105 G4HadronicProcess* hel = 0; 106 G4VQCrossSection* man = 0; 96 G4VHadronElastic* plep0 = new G4VHadronElastic(); 97 G4VHadronElastic* plep1 = new G4VHadronElastic(); 98 plep1->SetMaxEnergy(elimit); 107 99 108 G4HadronElastic* he = new G4HadronElastic(); 109 he->SetHEModelLowLimit(elimit); 110 he->SetQModelLowLimit(0.0); 111 he->SetLowestEnergyLimit(0.0); 112 model = he; 113 man = he->GetCS(); 100 G4CHIPSElastic* chipsp = new G4CHIPSElastic(); 101 G4CHIPSElastic* chipsn = new G4CHIPSElastic(); 102 103 G4ElasticHadrNucleusHE* he = new G4ElasticHadrNucleusHE(); 104 he->SetMinEnergy(elimit); 114 105 115 106 theParticleIterator->reset(); … … 143 134 144 135 G4ProcessManager* pmanager = particle->GetProcessManager(); 145 G4UHadronElasticProcess* h = new G4UHadronElasticProcess("hElastic"); 146 h->SetQElasticCrossSection(man); 147 hel = h; 136 G4WHadronElasticProcess* hel = new G4WHadronElasticProcess(); 148 137 if(pname == "proton") { 149 138 hel->AddDataSet(new G4BGGNucleonElasticXS(particle)); 139 hel->RegisterMe(chipsp); 150 140 } else if (pname == "pi+" || pname == "pi-") { 151 141 hel->AddDataSet(new G4BGGPionElasticXS(particle)); 142 hel->RegisterMe(plep1); 143 hel->RegisterMe(he); 152 144 } else { 153 hel->AddDataSet(new G4UElasticCrossSection(particle)); 145 //hel->AddDataSet(new G4UElasticCrossSection(particle)); 146 hel->RegisterMe(plep0); 154 147 } 155 hel->RegisterMe(model);156 148 pmanager->AddDiscreteProcess(hel); 149 if(verbose > 1) { 150 G4cout << "### HadronHElasticPhysics: " << hel->GetProcessName() 151 << " added for " << particle->GetParticleName() << G4endl; 152 } 157 153 158 154 // neutron case … … 160 156 161 157 G4ProcessManager* pmanager = particle->GetProcessManager(); 162 G4UHadronElasticProcess* h = new G4UHadronElasticProcess("hElastic"); 163 G4HadronElastic* nhe = new G4HadronElastic(); 164 nhe->SetHEModelLowLimit(elimit); 165 neutronModel = nhe; 166 h->SetQElasticCrossSection(nhe->GetCS()); 167 hel = h; 158 G4WHadronElasticProcess* hel = new G4WHadronElasticProcess(); 168 159 hel->AddDataSet(new G4BGGNucleonElasticXS(particle)); 160 hel->RegisterMe(chipsn); 169 161 170 162 if(hpFlag) { 171 neutronModel->SetMinEnergy(19.5*MeV);172 neutronHPModel= new G4NeutronHPElastic();173 hel->RegisterMe( neutronHPModel);163 chipsn->SetMinEnergy(19.5*MeV); 164 G4NeutronHPElastic* hp = new G4NeutronHPElastic(); 165 hel->RegisterMe(hp); 174 166 hel->AddDataSet(new G4NeutronHPElasticData()); 175 167 } 176 177 hel->RegisterMe(neutronModel);178 168 pmanager->AddDiscreteProcess(hel); 179 169 180 if(verbose > 1) 181 G4cout << "### HadronHElasticPhysics added for " 182 << particle->GetParticleName() << G4endl; 170 if(verbose > 1) { 171 G4cout << "### HadronHElasticPhysics: " << hel->GetProcessName() 172 << " added for " << particle->GetParticleName() << G4endl; 173 } 183 174 } 184 175 } -
trunk/source/physics_lists/builders/src/G4HadronQElasticPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4HadronQElasticPhysics.cc,v 1.7 2008/05/19 10:21:34 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4IonBinaryCascadePhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4IonBinaryCascadePhysics.cc,v 1.2 2009/02/16 10:15:35 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4IonPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4IonPhysics.cc,v 1.1 2006/10/31 11:35:02 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4LEPNeutronBuilder.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4LEPPiKBuilder.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4LEPProtonBuilder.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4LHEPStoppingPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4LHEPStoppingPhysics.cc,v 1.1 2006/10/31 11:35:03 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4MiscLHEPBuilder.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4NeutronBuilder.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 27 27 // 28 28 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4NeutronTrackingCut.cc
r988 r1203 25 25 // 26 26 // $Id: G4NeutronTrackingCut.cc,v 1.5 2008/09/17 18:19:15 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4PiKBuilder.cc
r988 r1203 25 25 // 26 26 // $Id: G4PiKBuilder.cc,v 1.1 2006/10/31 11:35:03 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4PrecoNeutronBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PrecoNeutronBuilder.cc,v 1.2 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4PrecoNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4PrecoNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4PrecoNeutronBuilder:: … … 64 79 theModel->SetMaxEnergy(theMax); 65 80 aP->RegisterMe(theModel); 66 aP->AddDataSet( &theXSec);81 aP->AddDataSet(new G4NeutronInelasticCrossSection); 67 82 } 68 83 -
trunk/source/physics_lists/builders/src/G4PrecoProtonBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PrecoProtonBuilder.cc,v 1.2 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4PrecoProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4PrecoProtonBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4ProtonInelasticCrossSection.hh" 30 45 31 46 #include "G4ExcitationHandler.hh" … … 53 68 theModel->SetMaxEnergy(theMax); 54 69 aP->RegisterMe(theModel); 55 aP->AddDataSet( &theXSec);70 aP->AddDataSet(new G4ProtonInelasticCrossSection); 56 71 } 57 72 -
trunk/source/physics_lists/builders/src/G4ProtonBuilder.cc
r988 r1203 25 25 // 26 26 // $Id: G4ProtonBuilder.cc,v 1.1 2006/10/31 11:35:03 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4QEmExtraPhysics.cc
r988 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QEmExtraPhysics.cc,v 1. 1 2007/05/23 17:38:35 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: G4QEmExtraPhysics.cc,v 1.2 2009/11/16 19:12:10 mkossov Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 33 33 // Author: 23 May 2007 V. Ivanchenko 34 34 // 35 // Modified: 35 // Modified: 19 Nov 2009 M.Kosov: G4QInelastic instead of G4QCollision 36 36 // 37 37 //---------------------------------------------------------------------------- … … 39 39 40 40 #include "G4QEmExtraPhysics.hh" 41 #include "G4Q Collision.hh"41 #include "G4QInelastic.hh" 42 42 43 43 #include "G4ParticleDefinition.hh" … … 76 76 wasActivated = true; 77 77 78 hProcess = new G4Q Collision();78 hProcess = new G4QInelastic(); 79 79 80 80 G4ParticleDefinition* particle = G4Gamma::Gamma(); -
trunk/source/physics_lists/builders/src/G4QGSBinaryNeutronBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSBinaryNeutronBuilder.cc,v 1.3 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSBinaryNeutronBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSBinaryNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4QGSBinaryNeutronBuilder:: … … 85 100 theModel->SetMaxEnergy(100*TeV); 86 101 aP->RegisterMe(theModel); 87 aP->AddDataSet( &theXSec);102 aP->AddDataSet(new G4NeutronInelasticCrossSection); 88 103 } 89 104 -
trunk/source/physics_lists/builders/src/G4QGSBinaryPiKBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSBinaryPiKBuilder.cc,v 1.3 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSBinaryPiKBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSBinaryPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 32 46 G4QGSBinaryPiKBuilder(G4bool quasiElastic) 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 49 34 50 theMin = 12*GeV; 35 51 theModel = new G4TheoFSGenerator("QGSB"); … … 73 89 theModel->SetMinEnergy(theMin); 74 90 theModel->SetMaxEnergy(100*TeV); 75 aP->AddDataSet( &thePiData);91 aP->AddDataSet(thePiData); 76 92 aP->RegisterMe(theModel); 77 93 } … … 82 98 theModel->SetMinEnergy(theMin); 83 99 theModel->SetMaxEnergy(100*TeV); 84 aP->AddDataSet( &thePiData);100 aP->AddDataSet(thePiData); 85 101 aP->RegisterMe(theModel); 86 102 } -
trunk/source/physics_lists/builders/src/G4QGSBinaryProtonBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 #include "G4QGSBinaryProtonBuilder.hh" 27 #include "G4ParticleDefinition.hh" 28 #include "G4ParticleTable.hh" 29 #include "G4ProcessManager.hh" 26 // $Id: G4QGSBinaryProtonBuilder.cc,v 1.3 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSBinaryProtonBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 40 #include "G4QGSBinaryProtonBuilder.hh" 41 #include "G4ParticleDefinition.hh" 42 #include "G4ParticleTable.hh" 43 #include "G4ProcessManager.hh" 44 #include "G4ProtonInelasticCrossSection.hh" 30 45 31 32 46 G4QGSBinaryProtonBuilder:: 47 G4QGSBinaryProtonBuilder(G4bool quasiElastic) 33 48 { 34 49 theMin = 12*GeV; … … 53 68 } 54 69 55 56 70 void G4QGSBinaryProtonBuilder:: 71 Build(G4ProtonInelasticProcess * aP) 57 72 { 58 73 // G4cout << "adding inelastic Proton in QGSBinary" << G4endl; 59 aP->AddDataSet( &theXSec);74 aP->AddDataSet(new G4ProtonInelasticCrossSection); 60 75 theModel->SetMinEnergy(theMin); 61 76 theModel->SetMaxEnergy(100*TeV); … … 63 78 } 64 79 65 66 80 void G4QGSBinaryProtonBuilder:: 81 Build(G4HadronElasticProcess * ) 67 82 { 68 83 } 69 84 70 G4QGSBinaryProtonBuilder:: 71 ~G4QGSBinaryProtonBuilder() 85 G4QGSBinaryProtonBuilder::~G4QGSBinaryProtonBuilder() 72 86 { 73 87 delete thePreEquilib; -
trunk/source/physics_lists/builders/src/G4QGSCEflowNeutronBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCEflowNeutronBuilder.cc,v 1.4 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCEflowNeutronBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSCEflowNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4QGSCEflowNeutronBuilder:: … … 67 82 theModel->SetMaxEnergy(100*TeV); 68 83 aP->RegisterMe(theModel); 69 aP->AddDataSet( &theXSec);84 aP->AddDataSet(new G4NeutronInelasticCrossSection); 70 85 } 71 86 -
trunk/source/physics_lists/builders/src/G4QGSCEflowPiKBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCEflowPiKBuilder.cc,v 1.4 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCEflowPiKBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSCEflowPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 32 46 G4QGSCEflowPiKBuilder(G4bool quasiElastic) 33 47 { 48 thePiCross = new G4PiNuclearCrossSection; 34 49 theMin = 8*GeV; 35 50 theModel = new G4TheoFSGenerator("QGSCEflow"); … … 69 84 theModel->SetMinEnergy(theMin); 70 85 theModel->SetMaxEnergy(100*TeV); 71 aP->AddDataSet( &thePiCross);86 aP->AddDataSet(thePiCross); 72 87 aP->RegisterMe(theModel); 73 88 } … … 78 93 theModel->SetMinEnergy(theMin); 79 94 theModel->SetMaxEnergy(100*TeV); 80 aP->AddDataSet( &thePiCross);95 aP->AddDataSet(thePiCross); 81 96 aP->RegisterMe(theModel); 82 97 } -
trunk/source/physics_lists/builders/src/G4QGSCEflowProtonBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCEflowProtonBuilder.cc,v 1.4 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCEflowProtonBuilder 32 // 33 // Author: 2006 G.Folger 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSCEflowProtonBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4ProtonInelasticCrossSection.hh" 30 45 31 46 G4QGSCEflowProtonBuilder:: … … 72 87 theModel->SetMaxEnergy(100*TeV); 73 88 aP->RegisterMe(theModel); 74 aP->AddDataSet( &theXSec);89 aP->AddDataSet(new G4ProtonInelasticCrossSection); 75 90 } 76 91 -
trunk/source/physics_lists/builders/src/G4QGSCNeutronBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 #include "G4QGSCNeutronBuilder.hh" 27 #include "G4ParticleDefinition.hh" 28 #include "G4ParticleTable.hh" 29 #include "G4ProcessManager.hh" 26 // $Id: G4QGSCNeutronBuilder.cc,v 1.5 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 40 #include "G4QGSCNeutronBuilder.hh" 41 #include "G4ParticleDefinition.hh" 42 #include "G4ParticleTable.hh" 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 32 46 G4QGSCNeutronBuilder:: 47 G4QGSCNeutronBuilder(G4bool quasiElastic) 33 48 { 34 49 theMin = 8*GeV; … … 51 66 } 52 67 53 G4QGSCNeutronBuilder:: 54 ~G4QGSCNeutronBuilder() 68 G4QGSCNeutronBuilder::~G4QGSCNeutronBuilder() 55 69 { 56 70 delete theStringDecay; … … 61 75 } 62 76 63 64 77 void G4QGSCNeutronBuilder:: 78 Build(G4NeutronInelasticProcess * aP) 65 79 { 66 80 theModel->SetMinEnergy(theMin); 67 81 theModel->SetMaxEnergy(100*TeV); 68 82 aP->RegisterMe(theModel); 69 aP->AddDataSet( &theXSec);83 aP->AddDataSet(new G4NeutronInelasticCrossSection); 70 84 } 71 85 -
trunk/source/physics_lists/builders/src/G4QGSCPiKBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCPiKBuilder.cc,v 1.5 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSCPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 32 46 G4QGSCPiKBuilder(G4bool quasiElastic) 33 47 { 48 thePiCross = new G4PiNuclearCrossSection; 34 49 theMin = 8*GeV; 35 50 theModel = new G4TheoFSGenerator("QGSC"); … … 69 84 theModel->SetMinEnergy(theMin); 70 85 theModel->SetMaxEnergy(100*TeV); 71 aP->AddDataSet( &thePiCross);86 aP->AddDataSet(thePiCross); 72 87 aP->RegisterMe(theModel); 73 88 } … … 78 93 theModel->SetMinEnergy(theMin); 79 94 theModel->SetMaxEnergy(100*TeV); 80 aP->AddDataSet( &thePiCross);95 aP->AddDataSet(thePiCross); 81 96 aP->RegisterMe(theModel); 82 97 } -
trunk/source/physics_lists/builders/src/G4QGSCProtonBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSCProtonBuilder.cc,v 1.5 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSCProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //----------------------------------------------------------------------------// 26 39 #include "G4QGSCProtonBuilder.hh" 27 40 #include "G4ParticleDefinition.hh" 28 41 #include "G4ParticleTable.hh" 29 42 #include "G4ProcessManager.hh" 43 #include "G4ProtonInelasticCrossSection.hh" 30 44 31 45 G4QGSCProtonBuilder:: … … 72 86 theModel->SetMaxEnergy(100*TeV); 73 87 aP->RegisterMe(theModel); 74 aP->AddDataSet( &theXSec);88 aP->AddDataSet(new G4ProtonInelasticCrossSection); 75 89 } 76 90 -
trunk/source/physics_lists/builders/src/G4QGSPNeutronBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSPNeutronBuilder.cc,v 1.5 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSPNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSPNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4QGSPNeutronBuilder:: … … 92 107 theModel->SetMaxEnergy(100*TeV); 93 108 aP->RegisterMe(theModel); 94 aP->AddDataSet( &theXSec);109 aP->AddDataSet(new G4NeutronInelasticCrossSection); 95 110 } 96 111 -
trunk/source/physics_lists/builders/src/G4QGSPPiKBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSPPiKBuilder.cc,v 1.5 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSPPiKBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4QGSPPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4PiNuclearCrossSection.hh" 30 45 31 46 G4QGSPPiKBuilder:: 32 47 G4QGSPPiKBuilder(G4bool quasiElastic, G4bool projectileDiffraction) 33 48 { 49 thePiData = new G4PiNuclearCrossSection(); 34 50 theMin = 12*GeV; 35 51 theModel = new G4TheoFSGenerator("QGSP"); … … 81 97 theModel->SetMinEnergy(theMin); 82 98 theModel->SetMaxEnergy(100*TeV); 83 aP->AddDataSet( &thePiData);99 aP->AddDataSet(thePiData); 84 100 aP->RegisterMe(theModel); 85 101 } … … 90 106 theModel->SetMinEnergy(theMin); 91 107 theModel->SetMaxEnergy(100*TeV); 92 aP->AddDataSet( &thePiData);108 aP->AddDataSet(thePiData); 93 109 aP->RegisterMe(theModel); 94 110 } -
trunk/source/physics_lists/builders/src/G4QGSPProtonBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 #include "G4QGSPProtonBuilder.hh" 27 #include "G4ParticleDefinition.hh" 28 #include "G4ParticleTable.hh" 29 #include "G4ProcessManager.hh" 26 // $Id: G4QGSPProtonBuilder.cc,v 1.5 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSPProtonBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 40 #include "G4QGSPProtonBuilder.hh" 41 #include "G4ParticleDefinition.hh" 42 #include "G4ParticleTable.hh" 43 #include "G4ProcessManager.hh" 44 #include "G4ProtonInelasticCrossSection.hh" 30 45 31 32 46 G4QGSPProtonBuilder:: 47 G4QGSPProtonBuilder(G4bool quasiElastic, G4bool projectileDiffraction) 33 48 { 34 49 theMin = 12*GeV; … … 59 74 } 60 75 61 62 76 void G4QGSPProtonBuilder:: 77 Build(G4ProtonInelasticProcess * aP) 63 78 { 64 // G4cout << "adding inelastic Proton in QGSP" << G4endl;65 aP->AddDataSet( &theXSec);79 // G4cout << "adding inelastic Proton in QGSP" << G4endl; 80 aP->AddDataSet(new G4ProtonInelasticCrossSection()); 66 81 theModel->SetMinEnergy(theMin); 67 82 theModel->SetMaxEnergy(100*TeV); … … 69 84 } 70 85 71 72 86 void G4QGSPProtonBuilder:: 87 Build(G4HadronElasticProcess * ) 73 88 { 74 89 } 75 90 76 G4QGSPProtonBuilder:: 77 ~G4QGSPProtonBuilder() 91 G4QGSPProtonBuilder::~G4QGSPProtonBuilder() 78 92 { 79 93 delete thePreEquilib; -
trunk/source/physics_lists/builders/src/G4QStoppingPhysics.cc
r988 r1203 25 25 // 26 26 // $Id: G4QStoppingPhysics.cc,v 1.2 2007/04/26 16:03:18 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- -
trunk/source/physics_lists/builders/src/G4StoppingHadronBuilder.cc
r988 r1203 25 25 // 26 26 // $Id: G4StoppingHadronBuilder.cc,v 1.1 2006/10/31 11:35:03 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //---------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.