Ignore:
Timestamp:
Jan 8, 2010, 11:56:51 AM (14 years ago)
Author:
garnier
Message:

update geant4.9.3 tag

Location:
trunk/source/processes/hadronic/models/management/src
Files:
9 edited

Legend:

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

    r1196 r1228  
    2525//
    2626// $Id: G4HadronicInteraction.cc,v 1.6 2009/08/30 16:12:34 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-03 $
    2828//
    2929// Hadronic Interaction  base class
  • trunk/source/processes/hadronic/models/management/src/G4HadronicInteractionRegistry.cc

    r1196 r1228  
    2424// ********************************************************************
    2525//
    26 // $Id: G4HadronicInteractionRegistry.cc,v 1.8 2009/08/30 16:12:34 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: G4HadronicInteractionRegistry.cc,v 1.9 2009/12/02 15:57:57 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03 $
    2828//
    2929// 23-Jan-2009 V.Ivanchenko make the class to be a singleton
     
    5353void G4HadronicInteractionRegistry::Clean()
    5454{
     55  size_t nModels = allModels.size();
    5556  //G4cout << "G4HadronicInteractionRegistry::Clean() start " << nModels << G4endl;
    56   size_t nModels = allModels.size();
    5757  if(0 < nModels) {
    5858    for (size_t i=0; i<nModels; ++i) {
     
    6060        //G4cout << "delete " << i << G4endl;
    6161        //G4cout << allModels[i]->GetModelName() << G4endl;
    62         delete allModels[i];
     62        G4HadronicInteraction * model = allModels[i];
    6363        allModels[i] = 0;
     64        delete model;
    6465      }
    6566    }
     67    allModels.clear();
    6668  }
    67   allModels.clear();
    6869  //G4cout << "G4HadronicInteractionRegistry::Clean() is done " << G4endl;
    6970}
     
    7273RegisterMe(G4HadronicInteraction * aModel)
    7374{
     75  if(!aModel) { return; }
    7476  size_t nModels = allModels.size();
    7577  if(nModels > 0) {
    7678    for (size_t i=0; i<nModels; ++i) {
    77       if( aModel == allModels[i] ) return;
     79      if( aModel == allModels[i] ) { return; }
    7880    }
    7981  }
     
    8688RemoveMe(G4HadronicInteraction * aModel)
    8789{
     90  if(!aModel) { return; }
    8891  size_t nModels = allModels.size();
    89   if(0 == nModels) return;
     92  if(0 == nModels) { return; }
    9093  for (size_t i=0; i<nModels; ++i) {
    9194    if( aModel == allModels[i] ) {
  • trunk/source/processes/hadronic/models/management/src/G4InelasticInteraction.cc

    r1196 r1228  
    2525//
    2626// $Id: G4InelasticInteraction.cc,v 1.12 2009/01/24 11:56:27 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-03 $
    2828//
    2929// Hadronic Process: Inelastic Interaction
  • trunk/source/processes/hadronic/models/management/src/G4V3DNucleus.cc

    r1196 r1228  
    2626//
    2727// $Id: G4V3DNucleus.cc,v 1.5 2006/06/29 20:45:59 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030#include "G4V3DNucleus.hh"
  • trunk/source/processes/hadronic/models/management/src/G4VHighEnergyGenerator.cc

    r1196 r1228  
    2626//
    2727// $Id: G4VHighEnergyGenerator.cc,v 1.5 2006/06/29 20:46:03 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030// G4VHighEnergyGenerator
  • trunk/source/processes/hadronic/models/management/src/G4VIntraNuclearTransportModel.cc

    r1196 r1228  
    2626//
    2727// $Id: G4VIntraNuclearTransportModel.cc,v 1.5 2007/01/11 05:28:56 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030// $Id: G4VIntraNuclearTransportModel.cc,v 1.0 1998/06/30
  • trunk/source/processes/hadronic/models/management/src/G4VKineticNucleon.cc

    r1196 r1228  
    2626//
    2727// $Id: G4VKineticNucleon.cc,v 1.3 2006/06/29 20:46:07 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030#include "G4VKineticNucleon.hh"
  • trunk/source/processes/hadronic/models/management/src/G4VNuclearDensity.cc

    r1196 r1228  
    2626//
    2727// $Id: G4VNuclearDensity.cc,v 1.3 2006/06/29 20:46:09 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030
  • trunk/source/processes/hadronic/models/management/src/G4VPreCompoundModel.cc

    r1196 r1228  
    2626//
    2727// $Id: G4VPreCompoundModel.cc,v 1.6 2007/01/11 05:29:10 dennis Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-03 $
    2929//
    3030
Note: See TracChangeset for help on using the changeset viewer.