Changeset 1340 for trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundNeutron.hh
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundNeutron.hh
r962 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PreCompoundNeutron.hh,v 1.13 2010/08/28 15:16:55 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-ref-09 $ 26 28 // 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 29 36 30 37 #ifndef G4PreCompoundNeutron_h … … 32 39 33 40 #include "G4PreCompoundNucleon.hh" 34 #include "G4ReactionProduct.hh"35 #include "G4Neutron.hh"36 #include "G4PreCompoundParameters.hh"37 #include "Randomize.hh"38 41 #include "G4NeutronCoulombBarrier.hh" 39 40 42 41 43 class G4PreCompoundNeutron : public G4PreCompoundNucleon 42 44 { 43 45 public: 44 // default constructor45 G4PreCompoundNeutron() : G4PreCompoundNucleon(1,0,&theNeutronCoulombBarrier,"Neutron") {}46 46 47 // copy constructor 48 G4PreCompoundNeutron(const G4PreCompoundNeutron &right): G4PreCompoundNucleon(right) {} 47 G4PreCompoundNeutron(); 49 48 50 // destructor 51 ~G4PreCompoundNeutron() {} 49 virtual ~G4PreCompoundNeutron(); 52 50 53 // operators 54 const G4PreCompoundNeutron & operator=(const G4PreCompoundNeutron &right) { 55 if (&right != this) this->G4PreCompoundNucleon::operator=(right); 56 return *this; 57 } 51 protected: 58 52 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); 64 54 55 virtual G4double CrossSection(G4double ekin); 65 56 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 68 65 private: 69 66 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; 71 73 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; 96 82 }; 97 98 83 99 84 #endif
Note: See TracChangeset
for help on using the changeset viewer.