- Timestamp:
- Dec 22, 2010, 3:52:27 PM (15 years ago)
- Location:
- trunk/source/processes/hadronic/models/high_energy/include
- Files:
-
- 28 edited
-
G4HEAntiKaonZeroInelastic.hh (modified) (3 diffs)
-
G4HEAntiLambdaInelastic.hh (modified) (3 diffs)
-
G4HEAntiNeutronInelastic.hh (modified) (3 diffs)
-
G4HEAntiOmegaMinusInelastic.hh (modified) (3 diffs)
-
G4HEAntiProtonInelastic.hh (modified) (3 diffs)
-
G4HEAntiSigmaMinusInelastic.hh (modified) (3 diffs)
-
G4HEAntiSigmaPlusInelastic.hh (modified) (3 diffs)
-
G4HEAntiSigmaZeroInelastic.hh (modified) (1 diff)
-
G4HEAntiXiMinusInelastic.hh (modified) (3 diffs)
-
G4HEAntiXiZeroInelastic.hh (modified) (3 diffs)
-
G4HEInelastic.hh (modified) (4 diffs)
-
G4HEKaonMinusInelastic.hh (modified) (3 diffs)
-
G4HEKaonPlusInelastic.hh (modified) (3 diffs)
-
G4HEKaonZeroInelastic.hh (modified) (3 diffs)
-
G4HEKaonZeroLongInelastic.hh (modified) (3 diffs)
-
G4HEKaonZeroShortInelastic.hh (modified) (3 diffs)
-
G4HELambdaInelastic.hh (modified) (3 diffs)
-
G4HENeutronInelastic.hh (modified) (3 diffs)
-
G4HEOmegaMinusInelastic.hh (modified) (3 diffs)
-
G4HEPionMinusInelastic.hh (modified) (3 diffs)
-
G4HEPionPlusInelastic.hh (modified) (3 diffs)
-
G4HEProtonInelastic.hh (modified) (3 diffs)
-
G4HESigmaMinusInelastic.hh (modified) (3 diffs)
-
G4HESigmaPlusInelastic.hh (modified) (3 diffs)
-
G4HESigmaZeroInelastic.hh (modified) (1 diff)
-
G4HEVector.hh (modified) (10 diffs)
-
G4HEXiMinusInelastic.hh (modified) (3 diffs)
-
G4HEXiZeroInelastic.hh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiKaonZeroInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiKaonZeroInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiKaonZeroInelastic.hh,v 1.15 2010/11/27 02:02:19 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiKaonZeroInelastic() : G4HEInelastic("G4HEAntiKaonZeroInelastic") 58 58 { 59 theMinEnergy = 20*GeV;59 theMinEnergy = 20*GeV; 60 60 theMaxEnergy = 10*TeV; 61 61 MAXPART = 2048; … … 67 67 G4int vecLength; 68 68 69 G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus ); 69 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 70 G4Nucleus& targetNucleus); 70 71 71 G4int GetNumberOfSecondaries()72 G4int GetNumberOfSecondaries() 72 73 { return vecLength; } 73 74 74 75 75 void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy, 76 G4HEVector pv[], 77 G4int &vecLen, 78 G4HEVector incidentParticle, 79 G4HEVector targetParticle); 76 void FirstIntInCasAntiKaonZero(G4bool& inElastic, 77 const G4double availableEnergy, 78 G4HEVector pv[], 79 G4int& vecLen, 80 const G4HEVector& incidentParticle, 81 const G4HEVector& targetParticle); 80 82 }; 81 83 #endif 82 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiLambdaInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiLambdaInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiLambdaInelastic.hh,v 1.16 2010/11/27 02:02:59 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiLambdaInelastic() : G4HEInelastic("G4HEAntiLambdaInelastic") 58 58 { 59 vecLength = 0; 59 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState * ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus ); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiLambda(G4bool &inElastic, const G4double availableEnergy, 75 G4HEVector pv[], 76 G4int &vecLen, 77 G4HEVector incidentParticle, 78 G4HEVector targetParticle, 79 const G4double atomicWeight); 75 void FirstIntInCasAntiLambda(G4bool& inElastic, 76 const G4double availableEnergy, 77 G4HEVector pv[], 78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 81 const G4double atomicWeight); 80 82 }; 81 83 #endif -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiNeutronInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiNeutronInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiNeutronInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiNeutronInelastic() : G4HEInelastic("G4HEAntiNeutronInelastic") 58 58 { 59 vecLength = 0; 59 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, 71 G4Nucleus &targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiNeutron(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasAntiNeutron(G4bool &inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 78 G4int &vecLen, 77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiOmegaMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiOmegaMinusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiOmegaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiOmegaMinusInelastic() : G4HEInelastic("G4HEAntiOmegaMinusInelastic") 58 58 { 59 vecLength = 0; 59 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiOmegaMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasAntiOmegaMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiProtonInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiProtonInelastic.hh,v 1.1 5 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiProtonInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiProtonInelastic() : G4HEInelastic("G4HEAntiProtonInelastic") 58 58 { 59 vecLength = 0; 59 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, 71 G4Nucleus &targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiProton(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasAntiProton(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiSigmaMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiSigmaMinusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiSigmaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiSigmaMinusInelastic() : G4HEInelastic("G4HEAntiSigmaMinusInelastic") 58 58 { 59 vecLength = 0; 59 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiSigmaMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasAntiSigmaMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiSigmaPlusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiSigmaPlusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiSigmaPlusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiSigmaPlusInelastic() : G4HEInelastic("G4HEAntiSigmaPlusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus &targetNucleus ); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiSigmaPlus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasAntiSigmaPlus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiSigmaZeroInelastic.hh
r1340 r1347 26 26 // 27 27 // $Id: G4HEAntiSigmaZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiXiMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiXiMinusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiXiMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiXiMinusInelastic() : G4HEInelastic("G4HEAntiXiMinusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiXiMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasAntiXiMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEAntiXiZeroInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEAntiXiZeroInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEAntiXiZeroInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEAntiXiZeroInelastic() : G4HEInelastic("G4HEAntiXiZeroInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasAntiXiZero(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasAntiXiZero(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEInelastic.hh
r1340 r1347 24 24 // ******************************************************************** 25 25 // 26 // 27 // $Id: G4HEInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-03-ref-09 $ 26 // $Id: G4HEInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 28 // 30 29 // … … 71 70 { 72 71 SetParticles(); 72 verboseLevel = 0; 73 MAXPART = 0; 73 74 conserveEnergy = true; 74 75 }; … … 76 77 ~G4HEInelastic(){ }; 77 78 78 void SetMaxNumberOfSecondaries( const G4int maxnumber )79 {MAXPART = maxnumber;}79 void SetMaxNumberOfSecondaries(const G4int maxnumber) 80 {MAXPART = maxnumber;} 80 81 81 void SetVerboseLevel( const G4int level) 82 { verboseLevel = level;} 83 84 G4int verboseLevel; 85 G4int MAXPART; 86 G4bool conserveEnergy; 87 88 void ForceEnergyConservation(G4bool energyConservation) 89 { conserveEnergy = energyConservation;} 90 G4bool EnergyConservation(void) 91 { return conserveEnergy;} 92 93 G4double Amin(G4double a, G4double b); 94 G4double Amax(G4double a, G4double b); 95 G4int Imin(G4int a, G4int b); 96 G4int Imax(G4int a, G4int b); 82 void SetVerboseLevel(const G4int level) {verboseLevel = level;} 83 84 G4int verboseLevel; 85 G4int MAXPART; 86 G4bool conserveEnergy; 87 88 void ForceEnergyConservation(G4bool energyConservation) 89 {conserveEnergy = energyConservation;} 90 91 G4bool EnergyConservation(void) {return conserveEnergy;} 92 93 G4double Amin(G4double a, G4double b); 94 G4double Amax(G4double a, G4double b); 95 G4int Imin(G4int a, G4int b); 96 G4int Imax(G4int a, G4int b); 97 97 98 void FillParticleChange(G4HEVector pv[], G4int aVecLength); 99 100 G4double pmltpc(G4int np, G4int nm, G4int nz, G4int n, G4double b, G4double c); 101 102 G4int Factorial(G4int n); 103 104 G4double NuclearInelasticity(G4double incidentKineticEnergy, 105 G4double atomicWeight, 106 G4double atomicNumber); 107 G4double NuclearExcitation(G4double incidentKineticEnergy, 108 G4double atomicWeight, 109 G4double atomicNumber, 110 G4double& excitationEnergyCascade, 111 G4double& excitationEnergyEvaporation); 98 void FillParticleChange(G4HEVector pv[], G4int aVecLength); 99 100 G4double pmltpc(G4int np, G4int nm, G4int nz, 101 G4int n, G4double b, G4double c); 102 103 G4int Factorial(G4int n); 104 105 G4double NuclearInelasticity(G4double incidentKineticEnergy, 106 G4double atomicWeight, 107 G4double atomicNumber); 108 109 G4double NuclearExcitation(G4double incidentKineticEnergy, 110 G4double atomicWeight, 111 G4double atomicNumber, 112 G4double& excitationEnergyCascade, 113 G4double& excitationEnergyEvaporation); 112 114 113 void HighEnergyCascading(G4bool &successful, 114 G4HEVector pv[], 115 G4int &vecLen, 116 G4double &excitationEnergyGNP, 117 G4double &excitationEnergyDTA, 118 G4HEVector incidentParticle, 119 G4HEVector targetParticle, 120 G4double atomicWeight, 121 G4double atomicNumber); 122 123 void HighEnergyClusterProduction(G4bool &successful, 124 G4HEVector pv[], 125 G4int &vecLen, 126 G4double &excitationEnergyGNP, 127 G4double &excitationEnergyDTA, 128 G4HEVector incidentParticle, 129 G4HEVector targetParticle, 130 G4double atomicWeight, 131 G4double atomicNumber); 132 133 void TuningOfHighEnergyCascading(G4HEVector pv[], 134 G4int &vecLen, 135 G4HEVector incidentParticle, 136 G4HEVector targetParticle, 137 G4double atomicWeight, 138 G4double atomicNumber); 139 140 void MediumEnergyCascading(G4bool &successful, 115 void HighEnergyCascading(G4bool& successful, 116 G4HEVector pv[], 117 G4int& vecLen, 118 G4double& excitationEnergyGNP, 119 G4double& excitationEnergyDTA, 120 const G4HEVector& incidentParticle, 121 const G4HEVector& targetParticle, 122 G4double atomicWeight, 123 G4double atomicNumber); 124 125 void HighEnergyClusterProduction(G4bool& successful, 141 126 G4HEVector pv[], 142 G4int &vecLen,143 G4double &excitationEnergyGNP,144 G4double &excitationEnergyDTA,145 G4HEVectorincidentParticle,146 G4HEVectortargetParticle,127 G4int& vecLen, 128 G4double& excitationEnergyGNP, 129 G4double& excitationEnergyDTA, 130 const G4HEVector& incidentParticle, 131 const G4HEVector& targetParticle, 147 132 G4double atomicWeight, 148 G4double atomicNumber); 149 150 void MediumEnergyClusterProduction(G4bool &successful, 151 G4HEVector pv[], 152 G4int &vecLen, 153 G4double &excitationEnergyGNP, 154 G4double &excitationEnergyDTA, 155 G4HEVector incidentParticle, 156 G4HEVector targetParticle, 157 G4double atomicWeight, 158 G4double atomicNumber); 159 160 void QuasiElasticScattering(G4bool &successful, 161 G4HEVector pv[], 162 G4int &vecLen, 163 G4double &excitationEnergyGNP, 164 G4double &excitationEnergyDTA, 165 G4HEVector incidentParticle, 166 G4HEVector targetParticle, 167 G4double atomicWeight, 168 G4double atomicNumber); 169 170 void ElasticScattering(G4bool &successful, 171 G4HEVector pv[], 172 G4int &vecLen, 173 G4HEVector incidentParticle, 174 G4double atomicWeight, 175 G4double atomicNumber); 176 177 G4int rtmi(G4double *x, G4double xli, G4double xri, G4double eps, 178 G4int iend, G4double aa, G4double bb, G4double cc, 179 G4double dd, G4double rr); 180 181 G4double fctcos(G4double t, G4double aa, G4double bb,G4double cc, 182 G4double dd, G4double rr); 133 G4double atomicNumber); 134 135 void TuningOfHighEnergyCascading(G4HEVector pv[], 136 G4int& vecLen, 137 const G4HEVector& incidentParticle, 138 const G4HEVector& targetParticle, 139 G4double atomicWeight, 140 G4double atomicNumber); 141 142 void MediumEnergyCascading(G4bool& successful, 143 G4HEVector pv[], 144 G4int& vecLen, 145 G4double& excitationEnergyGNP, 146 G4double& excitationEnergyDTA, 147 const G4HEVector& incidentParticle, 148 const G4HEVector& targetParticle, 149 G4double atomicWeight, 150 G4double atomicNumber); 151 152 void MediumEnergyClusterProduction(G4bool& successful, 153 G4HEVector pv[], 154 G4int& vecLen, 155 G4double& excitationEnergyGNP, 156 G4double& excitationEnergyDTA, 157 const G4HEVector& incidentParticle, 158 const G4HEVector& targetParticle, 159 G4double atomicWeight, 160 G4double atomicNumber); 161 162 void QuasiElasticScattering(G4bool& successful, 163 G4HEVector pv[], 164 G4int& vecLen, 165 G4double& excitationEnergyGNP, 166 G4double& excitationEnergyDTA, 167 const G4HEVector& incidentParticle, 168 const G4HEVector& targetParticle, 169 G4double atomicWeight, 170 G4double atomicNumber); 171 172 void ElasticScattering(G4bool& successful, 173 G4HEVector pv[], 174 G4int& vecLen, 175 const G4HEVector& incidentParticle, 176 G4double atomicWeight, 177 G4double atomicNumber); 178 179 G4int rtmi(G4double *x, G4double xli, G4double xri, G4double eps, 180 G4int iend, G4double aa, G4double bb, G4double cc, 181 G4double dd, G4double rr); 182 183 G4double fctcos(G4double t, G4double aa, G4double bb,G4double cc, 184 G4double dd, G4double rr); 183 185 184 void StrangeParticlePairProduction(const G4double availableEnergy,185 const G4double centerOfMassEnergy,186 G4HEVector pv[],187 G4int &vecLen,188 G4HEVectorincidentParticle,189 G4HEVectortargetParticle);190 191 G4double NBodyPhaseSpace(const G4double totalEnergy,192 const G4bool constantCrossSection,193 G4HEVector pv[],194 G4int &vecLen);186 void StrangeParticlePairProduction(const G4double availableEnergy, 187 const G4double centerOfMassEnergy, 188 G4HEVector pv[], 189 G4int& vecLen, 190 const G4HEVector& incidentParticle, 191 const G4HEVector& targetParticle); 192 193 G4double NBodyPhaseSpace(const G4double totalEnergy, 194 const G4bool constantCrossSection, 195 G4HEVector pv[], 196 G4int &vecLen); 195 197 196 G4double NBodyPhaseSpace(G4int npart,197 G4HEVector pv[],198 G4double wmax,199 G4double wfcn,200 G4int maxtrial,201 G4int ntrial);202 203 G4double gpdk(G4double a, G4double b, G4double c);204 205 void QuickSort(G4double arr[], const G4int lidx, const G4int ridx);206 207 G4double Alam(G4double a, G4double b, G4double c);198 G4double NBodyPhaseSpace(G4int npart, 199 G4HEVector pv[], 200 G4double wmax, 201 G4double wfcn, 202 G4int maxtrial, 203 G4int ntrial); 204 205 G4double gpdk(G4double a, G4double b, G4double c); 206 207 void QuickSort(G4double arr[], const G4int lidx, const G4int ridx); 208 209 G4double Alam(G4double a, G4double b, G4double c); 208 210 209 G4double CalculatePhaseSpaceWeight( G4int npart);211 G4double CalculatePhaseSpaceWeight( G4int npart); 210 212 211 G4double normal(void);212 G4double GammaRand(G4double avalue);213 G4double Erlang(G4int mvalue);214 G4int Poisson(G4double x);215 void SetParticles(void);213 G4double normal(void); 214 G4double GammaRand(G4double avalue); 215 G4double Erlang(G4int mvalue); 216 G4int Poisson(G4double x); 217 void SetParticles(void); 216 218 217 219 G4HEVector PionPlus; … … 248 250 }; 249 251 250 #endif 251 252 252 #endif -
trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEKaonMinusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEKaonMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEKaonMinusInelastic() : G4HEInelastic("G4HEKaonMinusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasKaonMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasKaonMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle);78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle); 79 81 }; 80 #endif 81 82 #endif 82 83 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonPlusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEKaonPlusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEKaonPlusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEKaonPlusInelastic() : G4HEInelastic("G4HEKaonPlusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasKaonPlus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasKaonPlus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonZeroInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEKaonZeroInelastic.hh,v 1.1 3 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEKaonZeroInelastic.hh,v 1.15 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEKaonZeroInelastic() : G4HEInelastic("G4HEKaonZeroInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 75 75 void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy, 76 void FirstIntInCasKaonZero(G4bool& inElastic, 77 const G4double availableEnergy, 76 78 G4HEVector pv[], 77 G4int &vecLen,78 G4HEVectorincidentParticle,79 G4HEVectortargetParticle,79 G4int& vecLen, 80 const G4HEVector& incidentParticle, 81 const G4HEVector& targetParticle, 80 82 const G4double atomicWeight); 81 83 }; 82 #endif 83 84 #endif 84 85 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonZeroLongInelastic.hh
r1340 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4HEKaonZeroLongInelastic.hh,v 1.1 5 2010/02/09 21:58:09dennis Exp $27 // GEANT4 tag $Name: geant4-09-0 3-ref-09$26 // $Id: G4HEKaonZeroLongInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // … … 56 56 G4HEKaonZeroLongInelastic() : G4HEInelastic("G4HEKaonZeroLongInelastic") 57 57 { 58 theMinEnergy = 20*GeV;58 theMinEnergy = 20*GeV; 59 59 theMaxEnergy = 10*TeV; 60 60 MAXPART = 2048; … … 64 64 ~G4HEKaonZeroLongInelastic(){ }; 65 65 66 // G4int verboseLevel;67 66 G4int vecLength; 68 67 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 68 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 69 G4Nucleus& targetNucleus); 70 70 71 71 G4int GetNumberOfSecondaries() 72 72 { return vecLength;}; 73 73 74 void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy, 74 void FirstIntInCasKaonZero(G4bool& inElastic, 75 const G4double availableEnergy, 75 76 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,77 G4int& vecLen, 78 const G4HEVector& incidentParticle, 79 const G4HEVector& targetParticle, 79 80 const G4double atomicWeight); 80 81 81 void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy, 82 void FirstIntInCasAntiKaonZero(G4bool& inElastic, 83 const G4double availableEnergy, 82 84 G4HEVector pv[], 83 G4int &vecLen, 84 G4HEVector incidentParticle, 85 G4HEVector targetParticle); 85 G4int& vecLen, 86 const G4HEVector& incidentParticle, 87 const G4HEVector& targetParticle); 88 }; 89 #endif 86 90 87 // void SetVerboseLevel(G4int verbose)88 // { verboseLevel = verbose;};89 90 91 };92 #endif93 94 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEKaonZeroShortInelastic.hh
r1340 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4HEKaonZeroShortInelastic.hh,v 1.1 5 2010/02/09 21:58:33dennis Exp $27 // GEANT4 tag $Name: geant4-09-0 3-ref-09$26 // $Id: G4HEKaonZeroShortInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // … … 56 56 G4HEKaonZeroShortInelastic() : G4HEInelastic("G4HEKaonZeroShortInelastic") 57 57 { 58 theMinEnergy = 20*GeV;58 theMinEnergy = 20*GeV; 59 59 theMaxEnergy = 10*TeV; 60 60 MAXPART = 2048; … … 66 66 G4int vecLength; 67 67 68 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 68 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 69 G4Nucleus& targetNucleus); 69 70 70 71 G4int GetNumberOfSecondaries() 71 72 { return vecLength;}; 72 73 73 void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy, 74 void FirstIntInCasKaonZero(G4bool& inElastic, 75 const G4double availableEnergy, 74 76 G4HEVector pv[], 75 G4int &vecLen,76 G4HEVectorincidentParticle,77 G4HEVectortargetParticle,77 G4int& vecLen, 78 const G4HEVector& incidentParticle, 79 const G4HEVector& targetParticle, 78 80 const G4double atomicWeight); 79 81 80 void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy, 82 void FirstIntInCasAntiKaonZero(G4bool& inElastic, 83 const G4double availableEnergy, 81 84 G4HEVector pv[], 82 G4int &vecLen, 83 G4HEVector incidentParticle, 84 G4HEVector targetParticle); 85 G4int& vecLen, 86 const G4HEVector& incidentParticle, 87 const G4HEVector& targetParticle); 88 }; 89 #endif 85 90 86 };87 #endif88 89 -
trunk/source/processes/hadronic/models/high_energy/include/G4HELambdaInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HELambdaInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HELambdaInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HELambdaInelastic() : G4HEInelastic("G4HELambdaInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasLambda(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasLambda(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HENeutronInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HENeutronInelastic.hh,v 1.1 5 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HENeutronInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HENeutronInelastic() : G4HEInelastic("G4HENeutronInelastic") 58 58 { 59 theMinEnergy = 45*GeV; 59 vecLength = 0; 60 theMinEnergy = 45*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasNeutron(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasNeutron(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEOmegaMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEOmegaMinusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEOmegaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEOmegaMinusInelastic() : G4HEInelastic("G4HEOmegaMinusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasOmegaMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasOmegaMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEPionMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEPionMinusInelastic.hh,v 1.1 5 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEPionMinusInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEPionMinusInelastic() : G4HEInelastic("G4HEPionMinusInelastic") 58 58 { 59 theMinEnergy = 45*GeV; 59 vecLength = 0; 60 theMinEnergy = 45*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasPionMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasPionMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle);78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle); 79 81 }; 80 #endif 81 82 #endif 82 83 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEPionPlusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEPionPlusInelastic.hh,v 1.1 5 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEPionPlusInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEPionPlusInelastic() : G4HEInelastic("G4HEPionPlusInelastic") 58 58 { 59 theMinEnergy = 45*GeV; 59 vecLength = 0; 60 theMinEnergy = 45*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasPionPlus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasPionPlus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEProtonInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEProtonInelastic.hh,v 1.1 5 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEProtonInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEProtonInelastic() : G4HEInelastic("G4HEProtonInelastic") 58 58 { 59 theMinEnergy = 45*GeV; 59 vecLength = 0; 60 theMinEnergy = 45*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasProton(G4bool &inElastic, const G4double availableEnergy, 75 G4HEVector pv[], 76 G4int &vecLen, 77 G4HEVector incidentParticle, 78 G4HEVector targetParticle, 79 const G4double atomicWeight); 75 void FirstIntInCasProton(G4bool& inElastic, 76 const G4double availableEnergy, 77 G4HEVector pv[], 78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HESigmaMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HESigmaMinusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HESigmaMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HESigmaMinusInelastic() : G4HEInelastic("G4HESigmaMinusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasSigmaMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasSigmaMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HESigmaPlusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HESigmaPlusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HESigmaPlusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HESigmaPlusInelastic() : G4HEInelastic("G4HESigmaPlusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasSigmaPlus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasSigmaPlus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HESigmaZeroInelastic.hh
r1340 r1347 26 26 // 27 27 // $Id: G4HESigmaZeroInelastic.hh,v 1.14 2007/04/11 18:11:30 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/high_energy/include/G4HEVector.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEVector.hh,v 1.1 2 2006/06/29 20:29:48 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEVector.hh,v 1.15 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 91 91 baryon = 0; 92 92 strangeness = 0; 93 for (G4int i = 0; i < NumberOfQuarkFlavor; i++) { 94 theQuarkContent[i] = 0; 95 theAntiQuarkContent[i] = 0; 96 } 93 97 } 94 98 … … 150 154 const G4ParticleMomentum getMomentum() const ; 151 155 152 G4double getTotalMomentum() ;156 G4double getTotalMomentum() const; 153 157 154 158 void setMomentum( G4double x, G4double y, G4double z); … … 172 176 void setKineticEnergyAndUpdate(G4double ekin); 173 177 174 G4double getEnergy() ;175 176 G4double getKineticEnergy() ;178 G4double getEnergy() const; 179 180 G4double getKineticEnergy() const; 177 181 178 182 void setMass( G4double m ); … … 180 184 void setMassAndUpdate( G4double m ); 181 185 182 G4double getMass() ;186 G4double getMass() const; 183 187 184 188 void setCharge( G4double c ); 185 189 186 G4double getCharge() ;190 G4double getCharge() const; 187 191 188 192 void setTOF( G4double t ); … … 200 204 void setCode( G4int c ); 201 205 202 G4int getCode() ;203 204 G4String getName() ;205 206 G4int getBaryonNumber() ;207 208 G4int getStrangenessNumber() ;206 G4int getCode() const; 207 208 G4String getName() const; 209 210 G4int getBaryonNumber() const; 211 212 G4int getStrangenessNumber() const; 209 213 210 214 G4int getQuarkContent(G4int flavor); … … 214 218 void setZero(); 215 219 216 G4String getType() ;220 G4String getType() const; 217 221 218 222 void Add( const G4HEVector & p1, const G4HEVector & p2 ); … … 222 226 void Lor( const G4HEVector & p1, const G4HEVector & p2 ); 223 227 224 G4double CosAng( const G4HEVector & p );228 G4double CosAng(const G4HEVector& p) const; 225 229 226 230 G4double Ang(const G4HEVector & p ); … … 244 248 void Norz( const G4HEVector & p ); 245 249 246 G4double Length() ;250 G4double Length() const; 247 251 248 252 void Exch( G4HEVector & p1); … … 260 264 G4int FillQuarkContent(); 261 265 262 void Print( G4int L);266 void Print(G4int L) const; 263 267 }; 264 268 265 269 #endif 266 270 267 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEXiMinusInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEXiMinusInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEXiMinusInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEXiMinusInelastic() : G4HEInelastic("G4HEXiMinusInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasXiMinus(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasXiMinus(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84 -
trunk/source/processes/hadronic/models/high_energy/include/G4HEXiZeroInelastic.hh
r1340 r1347 25 25 // 26 26 // 27 // $Id: G4HEXiZeroInelastic.hh,v 1.1 4 2007/04/11 18:11:30dennis Exp $28 // GEANT4 tag $Name: geant4-09-0 3-ref-09$27 // $Id: G4HEXiZeroInelastic.hh,v 1.16 2010/11/29 05:45:06 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 57 57 G4HEXiZeroInelastic() : G4HEInelastic("G4HEXiZeroInelastic") 58 58 { 59 theMinEnergy = 20*GeV; 59 vecLength = 0; 60 theMinEnergy = 20*GeV; 60 61 theMaxEnergy = 10*TeV; 61 62 MAXPART = 2048; … … 67 68 G4int vecLength; 68 69 69 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); 70 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 71 G4Nucleus& targetNucleus); 70 72 71 G4int GetNumberOfSecondaries() 72 { return vecLength; } 73 G4int GetNumberOfSecondaries() {return vecLength;} 73 74 74 void FirstIntInCasXiZero(G4bool &inElastic, const G4double availableEnergy, 75 void FirstIntInCasXiZero(G4bool& inElastic, 76 const G4double availableEnergy, 75 77 G4HEVector pv[], 76 G4int &vecLen,77 G4HEVectorincidentParticle,78 G4HEVectortargetParticle,78 G4int& vecLen, 79 const G4HEVector& incidentParticle, 80 const G4HEVector& targetParticle, 79 81 const G4double atomicWeight); 80 82 }; 81 #endif 82 83 #endif 83 84
Note:
See TracChangeset
for help on using the changeset viewer.
