Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

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

    r962 r1340  
    2424// ********************************************************************
    2525//
     26// $Id: G4PreCompoundNeutron.hh,v 1.13 2010/08/28 15:16:55 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03-ref-09 $
    2628//
    27 //J. M. Quesada (July  08)
    28 
     29// by V. Lara
     30//
     31// Modified:
     32// J. M. Quesada (July 08) cleanup
     33// 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added
     34//                        G4ParticleDefinition to constructor,
     35//                        moved constructor and destructor to source
    2936
    3037#ifndef G4PreCompoundNeutron_h
     
    3239
    3340#include "G4PreCompoundNucleon.hh"
    34 #include "G4ReactionProduct.hh"
    35 #include "G4Neutron.hh"
    36 #include "G4PreCompoundParameters.hh"
    37 #include "Randomize.hh"
    3841#include "G4NeutronCoulombBarrier.hh"
    39 
    4042
    4143class G4PreCompoundNeutron : public G4PreCompoundNucleon
    4244{
    4345public:
    44   // default constructor
    45   G4PreCompoundNeutron() : G4PreCompoundNucleon(1,0,&theNeutronCoulombBarrier,"Neutron") {}
    4646
    47   // copy constructor
    48   G4PreCompoundNeutron(const G4PreCompoundNeutron &right): G4PreCompoundNucleon(right) {}
     47  G4PreCompoundNeutron();
    4948
    50   // destructor
    51   ~G4PreCompoundNeutron() {}
     49  virtual ~G4PreCompoundNeutron();
    5250
    53   // operators 
    54   const G4PreCompoundNeutron & operator=(const G4PreCompoundNeutron &right) {
    55     if (&right != this) this->G4PreCompoundNucleon::operator=(right);
    56     return *this;
    57   }
     51protected:
    5852
    59   G4bool operator==(const G4PreCompoundNeutron &right) const
    60   { return G4PreCompoundNucleon::operator==(right);}
    61  
    62   G4bool operator!=(const G4PreCompoundNeutron &right) const
    63   { return G4PreCompoundNucleon::operator!=(right);}
     53  virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged);
    6454
     55  virtual G4double CrossSection(G4double ekin);
    6556
    66   G4ReactionProduct * GetReactionProduct() const;
    67  
     57  virtual G4double GetAlpha();
     58
     59  virtual G4double GetBeta();
     60
     61  G4double GetOpt12(G4double K);
     62
     63  G4double GetOpt34(G4double K);
     64
    6865private:
    6966
    70   virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged);
     67  // operators
     68  G4PreCompoundNeutron(const G4PreCompoundNeutron &right);
     69  const G4PreCompoundNeutron&
     70  operator= (const G4PreCompoundNeutron &right);
     71  G4int operator==(const G4PreCompoundNeutron &right) const;
     72  G4int operator!=(const G4PreCompoundNeutron &right) const;   
    7173
    72   virtual G4double CrossSection(const  G4double K);
    73 
    74 
    75   G4double GetOpt0(const G4double K);
    76   G4double GetOpt12(const G4double K);
    77   G4double GetOpt34(const G4double K);
    78 
    79  
    80   G4double GetAlpha();
    81  
    82   G4double GetBeta();
    83  
    84 //data members
    85 
    86       G4NeutronCoulombBarrier theNeutronCoulombBarrier;
    87       G4double ResidualA;
    88       G4double ResidualZ;
    89       G4double theA;
    90       G4double theZ;
    91       G4double ResidualAthrd;
    92       G4double FragmentA;
    93       G4double FragmentAthrd;
    94 
    95  
     74  G4NeutronCoulombBarrier theNeutronCoulombBarrier;
     75  G4double ResidualAthrd;
     76  G4double FragmentAthrd;
     77  G4int FragmentA;
     78  G4int ResidualA;
     79  G4int ResidualZ;
     80  G4int theA;
     81  G4int theZ;
    9682};
    97 
    9883 
    9984#endif
Note: See TracChangeset for help on using the changeset viewer.