Changeset 1315 for trunk/source/processes/hadronic/models/de_excitation/management/src/G4VEvaporationChannel.cc
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/de_excitation/management/src/G4VEvaporationChannel.cc
r1228 r1315 24 24 // ******************************************************************** 25 25 // 26 // 27 // $Id: G4VEvaporationChannel.cc,v 1.5 2006/06/29 20:23:55 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 26 // $Id: G4VEvaporationChannel.cc,v 1.6 2010/04/25 18:43:08 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 29 28 // 30 29 // Hadronic Process: Nuclear De-excitations 31 30 // by V. Lara (Oct 1998) 32 31 // 32 // Modified: 33 // 24.04.2010 (V.Ivanchenko) moved constructor and destructor to source; added two 34 // new virtual methods EmittedFragment(s) to allow more optimal 35 // work with G4Fragment objects; removed unnecesary exceptions 33 36 34 37 #include "G4VEvaporationChannel.hh" 35 38 #include "G4HadronicException.hh" 36 39 37 G4VEvaporationChannel::G4VEvaporationChannel(const G4VEvaporationChannel &) 38 { 39 throw G4HadronicException(__FILE__, __LINE__, "G4VEvaporationChannel::copy_constructor meant to not be accessable"); 40 } 40 G4VEvaporationChannel::G4VEvaporationChannel(const G4String & aName) 41 : Name(aName) 42 {} 41 43 44 G4VEvaporationChannel::~G4VEvaporationChannel() 45 {} 42 46 43 44 45 const G4VEvaporationChannel & G4VEvaporationChannel::operator=(const G4VEvaporationChannel &) 46 { 47 throw G4HadronicException(__FILE__, __LINE__, "G4VEvaporationChannel::operator= meant to not be accessable"); 48 return *this; 49 } 50 47 //G4VEvaporationChannel::G4VEvaporationChannel(const G4VEvaporationChannel &) 48 //{ 49 // throw G4HadronicException(__FILE__, __LINE__, "G4VEvaporationChannel::copy_constructor meant to not be accessable"); 50 //} 51 //const G4VEvaporationChannel & G4VEvaporationChannel::operator=(const G4VEvaporationChannel &) 52 //{ 53 // throw G4HadronicException(__FILE__, __LINE__, "G4VEvaporationChannel::operator= meant to not be accessable"); 54 // return *this; 55 //} 51 56 52 57 G4bool G4VEvaporationChannel::operator==(const G4VEvaporationChannel &right) const 53 58 { 54 return (this == (G4VEvaporationChannel *) &right); 55 // return false; 59 return (this == (G4VEvaporationChannel *) &right); 56 60 } 57 61 58 62 G4bool G4VEvaporationChannel::operator!=(const G4VEvaporationChannel &right) const 59 63 { 60 return (this != (G4VEvaporationChannel *) &right); 61 // return true; 64 return (this != (G4VEvaporationChannel *) &right); 62 65 } 63 66 67 G4Fragment* G4VEvaporationChannel::EmittedFragment(G4Fragment*) 68 { 69 return 0; 70 } 64 71 72 G4FragmentVector* G4VEvaporationChannel::BreakUpFragment(G4Fragment*) 73 { 74 return 0; 75 }
Note: See TracChangeset
for help on using the changeset viewer.