Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/medical/GammaTherapy/src/PhysicsList.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: PhysicsList.cc,v 1.16 2008/06/11 15:17:57 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: PhysicsList.cc,v 1.17 2009/11/21 16:47:07 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//---------------------------------------------------------------------------
     
    4646#include "PhysicsListMessenger.hh"
    4747
    48 #include "ParticlesBuilder.hh"
    4948#include "G4EmStandardPhysics.hh"
    5049#include "G4EmStandardPhysics_option1.hh"
    5150#include "G4EmStandardPhysics_option2.hh"
    5251#include "G4EmStandardPhysics_option3.hh"
    53 #include "PhysListEmLivermore.hh"
    54 #include "PhysListEmPenelope.hh"
     52#include "G4EmLivermorePhysics.hh"
     53#include "G4EmPenelopePhysics.hh"
    5554#include "G4StepLimiterBuilder.hh"
    5655#include "G4DecayPhysics.hh"
     
    6059#include "G4EmExtraPhysics.hh"
    6160#include "G4QStoppingPhysics.hh"
    62 //#include "PhysListEmModelPai.hh"
    6361
    6462#include "G4UnitsTable.hh"
     
    8987
    9088  // Add Physics builders
    91   RegisterPhysics(new ParticlesBuilder());
     89  RegisterPhysics(new G4DecayPhysics());
    9290}
    9391
     
    156154    G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl;
    157155
    158   } else if (name == "livermore" && !emBuilderIsRegisted) {
    159     RegisterPhysics(new PhysListEmLivermore());
    160     emBuilderIsRegisted = true;
    161     G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl;
    162 
    163   } else if (name == "penelope" && !emBuilderIsRegisted) {
    164     RegisterPhysics(new PhysListEmPenelope());
    165     emBuilderIsRegisted = true;
    166     G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl;
    167     /*
    168   } else if (name == "pai" && !emBuilderIsRegisted) {
    169     RegisterPhysics(new PhysListEmModelPai());
    170     emBuilderIsRegisted = true;
    171     G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl;
    172     */
    173 
    174   } else if (name == "decay" && !decayIsRegisted && emBuilderIsRegisted) {
    175     RegisterPhysics(new G4DecayPhysics());
    176     decayIsRegisted = true;
     156  } else if (name == "emlivermore" && !emBuilderIsRegisted) {
     157    RegisterPhysics(new G4EmLivermorePhysics());
     158    emBuilderIsRegisted = true;
     159    G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl;
     160
     161  } else if (name == "empenelope" && !emBuilderIsRegisted) {
     162    RegisterPhysics(new G4EmPenelopePhysics());
     163    emBuilderIsRegisted = true;
    177164    G4cout << "PhysicsList::AddPhysicsList <" << name << ">" << G4endl;
    178165
Note: See TracChangeset for help on using the changeset viewer.