Changeset 1340 for trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4VPreCompoundFragment.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/G4VPreCompoundFragment.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // 27 // $Id: G4VPreCompoundFragment.hh,v 1.10 2009/02/10 16:01:37 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 26 // $Id: G4VPreCompoundFragment.hh,v 1.11 2010/08/28 15:16:55 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-ref-09 $ 29 28 // 30 29 // J. M. Quesada (August 2008). … … 35 34 // JMQ (06 September 2008) Also external choice has been added for: 36 35 // - superimposed Coulomb barrier (if useSICB=true) 36 // 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added 37 // G4ParticleDefinition to constructor, 38 // inline method to build G4ReactionProduct; 39 // remove string name 40 // 37 41 38 42 #ifndef G4VPreCompoundFragment_h … … 41 45 #include "G4ios.hh" 42 46 #include <iomanip> 43 #include "G4Particle Table.hh"47 #include "G4ParticleDefinition.hh" 44 48 #include "G4IonTable.hh" 45 49 #include "G4Fragment.hh" 46 50 #include "G4VCoulombBarrier.hh" 47 48 class G4ReactionProduct; 51 #include "G4ReactionProduct.hh" 52 #include "G4PreCompoundParameters.hh" 53 #include "G4Pow.hh" 49 54 50 55 class G4VPreCompoundFragment 51 56 { 57 public: 58 52 59 // ============================ 53 60 // Constructors and destructor 54 61 // ============================ 55 56 protected:57 // default constructor58 G4VPreCompoundFragment() {};59 62 60 public: 61 // copy constructor 62 G4VPreCompoundFragment(const G4VPreCompoundFragment &right); 63 64 // constructor 65 G4VPreCompoundFragment(const G4double anA, const G4double aZ, 66 G4VCoulombBarrier * aCoulombBarrier, 67 const G4String & aName); 68 63 G4VPreCompoundFragment(const G4ParticleDefinition*, 64 G4VCoulombBarrier * aCoulombBarrier); 69 65 70 66 virtual ~G4VPreCompoundFragment(); … … 73 69 // operators 74 70 // ========== 75 76 const G4VPreCompoundFragment&77 operator= (const G4VPreCompoundFragment &right);78 79 G4int operator==(const G4VPreCompoundFragment &right) const;80 81 G4int operator!=(const G4VPreCompoundFragment &right) const;82 71 83 72 friend std::ostream& … … 89 78 // Pure Virtual methods 90 79 // ===================== 91 virtual G4ReactionProduct * GetReactionProduct() const = 0;92 80 93 81 // Initialization method … … 103 91 virtual G4double GetKineticEnergy(const G4Fragment & aFragment) = 0; 104 92 105 public: 106 inline G4double GetA() const; 93 inline G4ReactionProduct * GetReactionProduct() const; 94 95 inline G4int GetA() const; 107 96 108 inline G4 doubleGetZ() const;97 inline G4int GetZ() const; 109 98 110 inline G4 doubleGetRestA() const;99 inline G4int GetRestA() const; 111 100 112 inline G4double GetRestZ() const; 101 inline G4int GetRestZ() const; 102 103 inline G4double ResidualA13() const; 113 104 114 105 inline G4double GetCoulombBarrier() const; … … 128 119 inline G4double GetReducedMass() const; 129 120 130 inline const G4LorentzVector GetMomentum() const;121 inline const G4LorentzVector& GetMomentum() const; 131 122 132 123 inline void SetMomentum(const G4LorentzVector & value); 133 124 134 inline void SetFragmentName(const G4String& aName);135 136 125 inline const G4String GetName() const; 137 138 inline void ResetStage();139 140 inline G4int GetStage() const;141 142 inline void IncrementStage();143 126 144 127 //for inverse cross section choice … … 147 130 inline void UseSICB(G4bool); 148 131 132 protected: 149 133 134 inline G4bool IsItPossible(const G4Fragment & aFragment) const; 135 136 private: 137 138 // default constructor 139 G4VPreCompoundFragment(); 140 // copy constructor 141 G4VPreCompoundFragment(const G4VPreCompoundFragment &right); 142 const G4VPreCompoundFragment& 143 operator= (const G4VPreCompoundFragment &right); 144 G4int operator==(const G4VPreCompoundFragment &right) const; 145 G4int operator!=(const G4VPreCompoundFragment &right) const; 150 146 151 147 // ============= … … 153 149 // ============= 154 150 155 156 private: 157 158 G4double theA; 159 160 G4double theZ; 161 private: 162 163 G4double theRestNucleusA; 164 165 G4double theRestNucleusZ; 166 protected: 167 G4double theCoulombBarrier; 168 private: 151 const G4ParticleDefinition* particle; 169 152 G4VCoulombBarrier * theCoulombBarrierPtr; 170 153 154 G4int theA; 155 G4int theZ; 156 G4int theRestNucleusA; 157 G4int theRestNucleusZ; 158 159 G4double theRestNucleusA13; 171 160 G4double theBindingEnergy; 161 G4double theMaximalKineticEnergy; 162 G4double theRestNucleusMass; 163 G4double theReducedMass; 164 G4double theMass; 172 165 173 G4 double theMaximalKineticEnergy;166 G4LorentzVector theMomentum; 174 167 175 168 protected: 169 170 G4PreCompoundParameters* theParameters; 171 G4Pow* g4pow; 172 176 173 G4double theEmissionProbability; 177 private: 178 G4LorentzVector theMomentum; 179 180 G4String theFragmentName; 174 G4double theCoulombBarrier; 181 175 182 G4int theStage; 183 184 protected: 185 //for inverse cross section choice 176 //for inverse cross section choice 186 177 G4int OPTxs; 187 //for superimposed Coulomb Barrier for inverse cross sections178 //for superimposed Coulomb Barrier for inverse cross sections 188 179 G4bool useSICB; 189 180 };
Note: See TracChangeset
for help on using the changeset viewer.