Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (14 years ago)
Author:
garnier
Message:

geant4 tag 9.4

Location:
trunk/source/processes/hadronic/models/de_excitation/management
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/de_excitation/management/include/G4VEvaporationChannel.hh

    r1340 r1347  
    2424// ********************************************************************
    2525//
    26 // $Id: G4VEvaporationChannel.hh,v 1.6 2010/05/11 11:16:04 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     26// $Id: G4VEvaporationChannel.hh,v 1.7 2010/10/29 17:35:04 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2828//
    2929// Hadronic Process: Nuclear De-excitations
     
    5252  virtual ~G4VEvaporationChannel();
    5353
    54 private:
    55 
    56   G4VEvaporationChannel(const G4VEvaporationChannel & right);
    57   const G4VEvaporationChannel & operator=(const G4VEvaporationChannel & right);
    58 
    59 public:
    60 
    61   G4bool operator==(const G4VEvaporationChannel & right) const;
    62   G4bool operator!=(const G4VEvaporationChannel & right) const;
    63 
    6454  virtual void Initialize(const G4Fragment & fragment) = 0;
    6555
     
    7868  virtual G4double GetEmissionProbability(void) const = 0;
    7969
    80   G4String GetName() const {return Name;}
    81   void SetName(const G4String & aName) { Name = aName;}
     70  inline G4String GetName() const {return Name;}
     71  inline void SetName(const G4String & aName) { Name = aName;}
    8272
    8373  // for cross section selection
     
    9484  G4String Name;
    9585
     86  G4VEvaporationChannel(const G4VEvaporationChannel & right);
     87  const G4VEvaporationChannel & operator=(const G4VEvaporationChannel & right);
     88  G4bool operator==(const G4VEvaporationChannel & right) const;
     89  G4bool operator!=(const G4VEvaporationChannel & right) const;
     90
    9691};
    9792
  • trunk/source/processes/hadronic/models/de_excitation/management/src/G4VEvaporationChannel.cc

    r1340 r1347  
    2424// ********************************************************************
    2525//
    26 // $Id: G4VEvaporationChannel.cc,v 1.6 2010/04/25 18:43:08 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     26// $Id: G4VEvaporationChannel.cc,v 1.7 2010/10/29 17:35:04 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2828//
    2929// Hadronic Process: Nuclear De-excitations
     
    3434//                          new virtual methods EmittedFragment(s) to allow more optimal
    3535//                          work with G4Fragment objects; removed unnecesary exceptions
     36// 28.10.2010 V.Ivanchenko defined members in constructor and cleaned up
    3637
    3738#include "G4VEvaporationChannel.hh"
    38 #include "G4HadronicException.hh"
    3939
    4040G4VEvaporationChannel::G4VEvaporationChannel(const G4String & aName)
    41   : Name(aName)
     41  :OPTxs(3),useSICB(false),Name(aName)
    4242{}
    4343
    4444G4VEvaporationChannel::~G4VEvaporationChannel()
    4545{}
    46 
    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 //}
    56 
    57 G4bool G4VEvaporationChannel::operator==(const G4VEvaporationChannel &right) const
    58 {
    59   return (this == (G4VEvaporationChannel *) &right);
    60 }
    61 
    62 G4bool G4VEvaporationChannel::operator!=(const G4VEvaporationChannel &right) const
    63 {
    64   return (this != (G4VEvaporationChannel *) &right);
    65 }
    6646
    6747G4Fragment* G4VEvaporationChannel::EmittedFragment(G4Fragment*)
Note: See TracChangeset for help on using the changeset viewer.