Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

Location:
trunk/source/processes/hadronic/models/im_r_matrix
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/im_r_matrix/History

    r819 r962  
    1414     * Please list in reverse chronological order (last date on top)
    1515     ---------------------------------------------------------------
     16
     178-Dec-2008  Gunter Folger           hadr-im_r-V09-01-01
     18-  G4XNNElasticLowE:  remove use of ParticleDefinition object in dtor
     19
     205-Dec-2008  Gunter Folger           hadr-im_r-V09-01-00
     21-  G4XNNTotalLowE:  remove use of ParticleDefinition object in dtor
    1622
    172315-Nov-2007  Gunter Folger          hadr-im_r_V09-00-03
  • trunk/source/processes/hadronic/models/im_r_matrix/include/G4CollisionInitialState.hh

    r819 r962  
    2626//
    2727// $Id: G4CollisionInitialState.hh,v 1.4.4.2 2006/06/29 20:31:14 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// $Id: G4CollisionInitialState.hh,v 1.0 1998/06/30
  • trunk/source/processes/hadronic/models/im_r_matrix/include/G4ListOfCollisions.hh

    r819 r962  
    2626//
    2727// $Id: G4ListOfCollisions.hh,v 1.1.4.2 2006/06/29 20:35:35 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// $Id: G4ListOfCollisions.hh,v 1.0 1998/06/30
  • trunk/source/processes/hadronic/models/im_r_matrix/src/G4XNNElasticLowE.cc

    r819 r962  
    118118G4XNNElasticLowE::~G4XNNElasticLowE()
    119119{
    120   delete xMap[G4Proton::ProtonDefinition()->GetParticleName()];
    121   delete xMap[G4Neutron::NeutronDefinition()->GetParticleName()];
     120  G4String name_proton = "proton";
     121  G4String name_neutron = "neutron";
     122  delete xMap[name_proton];
     123  delete xMap[name_neutron];
    122124}
    123125
  • trunk/source/processes/hadronic/models/im_r_matrix/src/G4XNNTotalLowE.cc

    r819 r962  
    7272G4XNNTotalLowE::~G4XNNTotalLowE()
    7373{
    74   delete theCrossSections[G4Proton::ProtonDefinition()->GetParticleName()];
    75   delete theCrossSections[G4Neutron::NeutronDefinition()->GetParticleName()];
     74  G4String name_proton = "proton";
     75  G4String name_neutron = "neutron";
     76 
     77  delete theCrossSections[name_proton];
     78  delete theCrossSections[name_neutron];
    7679}
    7780
Note: See TracChangeset for help on using the changeset viewer.