Changeset 1340 for trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4HETCChargedFragment.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/G4HETCChargedFragment.hh
r819 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4HETCChargedFragment.hh,v 1.3 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 … … 30 33 31 34 #include "G4HETCFragment.hh" 32 #include "G4VCoulombBarrier.hh"33 34 35 35 36 class G4HETCChargedFragment : public G4HETCFragment 36 37 { 37 protected:38 // default constructor39 G4HETCChargedFragment() {}40 41 38 public: 42 39 43 // copy constructor 44 G4HETCChargedFragment(const G4HETCChargedFragment &right): 45 G4HETCFragment(right) {} 40 G4HETCChargedFragment(const G4ParticleDefinition*, 41 G4VCoulombBarrier * aCoulombBarrier); 46 42 47 // constructor 48 G4HETCChargedFragment(const G4double anA, 49 const G4double aZ, 50 G4VCoulombBarrier* aCoulombBarrier, 51 const G4String & aName): 52 G4HETCFragment(anA,aZ,aCoulombBarrier,aName) {} 43 virtual ~G4HETCChargedFragment(); 53 44 54 virtual ~G4HETCChargedFragment() {} 45 virtual G4double GetKineticEnergy(const G4Fragment & aFragment); 46 47 private: 55 48 56 49 // operators 50 G4HETCChargedFragment(); 51 G4HETCChargedFragment(const G4HETCChargedFragment &right); 57 52 const G4HETCChargedFragment & 58 operator=(const G4HETCChargedFragment &right) 59 { 60 if (&right != this) this->G4HETCFragment::operator=(right); 61 return *this; 62 } 63 64 G4bool operator==(const G4HETCChargedFragment &right) const 65 { 66 return G4HETCFragment::operator==(right); 67 } 68 69 G4bool operator!=(const G4HETCChargedFragment &right) const 70 { 71 return G4HETCFragment::operator!=(right); 72 } 73 74 75 virtual G4double GetKineticEnergy(const G4Fragment & aFragment); 76 53 operator=(const G4HETCChargedFragment &right); 54 G4bool operator==(const G4HETCChargedFragment &right) const; 55 G4bool operator!=(const G4HETCChargedFragment &right) const; 77 56 78 57 };
Note: See TracChangeset
for help on using the changeset viewer.