52 default_evaluation =
"endl99";
62 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
73 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
94 for (
size_t i = 0 ; i < numberOfElements ; ++i )
97 const G4Element* anElement = (*theElementTable)[i];
100 if ( numberOfIsotope > 0 )
103 for (
G4int i_iso = 0 ; i_iso < numberOfIsotope ; i_iso++ )
109 if ( allow_nat ==
true ) aTarget->
AllowNat();
110 if ( allow_any ==
true ) aTarget->
AllowAny();
122 for (
G4int ii = 0 ; ii < numberOfNistIso ; ii++ )
131 if ( allow_nat ==
true ) aTarget->
AllowNat();
132 if ( allow_any ==
true ) aTarget->
AllowAny();
145 G4cout <<
"Requested Evaluation, Z , A -> Actual Evaluation, Z , A(0=Nat) , Pointer of Target" <<
G4endl;
146 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
150 <<
" " << it->second->GetWantedEvaluation()
151 <<
", " << it->second->GetWantedZ()
152 <<
", " << it->second->GetWantedA()
153 <<
" -> " << it->second->GetActualEvaluation()
154 <<
", " << it->second->GetActualZ()
155 <<
", " << it->second->GetActualA()
156 <<
", " << it->second->GetTarget()
200 , G4RandGauss::shoot() * std::sqrt( kT*mass )
201 , G4RandGauss::shoot() * std::sqrt( kT*mass ) );
214 G4double cmsMom = std::sqrt(the3CMS*the3CMS);
215 G4double sqrts = std::sqrt((totE-cmsMom)*(totE+cmsMom));
219 theNeutron.
Lorentz(theNeutron, theCMS);
220 theTarget.
Lorentz(theTarget, theCMS);
226 tempVector.
setX(std::cos(theta)*std::sin(cms_theta)*std::cos(cms_phi)
227 +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::cos(cms_phi)
228 -std::sin(theta)*std::sin(phi)*std::sin(cms_phi) );
229 tempVector.
setY(std::cos(theta)*std::sin(cms_theta)*std::sin(cms_phi)
230 +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::sin(cms_phi)
231 +std::sin(theta)*std::sin(phi)*std::cos(cms_phi) );
232 tempVector.
setZ(std::cos(theta)*std::cos(cms_theta)
233 -std::sin(theta)*std::cos(phi)*std::sin(cms_theta) );
240 theNeutron.
Lorentz(theNeutron, -1.*theCMS);
241 theTarget.
Lorentz(theTarget, -1.*theCMS);