Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/src/G4GNASHTransitions.cc

    r819 r1340  
    2424// ********************************************************************
    2525//
     26// $Id: G4GNASHTransitions.cc,v 1.6 2010/08/20 07:42:19 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03-ref-09 $
     28//
     29// 20.08.2010 V.Ivanchenko move constructor and destructor to the source
     30
    2631#include "G4GNASHTransitions.hh"
    2732#include "G4PreCompoundParameters.hh"
    2833#include "G4HadronicException.hh"
    2934
    30 const G4GNASHTransitions & G4GNASHTransitions::
    31 operator=(const G4GNASHTransitions & )
    32 {
    33   throw G4HadronicException(__FILE__, __LINE__, "G4GNASHTransitions::operator= meant to not be accesable");
    34   return *this;
    35 }
     35G4GNASHTransitions::G4GNASHTransitions()
     36{}
    3637
    37 G4bool G4GNASHTransitions::operator==(const G4GNASHTransitions & ) const
    38 {
    39   return false;
    40 }
    41 
    42 G4bool G4GNASHTransitions::operator!=(const G4GNASHTransitions & ) const
    43 {
    44   return true;
    45 }
    46 
     38G4GNASHTransitions::~G4GNASHTransitions()
     39{}
    4740
    4841G4double G4GNASHTransitions::
     
    7265  Probability *= theMatrixElement;
    7366
    74 
    7567  return Probability;
    7668}
    7769
    78 G4Fragment G4GNASHTransitions::
    79 PerformTransition(const G4Fragment & aFragment)
     70void G4GNASHTransitions::PerformTransition(G4Fragment & result)
    8071{
    81   G4Fragment result(aFragment);
    8272  result.SetNumberOfParticles(result.GetNumberOfParticles()+1);
    8373  result.SetNumberOfHoles(result.GetNumberOfHoles()+1);
     
    9181      result.SetNumberOfCharged(result.GetNumberOfParticles());
    9282    }
    93 
    94   return result;
    9583}
Note: See TracChangeset for help on using the changeset viewer.