Ignore:
Timestamp:
Nov 27, 2009, 11:46:04 AM (15 years ago)
Author:
garnier
Message:

update CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/physics_lists/builders/src/G4FTFPProtonBuilder.cc

    r921 r1203  
    2424// ********************************************************************
    2525//
     26// $Id: G4FTFPProtonBuilder.cc,v 1.6 2009/04/23 18:54:57 japost Exp $
     27// GEANT4 tag $Name: geant4-09-03-cand-03 $
     28//
     29//---------------------------------------------------------------------------
     30//
     31// ClassName:   G4FTFPProtonBuilder
     32//
     33// Author: 2002 J.P. Wellisch
     34//
     35// Modified:
     36// 30.03.2009 V.Ivanchenko create cross section by new
     37//
     38//----------------------------------------------------------------------------
     39//
    2640#include "G4FTFPProtonBuilder.hh"
    2741#include "G4ParticleDefinition.hh"
    2842#include "G4ParticleTable.hh"
    2943#include "G4ProcessManager.hh"
     44#include "G4ProtonInelasticCrossSection.hh"
    3045
    3146G4FTFPProtonBuilder::
     
    3348{
    3449  theMin = 4*GeV;
     50  theMax = 100.*TeV;
    3551  theModel = new G4TheoFSGenerator("FTFP");
    3652
     
    5268
    5369  theModel->SetTransport(theCascade);
     70  theModel->SetMinEnergy(theMin);
     71  theModel->SetMaxEnergy(100*TeV);
    5472}
    5573
     
    5876{
    5977  theModel->SetMinEnergy(theMin);
    60   theModel->SetMaxEnergy(100*TeV);
     78  theModel->SetMaxEnergy(theMax);
    6179  aP->RegisterMe(theModel);
    62   aP->AddDataSet(&theXSec); 
     80  aP->AddDataSet(new G4ProtonInelasticCrossSection); 
    6381}
    6482
Note: See TracChangeset for help on using the changeset viewer.