Changeset 1340 for trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundDeuteron.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/G4PreCompoundDeuteron.hh
r962 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PreCompoundDeuteron.hh,v 1.13 2010/08/28 15:16:55 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-ref-09 $ 28 // 26 29 // by V. Lara 27 30 // 28 //J. M. Quesada (July 08) 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 G4PreCompoundDeuteron_h … … 32 39 33 40 #include "G4PreCompoundIon.hh" 34 #include "G4ReactionProduct.hh"35 #include "G4Deuteron.hh"36 41 #include "G4DeuteronCoulombBarrier.hh" 37 #include "G4PreCompoundParameters.hh"38 39 42 40 43 class G4PreCompoundDeuteron : public G4PreCompoundIon 41 44 { 42 45 public: 43 // default constructor44 G4PreCompoundDeuteron():G4PreCompoundIon(2,1,&theDeuteronCoulombBarrier,"Deuteron") {}45 46 46 // copy constructor 47 G4PreCompoundDeuteron(const G4PreCompoundDeuteron &right): G4PreCompoundIon(right) {} 47 G4PreCompoundDeuteron(); 48 48 49 // destructor 50 ~G4PreCompoundDeuteron() {} 49 ~G4PreCompoundDeuteron(); 51 50 52 // operators 53 const G4PreCompoundDeuteron & operator=(const G4PreCompoundDeuteron &right) { 54 if (&right != this) this->G4PreCompoundIon::operator=(right); 55 return *this; 56 } 51 protected: 57 52 58 G4bool operator==(const G4PreCompoundDeuteron &right) const 59 { return G4PreCompoundIon::operator==(right);} 53 virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged); 60 54 55 virtual G4double CrossSection(G4double ekin); 56 57 virtual G4double FactorialFactor(G4int N, G4int P); 58 59 virtual G4double CoalescenceFactor(G4int A); 60 61 virtual G4double GetAlpha(); 61 62 62 G4bool operator!=(const G4PreCompoundDeuteron &right) const 63 { return G4PreCompoundIon::operator!=(right);} 63 G4double GetOpt12(G4double K); 64 64 65 G4double GetOpt34(G4double K); 65 66 66 G4ReactionProduct * GetReactionProduct() const;67 68 69 67 private: 70 68 71 virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged); 69 // operators 70 G4PreCompoundDeuteron(const G4PreCompoundDeuteron &right); 71 const G4PreCompoundDeuteron& 72 operator= (const G4PreCompoundDeuteron &right); 73 G4int operator==(const G4PreCompoundDeuteron &right) const; 74 G4int operator!=(const G4PreCompoundDeuteron &right) const; 72 75 73 virtual G4double CrossSection(const G4double K) ; 76 G4DeuteronCoulombBarrier theDeuteronCoulombBarrier; 77 G4int ResidualA; 78 G4int ResidualZ; 79 G4int theA; 80 G4int theZ; 81 G4int FragmentA; 82 G4double ResidualAthrd; 83 G4double FragmentAthrd; 84 }; 74 85 75 virtual G4double FactorialFactor(const G4double N, const G4double P);76 77 virtual G4double CoalescenceFactor(const G4double A);78 79 G4double GetOpt0(const G4double K);80 G4double GetOpt12(const G4double K);81 G4double GetOpt34(const G4double K);82 83 G4double GetAlpha();84 85 G4double GetBeta();86 87 //data members88 89 G4DeuteronCoulombBarrier theDeuteronCoulombBarrier;90 G4double ResidualA;91 G4double ResidualZ;92 G4double theA;93 G4double theZ;94 G4double ResidualAthrd;95 G4double FragmentA;96 G4double FragmentAthrd;97 98 };99 86 #endif 100 87
Note: See TracChangeset
for help on using the changeset viewer.