45 double MyRNG(
void*) { 
return  G4Random::getTheEngine()->flat(); }
    69    for ( std::map< G4int , G4LENDUsedTarget* >::iterator 
    80    for ( std::map< G4int , G4LENDUsedTarget* >::iterator 
   101    for ( 
size_t i = 0 ; i < numberOfElements ; ++i )
   104       const G4Element* anElement = (*theElementTable)[i];
   107       if ( numberOfIsotope > 0 )
   110          for ( 
G4int i_iso = 0 ; i_iso < numberOfIsotope ; i_iso++ )
   130          for ( 
G4int ii = 0 ; ii < numberOfNistIso ; ii++ )
   155    G4cout << 
"Requested Evaluation, Z , A -> Actual Evaluation, Z , A(0=Nat) " << 
G4endl;
   156    for ( std::map< G4int , G4LENDUsedTarget* >::iterator 
   160          << 
" " << it->second->GetWantedEvaluation() 
   161          << 
", " << it->second->GetWantedZ() 
   162          << 
", " << it->second->GetWantedA() 
   163          << 
" -> " << it->second->GetActualEvaluation() 
   164          << 
", " << it->second->GetActualZ() 
   165          << 
", " << it->second->GetActualA() 
   205    theNeutron.SetKineticEnergy( ke );
   222      G4double nEnergy = theNeutron.GetTotalEnergy();
   229      G4double cmsMom = std::sqrt(the3CMS*the3CMS);
   230      G4double sqrts = std::sqrt((totE-cmsMom)*(totE+cmsMom));
   234        theNeutron.Lorentz(theNeutron, theCMS);
   235        theTarget.
Lorentz(theTarget, theCMS);
   236        G4double en = theNeutron.GetTotalMomentum(); 
   241        tempVector.
setX(std::cos(theta)*std::sin(cms_theta)*std::cos(cms_phi)
   242                        +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::cos(cms_phi)
   243                        -std::sin(theta)*std::sin(phi)*std::sin(cms_phi)  );
   244        tempVector.
setY(std::cos(theta)*std::sin(cms_theta)*std::sin(cms_phi)
   245                        +std::sin(theta)*std::cos(phi)*std::cos(cms_theta)*std::sin(cms_phi)
   246                        +std::sin(theta)*std::sin(phi)*std::cos(cms_phi)  );
   247        tempVector.
setZ(std::cos(theta)*std::cos(cms_theta)
   248                        -std::sin(theta)*std::cos(phi)*std::sin(cms_theta)  );
   250        theNeutron.SetMomentum(tempVector);
   255        theNeutron.Lorentz(theNeutron, -1.*theCMS);
   256        theTarget.
Lorentz(theTarget, -1.*theCMS);
 
ThreeVector shoot(const G4int Ap, const G4int Af)
 
void SetMomentum(const G4ThreeVector &momentum)
 
const G4Isotope * GetIsotope(G4int iso) const
 
const G4Material * GetMaterial() const
 
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
 
G4double GetIsotopeAbundance(G4int Z, G4int N) const
 
const G4LorentzVector & Get4Momentum() const
 
void SetMomentum(const G4double x, const G4double y, const G4double z)
 
G4NistElementBuilder * GetNistElementBuilder()
 
G4String default_evaluation
 
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
 
void recreate_used_target_map()
 
G4ParticleDefinition * proj
 
G4LENDModel(G4String name="LENDModel")
 
size_t GetNumberOfIsotopes() const
 
G4int GetNucleusEncoding(G4int iZ, G4int iA, G4int iM)
 
void SetMinEnergy(G4double anEnergy)
 
void SetMass(const G4double mas)
 
G4GLOB_DLL std::ostream G4cout
 
static size_t GetNumberOfElements()
 
double getElasticFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
 
std::map< G4int, G4LENDUsedTarget *> usedTarget_map
 
void SetTotalEnergy(const G4double en)
 
static const double twopi
 
G4ErrorTarget * theTarget
 
static const double second
 
G4double GetTemperature() const
 
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
 
static G4IonTable * GetIonTable()
 
G4double GetTotalMomentum() const
 
const G4ParticleDefinition * GetDefinition() const
 
void SetEnergyChange(G4double anEnergy)
 
G4double GetKineticEnergy() const
 
static G4LENDManager * GetInstance()
 
void create_used_target_map()
 
const G4Isotope * GetIsotope()
 
G4double GetPDGMass() const
 
G4double GetTotalEnergy() const
 
void SetMaxEnergy(const G4double anEnergy)
 
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
 
std::vector< G4Element * > G4ElementTable
 
G4int GetNumberOfNistIsotopes(G4int Z) const
 
const G4String & GetModelName() const
 
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
 
G4bool RequestChangeOfVerboseLevel(G4int)
 
G4LENDManager * lend_manager
 
G4int GetNistFirstIsotopeN(G4int Z) const
 
static G4ElementTable * GetElementTable()
 
void SetMomentumChange(const G4ThreeVector &aV)
 
G4ThreeVector GetMomentum() const