Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/de_excitation/management/src/G4VEvaporationChannel.cc

    r1228 r1315  
    2424// ********************************************************************
    2525//
    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 $
    2928//
    3029// Hadronic Process: Nuclear De-excitations
    3130// by V. Lara (Oct 1998)
    3231//
     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
    3336
    3437#include "G4VEvaporationChannel.hh"
    3538#include "G4HadronicException.hh"
    3639
    37 G4VEvaporationChannel::G4VEvaporationChannel(const G4VEvaporationChannel &)
    38 {
    39  throw G4HadronicException(__FILE__, __LINE__, "G4VEvaporationChannel::copy_constructor meant to not be accessable");
    40 }
     40G4VEvaporationChannel::G4VEvaporationChannel(const G4String & aName)
     41  : Name(aName)
     42{}
    4143
     44G4VEvaporationChannel::~G4VEvaporationChannel()
     45{}
    4246
    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//}
    5156
    5257G4bool G4VEvaporationChannel::operator==(const G4VEvaporationChannel &right) const
    5358{
    54     return (this == (G4VEvaporationChannel *) &right);
    55     //  return false;
     59  return (this == (G4VEvaporationChannel *) &right);
    5660}
    5761
    5862G4bool G4VEvaporationChannel::operator!=(const G4VEvaporationChannel &right) const
    5963{
    60     return (this != (G4VEvaporationChannel *) &right);
    61     //  return true;
     64  return (this != (G4VEvaporationChannel *) &right);
    6265}
    6366
     67G4Fragment* G4VEvaporationChannel::EmittedFragment(G4Fragment*)
     68{
     69  return 0;
     70}
    6471
     72G4FragmentVector* G4VEvaporationChannel::BreakUpFragment(G4Fragment*)
     73{
     74  return 0;
     75}
Note: See TracChangeset for help on using the changeset viewer.