- Timestamp:
- Nov 27, 2009, 11:46:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/src/G4FTFPNeutronBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFPNeutronBuilder.cc,v 1.5 2009/04/23 18:54:57 japost Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4FTFPNeutronBuilder 32 // 33 // Author: 2002 J.P. Wellisch 34 // 35 // Modified: 36 // 30.03.2009 V.Ivanchenko create cross section by new 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4FTFPNeutronBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4NeutronInelasticCrossSection.hh" 30 45 31 46 G4FTFPNeutronBuilder:: 32 47 G4FTFPNeutronBuilder(G4bool quasiElastic) 33 48 { 34 theMin = 4*GeV; 49 theMin = 4*GeV; 50 theMax = 100*TeV; 35 51 theModel = new G4TheoFSGenerator("FTFP"); 36 52 … … 52 68 } else 53 69 { theQuasiElastic=0;} 70 71 theModel->SetMinEnergy(theMin); 72 theModel->SetMaxEnergy(100*TeV); 54 73 } 55 74 … … 83 102 { 84 103 theModel->SetMinEnergy(theMin); 85 theModel->SetMaxEnergy( 100*TeV);104 theModel->SetMaxEnergy(theMax); 86 105 aP->RegisterMe(theModel); 87 aP->AddDataSet( &theXSec);106 aP->AddDataSet(new G4NeutronInelasticCrossSection); 88 107 } 89 108
Note: See TracChangeset
for help on using the changeset viewer.