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/physics_lists/lists/include/QGSP.icc

    r1228 r1315  
    2424// ********************************************************************
    2525//
    26 // $Id: QGSP.icc,v 1.8 2009/11/27 17:28:19 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03 $
     26// $Id: QGSP.icc,v 1.11 2010/06/07 15:34:32 gunter Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2828//
    2929//---------------------------------------------------------------------------
     
    4242// 16.05.2007 V.Ivanchenko: rename EM builders
    4343// 27.11.2009 G.Folger: Mark as obsolete
     44// 04.06.2010 G.Folger: Mark as replaced, use new ctor for Builders
    4445//
    4546//----------------------------------------------------------------------------
     
    8586
    8687  G4WarnPLStatus obs;
    87   obs.Unsupported("QGSP", "QGSP_BERT");
     88  obs.Replaced("QGSP", "QGSP_BERT");
     89  G4cerr << "If you need to use QGSP, please edit QGSP.icc and remove G4Exception" << G4endl;
     90  G4Exception(" Crash for usage of replaced physics list");
    8891 
    8992  // EM Physics
    90   this->RegisterPhysics( new G4EmStandardPhysics(ver));
     93  this->RegisterPhysics( new G4EmStandardPhysics(ver) );
    9194
    9295  // Synchroton Radiation & GN Physics
    93   this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
     96  this->RegisterPhysics( new G4EmExtraPhysics(ver) );
    9497
    9598  // Decays
    96   this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
     99  this->RegisterPhysics( new G4DecayPhysics(ver) );
    97100
    98101   // Hadron Elastic scattering
    99   this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
     102  this->RegisterPhysics( new G4HadronElasticPhysics(ver) );
    100103
    101104   // Hadron Physics
    102    G4bool quasiElastic;
    103   this->RegisterPhysics( new HadronPhysicsQGSP("hadron",quasiElastic=true));
     105  this->RegisterPhysics( new HadronPhysicsQGSP(ver));
    104106
    105107  // Stopping Physics
    106   this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
     108  this->RegisterPhysics( new G4QStoppingPhysics(ver) );
    107109
    108110  // Ion Physics
    109   this->RegisterPhysics( new G4IonPhysics("ion"));
     111  this->RegisterPhysics( new G4IonPhysics(ver));
    110112 
    111113  // Neutron tracking cut
    112   this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver));
     114  this->RegisterPhysics( new G4NeutronTrackingCut(ver));
    113115
    114116}
Note: See TracChangeset for help on using the changeset viewer.