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()
199 G4ThreeVector v ( G4RandGauss::shoot() * std::sqrt( kT*mass )
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);
std::vector< G4Element * > G4ElementTable
G4DLLIMPORT std::ostream G4cout
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetMomentum(const G4ThreeVector &momentum)
static size_t GetNumberOfElements()
const G4Isotope * GetIsotope(G4int iso) const
size_t GetNumberOfIsotopes() const
static const G4ElementTable * GetElementTable()
double getElasticFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
void AddSecondary(G4DynamicParticle *aP)
void SetEnergyChange(G4double anEnergy)
void SetMomentumChange(const G4ThreeVector &aV)
const G4Material * GetMaterial() const
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
void SetMinEnergy(G4double anEnergy)
const G4String & GetModelName() const
void SetMaxEnergy(const G4double anEnergy)
G4int GetNucleusEncoding(G4int iZ, G4int iA)
G4bool RequestChangeOfVerboseLevel(G4int)
G4NistElementBuilder * GetNistElementBuilder()
static G4LENDManager * GetInstance()
std::map< G4int, G4LENDUsedTarget * > usedTarget_map
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4LENDManager * lend_manager
G4LENDModel(G4String name="LENDModel")
void recreate_used_target_map()
void create_used_target_map()
G4ParticleDefinition * proj
G4double GetTemperature() const
G4int GetNumberOfNistIsotopes(G4int Z)
G4double GetIsotopeAbundance(G4int Z, G4int N)
G4int GetNistFirstIsotopeN(G4int Z)
G4double GetPDGMass() const
G4ParticleDefinition * FindIon(G4int atomicNumber, G4int atomicMass, G4double excitationEnergy)
static G4ParticleTable * GetParticleTable()
void SetMomentum(const G4double x, const G4double y, const G4double z)
void SetTotalEnergy(const G4double en)
G4double GetTotalMomentum() const
G4double GetKineticEnergy() const
G4double GetTotalEnergy() const
G4ThreeVector GetMomentum() const
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
void SetKineticEnergy(const G4double en)
void SetMass(const G4double mas)