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/G4FTFCNeutronBuilder.cc

    r825 r1203  
    2424// ********************************************************************
    2525//
     26// $Id: G4FTFCNeutronBuilder.cc,v 1.3 2009/03/31 18:38:34 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03-cand-03 $
     28//
     29//---------------------------------------------------------------------------
     30//
     31// ClassName:   G4FTFCNeutronBuilder
     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 "G4FTFCNeutronBuilder.hh"
    2741#include "G4ParticleDefinition.hh"
    2842#include "G4ParticleTable.hh"
    2943#include "G4ProcessManager.hh"
     44#include "G4NeutronInelasticCrossSection.hh"
    3045
    3146G4FTFCNeutronBuilder::
     
    5065
    5166  theModel->SetTransport(theCascade);
     67  theModel->SetMinEnergy(theMin);
     68  theModel->SetMaxEnergy(100*TeV);
    5269}
    5370
    54 G4FTFCNeutronBuilder::
    55 ~G4FTFCNeutronBuilder()
     71G4FTFCNeutronBuilder::~G4FTFCNeutronBuilder()
    5672{
    5773  delete theCascade;
     
    8096Build(G4NeutronInelasticProcess * aP)
    8197{
    82   aP->AddDataSet(&theXSec); 
    83 
    8498  theModel->SetMinEnergy(theMin);
    85   theModel->SetMaxEnergy(100*TeV);
     99  aP->AddDataSet(new G4NeutronInelasticCrossSection); 
    86100  aP->RegisterMe(theModel);
    87101}
Note: See TracChangeset for help on using the changeset viewer.