- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- Location:
- trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/History
r1196 r1315 12 12 * Please list in reverse chronological order (last date on top) 13 13 --------------------------------------------------------------- 14 15 25-May-2010 M.Kosov (hadr-chips-inter-V09-03-00) 16 --------------------------------------------------------------------------- 17 Z+N instead of N for A, which sometimes in G4Had is called N. 18 19 24-Jan-2010 M.Kosov (hadr-chips-V09-03-01) 20 ----------------------------------------------------------------------- 21 Mutual tag: G4Hadr interface to CHIPS elastic is added 14 22 15 23 17-Nov-2009 M.Kosov (hadr-chips-V09-02-24) -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/include/G4QHadronInelasticDataSet.hh
r1228 r1315 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QHadronInelasticDataSet.hh,v 1. 1 2009/11/20 10:08:36mkossov Exp $27 // GEANT4 tag $Name: geant4-09-0 3$26 // $Id: G4QHadronInelasticDataSet.hh,v 1.2 2010/01/22 17:02:49 mkossov Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 28 28 // 29 29 // GEANT4 physics class: G4QHadronInelasticDataSet -- header file … … 117 117 private: 118 118 119 //G4VQCrossSection* CHIPSpAin;120 //G4VQCrossSection* CHIPSnAin;121 //G4VQCrossSection* CHIPSpimAin;122 //G4VQCrossSection* CHIPSpipAin;123 //G4VQCrossSection* CHIPSkpAin;124 //G4VQCrossSection* CHIPSkmAin;125 //G4VQCrossSection* CHIPSk0Ain;126 //G4VQCrossSection* CHIPShAin;127 //G4VQCrossSection* CHIPShpAin;128 //G4VQCrossSection* CHIPSabpAin;129 //G4VQCrossSection* CHIPSabAin;130 ////G4VQCrossSection* CHIPSphAin;131 ////G4VQCrossSection* CHIPSeAin;132 ////G4VQCrossSection* CHIPSmuAin;133 ////G4VQCrossSection* CHIPStauAin;134 ////G4VQCrossSection* CHIPSnumAin;135 ////G4VQCrossSection* CHIPSanumAin;136 ////G4VQCrossSection* CHIPSnueAin;137 ////G4VQCrossSection* CHIPSanueAin;138 ////G4VQCrossSection* CHIPSnunuAin;139 ////G4VQCrossSection* CHIPSananAin;140 119 G4QIsotope* Isotopes; // Pointer to the G4QIsotopes singleton 141 120 static std::vector <G4int> ElementZ; // Z of the element(i) in theLastCalc -
trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/src/G4QHadronInelasticDataSet.cc
r1228 r1315 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QHadronInelasticDataSet.cc,v 1. 1 2009/11/20 10:08:36 mkossov Exp $27 // GEANT4 tag $Name: geant4-09-0 3$26 // $Id: G4QHadronInelasticDataSet.cc,v 1.2 2010/05/26 12:19:06 mkossov Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 28 28 // 29 29 // GEANT4 physics class: G4QHadronInelasticDataSet -- header file … … 160 160 G4double) 161 161 { 162 G4int IPIE=IsoProbInEl.size(); 163 if(IPIE) for(G4int ip=0; ip<IPIE; ++ip) 162 G4int IPIE=IsoProbInEl.size(); // How many old elements? 163 if(IPIE) for(G4int ip=0; ip<IPIE; ++ip) // Clean up the SumProb's of Isotopes (SPI) 164 164 { 165 165 std::vector<G4double>* SPI=IsoProbInEl[ip]; // Pointer to the SPI vector 166 166 SPI->clear(); 167 167 delete SPI; 168 std::vector<G4int>* IsN=ElIsoN[ip]; 168 std::vector<G4int>* IsN=ElIsoN[ip]; // Pointer to the N vector 169 169 IsN->clear(); 170 170 delete IsN; 171 171 } 172 ElementZ.clear(); 173 IsoProbInEl.clear(); 174 ElIsoN.clear(); 172 ElementZ.clear(); // Clear the body vector for Z of Elements 173 IsoProbInEl.clear(); // Clear the body vector for SPI 174 ElIsoN.clear(); // Clear the body vector for N of Isotopes 175 175 G4int Z = static_cast<G4int>(pElement->GetZ()); // Z of the Element 176 176 ElementZ.push_back(Z); // Remember Z of the Element … … 190 190 { 191 191 G4int N=pElement->GetIsotope(j)->GetN()-Z; // N means A=N+Z ! 192 if(pElement->GetIsotope(j)->GetZ()!=Z)G4cerr<<"G4QCollision::GetMeanFreePath" 193 <<": Z="<<pElement->GetIsotope(j)->GetZ()<<"#"<<Z<<G4endl; 192 if(pElement->GetIsotope(j)->GetZ()!=Z) 193 G4cerr<<"G4QHadronInelasticDataSet::GetCrossSection"<<": Z=" 194 <<pElement->GetIsotope(j)->GetZ()<<" # "<<Z<<G4endl; 194 195 G4double abund=abuVector[j]; 195 196 std::pair<G4int,G4double>* pr= new std::pair<G4int,G4double>(N,abund); … … 213 214 G4int N=curIs->first; // #of Neuterons in the isotope j of El i 214 215 IsN->push_back(N); // Remember Min N for the Element 215 G4double CSI=GetIsoZACrossSection(Pt,Z, N,0.);//CrossSection(j,i) for the isotope216 G4double CSI=GetIsoZACrossSection(Pt,Z,Z+N,0.);//CrossSection(j,i) for the isotope 216 217 curIs->second = CSI; 217 218 susi+=CSI; // Make a sum per isotopes
Note: See TracChangeset
for help on using the changeset viewer.