Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundNeutron.hh

    r819 r962  
    2525//
    2626//
    27 // $Id: G4PreCompoundNeutron.hh,v 1.7 2007/10/01 10:42:00 ahoward Exp $
    28 // GEANT4 tag $Name:  $
    29 //
    30 // by V. Lara
     27//J. M. Quesada (July  08)
    3128
    3229
     
    3936#include "G4PreCompoundParameters.hh"
    4037#include "Randomize.hh"
    41 
    4238#include "G4NeutronCoulombBarrier.hh"
    4339
     
    4743public:
    4844  // default constructor
    49   G4PreCompoundNeutron() : G4PreCompoundNucleon(1,0,&theNeutronCoulomBarrier,"Neutron") {}
     45  G4PreCompoundNeutron() : G4PreCompoundNucleon(1,0,&theNeutronCoulombBarrier,"Neutron") {}
    5046
    5147  // copy constructor
     
    6864
    6965
    70   G4ReactionProduct * GetReactionProduct() const
    71   {
    72     G4ReactionProduct * theReactionProduct =
    73       new G4ReactionProduct(G4Neutron::NeutronDefinition());
    74     theReactionProduct->SetMomentum(GetMomentum().vect());
    75     theReactionProduct->SetTotalEnergy(GetMomentum().e());
    76 #ifdef PRECOMPOUND_TEST
    77     theReactionProduct->SetCreatorModel("G4PrecompoundModel");
    78 #endif
    79     return theReactionProduct;
    80   }
     66  G4ReactionProduct * GetReactionProduct() const;
    8167 
    8268private:
    8369
    84 // added Rj method according to literature and JMQ - formula from Jose Quesada
    85   virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged)
    86   {
    87     G4double rj = 1.0;
    88     if(NumberParticles != 0) rj = static_cast<G4double>(NumberParticles - NumberCharged)/static_cast<G4double>(NumberParticles);
    89     return rj;
    90   }
     70  virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged);
     71
     72  virtual G4double CrossSection(const  G4double K);
    9173
    9274
    93   virtual G4double GetAlpha()
    94   {
    95     return 0.76+2.2/std::pow(GetRestA(),1.0/3.0);
    96   }
     75  G4double GetOpt0(const G4double K);
     76  G4double GetOpt12(const G4double K);
     77  G4double GetOpt34(const G4double K);
     78
    9779 
    98   virtual G4double GetBeta()
    99   {
    100     return (2.12/std::pow(GetRestA(),2.0/3.0)-0.05)*MeV/GetAlpha();
    101   }
     80  G4double GetAlpha();
    10281 
    103   virtual G4bool IsItPossible(const G4Fragment& aFragment)
    104   {
    105     return ((aFragment.GetNumberOfParticles()-aFragment.GetNumberOfCharged()) >= 1); 
    106   }
     82  G4double GetBeta();
    10783 
     84//data members
    10885
    109 private:
    110  
    111   G4NeutronCoulombBarrier theNeutronCoulomBarrier;
     86      G4NeutronCoulombBarrier theNeutronCoulombBarrier;
     87      G4double ResidualA;
     88      G4double ResidualZ;
     89      G4double theA;
     90      G4double theZ;
     91      G4double ResidualAthrd;
     92      G4double FragmentA;
     93      G4double FragmentAthrd;
    11294
     95 
    11396};
    11497
     98 
    11599#endif
    116100
Note: See TracChangeset for help on using the changeset viewer.