- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- Location:
- trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QANuANuNuclearCrossSection.cc
r819 r962 26 26 // 27 27 // $Id: G4QANuANuNuclearCrossSection.cc,v 1.2 2007/11/02 15:57:16 mkossov Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QANuENuclearCrossSection.cc
r819 r962 26 26 // 27 27 // $Id: G4QANuENuclearCrossSection.cc,v 1.2 2007/11/01 16:09:38 mkossov Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QANuMuNuclearCrossSection.cc
r819 r962 26 26 // 27 27 // $Id: G4QANuMuNuclearCrossSection.cc,v 1.11 2007/11/01 16:09:38 mkossov Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QAtomicElectronScattering.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QAtomicElectronScattering.cc,v 1. 2 2006/12/13 15:45:19 gunterExp $27 // GEANT4 tag $Name: $26 // $Id: G4QAtomicElectronScattering.cc,v 1.4 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QAtomicElectronScattering class ----------------- … … 41 41 42 42 G4QAtomicElectronScattering::G4QAtomicElectronScattering(const G4String& processName): 43 G4VDiscreteProcess(processName )43 G4VDiscreteProcess(processName, fElectromagnetic) 44 44 { 45 45 #ifdef debug -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QCaptureAtRest.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QCaptureAtRest.cc,v 1.1 3 2007/10/02 10:00:37 mkossovExp $27 // GEANT4 tag $Name: $26 // $Id: G4QCaptureAtRest.cc,v 1.19 2009/01/24 11:57:46 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QCaptureAtRest class ----------------- … … 41 41 42 42 #include "G4QCaptureAtRest.hh" 43 #include "G4HadronicProcessStore.hh" 43 44 44 45 G4QCaptureAtRest::G4QCaptureAtRest(const G4String& processName) 45 : G4VRestProcess(processName ), Time(0.), EnergyDeposition(0.)46 : G4VRestProcess(processName, fHadronic), Time(0.), EnergyDeposition(0.) 46 47 { 48 SetProcessSubType(fCapture); 47 49 #ifdef debug 48 50 G4cout<<"G4QCaptureAtRest::Constructor is called"<<G4endl; … … 54 56 G4Quasmon::SetParameters(Temperature,SSin2Gluons,EtaEtaprime); // Hadronic parameters 55 57 G4QEnvironment::SetParameters(SolidAngle); // SolAngle of pbar-A secondary mesons capture 58 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this); 56 59 } 57 60 … … 102 105 103 106 G4QCaptureAtRest::~G4QCaptureAtRest() 104 {} 107 { 108 // deregister in the store 109 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this); 110 } 105 111 106 112 G4LorentzVector G4QCaptureAtRest::GetEnegryMomentumConservation() … … 131 137 #endif 132 138 return false; 139 } 140 141 void G4QCaptureAtRest::PreparePhysicsTable(const G4ParticleDefinition& p) 142 { 143 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p); 144 } 145 146 void G4QCaptureAtRest::BuildPhysicsTable(const G4ParticleDefinition& p) 147 { 148 G4HadronicProcessStore::Instance()->PrintInfo(&p); 133 149 } 134 150 -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QCoherentChargeExchange.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QCoherentChargeExchange.cc,v 1. 5 2007/10/02 10:00:37 mkossovExp $27 // GEANT4 tag $Name: $26 // $Id: G4QCoherentChargeExchange.cc,v 1.7 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QCoherentChargeExchange class ----------------- … … 52 52 // Constructor 53 53 G4QCoherentChargeExchange::G4QCoherentChargeExchange(const G4String& processName) 54 : G4VDiscreteProcess(processName )54 : G4VDiscreteProcess(processName, fHadronic) 55 55 { 56 56 #ifdef debug … … 58 58 #endif 59 59 if (verboseLevel>0) G4cout << GetProcessName() << " process is created "<< G4endl; 60 60 SetProcessSubType(fChargeExchange); 61 61 //G4QCHIPSWorld::Get()->GetParticles(nPartCWorld); // Create CHIPS World (234 part. max) 62 62 } -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QCollision.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QCollision.cc,v 1.2 4.2.2 2008/05/07 13:47:31 gcosmoExp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4QCollision.cc,v 1.28 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QCollision class ----------------- … … 48 48 std::vector<std::vector<G4double>*>G4QCollision::IsoProbInEl;//SumProbabIsotopes inElementI 49 49 50 G4QCollision::G4QCollision(const G4String& processName) : G4VDiscreteProcess(processName) 50 G4QCollision::G4QCollision(const G4String& processName): 51 G4VDiscreteProcess(processName, fHadronic) 51 52 { 52 53 #ifdef debug … … 54 55 #endif 55 56 if (verboseLevel>0) G4cout << GetProcessName() << " process is created "<< G4endl; 56 57 SetProcessSubType(fHadronInelastic); 57 58 //G4QCHIPSWorld::Get()->GetParticles(nPartCWorld); // Create CHIPSWorld (234 part.max) 58 59 G4QNucleus::SetParameters(freeNuc,freeDib,clustProb,mediRatio); // Clusterization param's -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QDiffraction.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QDiffraction.cc,v 1. 3 2007/10/02 10:00:37 mkossovExp $27 // GEANT4 tag $Name: $26 // $Id: G4QDiffraction.cc,v 1.5 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QDiffraction class ----------------- … … 51 51 52 52 // Constructor 53 G4QDiffraction::G4QDiffraction(const G4String& processName):G4VDiscreteProcess(processName) 53 G4QDiffraction::G4QDiffraction(const G4String& processName): 54 G4VDiscreteProcess(processName, fHadronic) 54 55 { 55 56 #ifdef debug … … 57 58 #endif 58 59 if (verboseLevel>0) G4cout << GetProcessName() << " process is created "<< G4endl; 59 60 SetProcessSubType(fHadronInelastic); 60 61 G4QCHIPSWorld::Get()->GetParticles(nPartCWorld); // Create CHIPS World (234 part. max) 61 62 } -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QDiffractionRatio.cc
r819 r962 25 25 // 26 26 // 27 // $Id: G4QDiffractionRatio.cc,v 1. 7.2.1 2008/04/23 14:57:21 gcosmoExp $28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $27 // $Id: G4QDiffractionRatio.cc,v 1.9 2008/03/21 21:40:08 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QDiscProcessMixer.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QDiscProcessMixer.cc,v 1. 2 2007/08/31 09:36:57 mkossovExp $27 // GEANT4 tag $Name: $26 // $Id: G4QDiscProcessMixer.cc,v 1.4 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QDiscProcessMixer class ----------------- -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QElastic.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QElastic.cc,v 1.2 5 2007/11/15 09:36:43 mkossovExp $27 // GEANT4 tag $Name: $26 // $Id: G4QElastic.cc,v 1.27 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QElastic class ----------------- … … 51 51 52 52 // Constructor 53 G4QElastic::G4QElastic(const G4String& processName) : G4VDiscreteProcess(processName) 53 G4QElastic::G4QElastic(const G4String& processName): 54 G4VDiscreteProcess(processName, fHadronic) 54 55 { 55 56 #ifdef debug … … 57 58 #endif 58 59 if (verboseLevel>0) G4cout << GetProcessName() << " process is created "<< G4endl; 59 60 SetProcessSubType(fHadronElastic); 60 61 //G4QCHIPSWorld::Get()->GetParticles(nPartCWorld); // Create CHIPS World (234 part. max) 61 62 } -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QElasticCrossSection.cc
r819 r962 25 25 // 26 26 // 27 // $Id: G4QElasticCrossSection.cc,v 1.3 3.2.1 2008/04/23 14:57:21 gcosmoExp $28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $27 // $Id: G4QElasticCrossSection.cc,v 1.36 2008/03/21 21:42:44 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QElectronNuclearCrossSection.cc
r819 r962 25 25 // 26 26 // 27 // $Id: G4QElectronNuclearCrossSection.cc,v 1.1 1.10.1 2008/04/23 14:57:22 gcosmoExp $28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $27 // $Id: G4QElectronNuclearCrossSection.cc,v 1.13 2008/10/24 19:25:41 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // … … 267 267 //G4double mT= G4QPDGCode(111).GetNuclMass(Z,N,0); 268 268 G4double mT= 0.; 269 if(G4NucleiProperties Table::IsInTable(Z,A))270 mT=G4NucleiProperties::GetNuclearMass(A,Z)/MeV;269 if(G4NucleiProperties::IsInStableTable(A,Z)) 270 mT = G4NucleiProperties::GetNuclearMass(A,Z)/MeV; 271 271 else return 0.; // If it is not in the Table of Stable Nuclei, then the Threshold=0 272 272 // --------- 273 273 G4double mP= infEn; 274 274 //if(Z) mP= G4QPDGCode(111).GetNuclMass(Z-1,N,0); 275 if(Z&&G4NucleiProperties Table::IsInTable(Z-1,A-1))276 mP =G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton275 if(Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1)) 276 mP = G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton 277 277 G4double mN= infEn; 278 278 //if(N) mN= G4QPDGCode(111).GetNuclMass(Z,N-1,0); 279 if(N&&G4NucleiProperties Table::IsInTable(Z,A-1))280 mN =G4NucleiProperties::GetNuclearMass(A-1.,Z-0.)/MeV; // ResNucMass for a neutron279 if(N&&G4NucleiProperties::IsInStableTable(A-1,Z)) 280 mN = G4NucleiProperties::GetNuclearMass(A-1.,Z-0.)/MeV; // ResNucMass for a neutron 281 281 282 282 G4double mA= infEn; 283 if(N>1&&Z>1&&G4NucleiProperties Table::IsInTable(Z-2,A-4))284 mA =G4NucleiProperties::GetNuclearMass(A-4.,Z-2.)/MeV; // ResNucMass for an alpha283 if(N>1&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2)) 284 mA = G4NucleiProperties::GetNuclearMass(A-4.,Z-2.)/MeV; // ResNucMass for an alpha 285 285 286 286 G4double dP= mP +mProt - mT; -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QGluonString.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGluonString.cc,v 1. 1 2006/10/30 10:33:38 mkossovExp $27 // GEANT4 tag $Name: $26 // $Id: G4QGluonString.cc,v 1.3 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QGluonString class ----------------- … … 47 47 std::vector<std::vector<G4double>*>G4QGluonString::IsoProbInEl;//SumProbabIsotopeInElementI 48 48 49 G4QGluonString::G4QGluonString(const G4String& processName):G4VDiscreteProcess(processName) 49 G4QGluonString::G4QGluonString(const G4String& processName): 50 G4VDiscreteProcess(processName, fHadronic) 50 51 { 51 52 #ifdef debug … … 53 54 #endif 54 55 if (verboseLevel>0) G4cout<<GetProcessName()<<" process is created by CHIPS"<<G4endl; 55 56 SetProcessSubType(fHadronInelastic); 56 57 G4QCHIPSWorld::Get()->GetParticles(nPartCWorld); // Create CHIPS World with 234 particles 57 58 G4QNucleus::SetParameters(freeNuc,freeDib,clustProb,mediRatio); // Clusterization param's -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QIonIonCrossSection.cc
r819 r962 26 26 // 27 27 // The lust update: M.V. Kossov, CERN/ITEP(Moscow) 19-Aug-07 28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QLowEnergy.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QLowEnergy.cc,v 1. 4.2.1 2008/04/23 14:57:22 gcosmoExp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4QLowEnergy.cc,v 1.7 2008/10/02 21:10:07 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ---------------- G4QLowEnergy class ----------------- … … 52 52 // Constructor 53 53 G4QLowEnergy::G4QLowEnergy(const G4String& processName): 54 G4VDiscreteProcess(processName ), evaporate(true)54 G4VDiscreteProcess(processName, fHadronic), evaporate(true) 55 55 { 56 56 #ifdef debug … … 58 58 #endif 59 59 if (verboseLevel>0) G4cout<<GetProcessName()<<" process is created "<<G4endl; 60 60 SetProcessSubType(fHadronInelastic); 61 61 G4QCHIPSWorld::Get()->GetParticles(nPartCWorld); // Create CHIPS World (234 part. max) 62 62 } -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QMuonNuclearCrossSection.cc
r819 r962 25 25 // 26 26 // 27 // $Id: G4QMuonNuclearCrossSection.cc,v 1.1 1.10.1 2008/04/23 14:57:22 gcosmoExp $28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $27 // $Id: G4QMuonNuclearCrossSection.cc,v 1.13 2008/10/24 19:24:59 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // … … 271 271 //G4double mT= G4QPDGCode(111).GetNuclMass(Z,N,0); 272 272 G4double mT= 0.; 273 if(G4NucleiProperties Table::IsInTable(Z,A))274 mT=G4NucleiProperties::GetNuclearMass(A,Z)/MeV;273 if(G4NucleiProperties::IsInStableTable(A,Z)) 274 mT = G4NucleiProperties::GetNuclearMass(A,Z)/MeV; 275 275 else return 0.; // If it is not in the Table of Stable Nuclei, then the Threshold=0 276 276 // --------- Splitting thresholds 277 277 G4double mP= infEn; 278 if(Z&&G4NucleiProperties Table::IsInTable(Z-1,A-1))279 mP =G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton278 if(Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1)) 279 mP = G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton 280 280 281 281 G4double mN= infEn; 282 if(N&&G4NucleiProperties Table::IsInTable(Z-0,A-1))283 mN =G4NucleiProperties::GetNuclearMass(A-1.,Z-0.)/MeV; // ResNucMass for a neutron282 if(N&&G4NucleiProperties::IsInStableTable(A-1,Z)) 283 mN = G4NucleiProperties::GetNuclearMass(A-1.,Z)/MeV; // ResNucMass for a neutron 284 284 285 285 G4double mA= infEn; 286 if(N>1&&Z>1&&G4NucleiProperties Table::IsInTable(Z-2,A-4))286 if(N>1&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2)) 287 287 mA=G4NucleiProperties::GetNuclearMass(A-4.,Z-2.)/MeV; // ResNucMass for an alpha 288 288 -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QNeutronNuclearCrossSection.cc
r819 r962 26 26 // 27 27 // The lust update: M.V. Kossov, CERN/ITEP(Moscow) 17-June-02 28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QNuENuclearCrossSection.cc
r819 r962 26 26 // 27 27 // $Id: G4QNuENuclearCrossSection.cc,v 1.2 2007/11/01 16:09:38 mkossov Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QNuMuNuclearCrossSection.cc
r819 r962 26 26 // 27 27 // $Id: G4QNuMuNuclearCrossSection.cc,v 1.12 2007/11/01 16:09:38 mkossov Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QNuNuNuclearCrossSection.cc
r819 r962 26 26 // 27 27 // $Id: G4QNuNuNuclearCrossSection.cc,v 1.2 2007/11/02 15:57:16 mkossov Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QPhotonNuclearCrossSection.cc
r819 r962 26 26 // 27 27 // The lust update: M.V. Kossov, CERN/ITEP(Moscow) 17-June-02 28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // … … 262 262 //G4double mT= G4QPDGCode(111).GetNuclMass(Z,N,0); 263 263 G4double mT= 0.; 264 if(G4NucleiProperties Table::IsInTable(Z,A))265 mT=G4NucleiProperties::GetNuclearMass(A,Z)/MeV;264 if(G4NucleiProperties::IsInStableTable(A,Z)) 265 mT = G4NucleiProperties::GetNuclearMass(A,Z)/MeV; 266 266 G4double mP= infEn; 267 if(Z&&G4NucleiProperties Table::IsInTable(Z-1,A-1))268 mP =G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton267 if(Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1)) 268 mP = G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton 269 269 270 270 G4double mN= infEn; 271 if(N&&G4NucleiProperties Table::IsInTable(Z-0,A-1))272 mN =G4NucleiProperties::GetNuclearMass(A-1.,Z-0.)/MeV; // ResNucMass for a neutron271 if(N&&G4NucleiProperties::IsInStableTable(A-1,Z)) 272 mN = G4NucleiProperties::GetNuclearMass(A-1.,Z)/MeV; // ResNucMass for a neutron 273 273 274 274 G4double mA= infEn; 275 if(N>1&&Z>1&&G4NucleiProperties Table::IsInTable(Z-2,A-4))275 if(N>1&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2)) 276 276 mA=G4NucleiProperties::GetNuclearMass(A-4.,Z-2.)/MeV; // ResNucMass for an alpha 277 277 -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QProtonNuclearCrossSection.cc
r819 r962 26 26 // 27 27 // The lust update: M.V. Kossov, CERN/ITEP(Moscow) 17-June-02 28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QTauNuclearCrossSection.cc
r819 r962 25 25 // 26 26 // 27 // $Id: G4QTauNuclearCrossSection.cc,v 1.1 0 2006/12/04 10:44:22 mkossovExp $28 // GEANT4 tag $Name: $27 // $Id: G4QTauNuclearCrossSection.cc,v 1.11 2008/10/24 19:24:29 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // … … 269 269 //G4double mT= G4QPDGCode(111).GetNuclMass(Z,N,0); 270 270 G4double mT= 0.; 271 if(G4NucleiProperties Table::IsInTable(Z,A))272 mT=G4NucleiProperties::GetNuclearMass(A,Z)/MeV;271 if(G4NucleiProperties::IsInStableTable(A,Z)) 272 mT = G4NucleiProperties::GetNuclearMass(A,Z)/MeV; 273 273 else return 0.; // If it is not in the Table of Stable Nuclei, then the Threshold=0 274 274 // --------- Splitting thresholds 275 275 G4double mP= infEn; 276 if(Z&&G4NucleiProperties Table::IsInTable(Z-1,A-1))277 mP =G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton276 if(Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1)) 277 mP = G4NucleiProperties::GetNuclearMass(A-1.,Z-1.)/MeV; // ResNucMass for a proton 278 278 279 279 G4double mN= infEn; 280 if(N&&G4NucleiProperties Table::IsInTable(Z,A-1))281 mN =G4NucleiProperties::GetNuclearMass(A-1.,Z-0.)/MeV; // ResNucMass for a neutron280 if(N&&G4NucleiProperties::IsInStableTable(A-1,Z)) 281 mN = G4NucleiProperties::GetNuclearMass(A-1.,Z)/MeV; // ResNucMass for a neutron 282 282 283 283 G4double mA= infEn; 284 if(N>1&&Z>1&&G4NucleiProperties Table::IsInTable(Z-2,A-4))285 mA =G4NucleiProperties::GetNuclearMass(A-4.,Z-2.)/MeV; // ResNucMass for an alpha284 if(N>1&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2)) 285 mA = G4NucleiProperties::GetNuclearMass(A-4.,Z-2.)/MeV; // ResNucMass for an alpha 286 286 287 287 G4double dP= mP +mProt - mT; -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QuasiFreeRatios.cc
r819 r962 25 25 // 26 26 // 27 // $Id: G4QuasiFreeRatios.cc,v 1.1 6.2.1 2008/04/23 14:57:22 gcosmoExp $28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $27 // $Id: G4QuasiFreeRatios.cc,v 1.19 2008/03/21 21:44:39 dennis Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4VQCrossSection.cc
r819 r962 26 26 // 27 27 // $Id: G4VQCrossSection.cc,v 1.14 2007/11/15 09:36:43 mkossov Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 //
Note: See TracChangeset
for help on using the changeset viewer.