- Timestamp:
- Nov 27, 2009, 11:46:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/src/G4FTFCPiKBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4FTFCPiKBuilder.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: G4FTFCPiKBuilder 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 "G4FTFCPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 32 46 G4FTFCPiKBuilder(G4bool quasiElastic) 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 34 49 theMin = 4*GeV; 35 50 theModel = new G4TheoFSGenerator; … … 49 64 } else 50 65 { theQuasiElastic=0;} 66 67 theModel->SetMinEnergy(theMin); 68 theModel->SetMaxEnergy(100*TeV); 51 69 } 52 70 … … 66 84 Build(G4PionPlusInelasticProcess * aP) 67 85 { 68 aP->AddDataSet( &thePiData);86 aP->AddDataSet(thePiData); 69 87 theModel->SetMinEnergy(theMin); 70 theModel->SetMaxEnergy(100*TeV);71 88 aP->RegisterMe(theModel); 72 89 } … … 75 92 Build(G4PionMinusInelasticProcess * aP) 76 93 { 77 aP->AddDataSet( &thePiData);94 aP->AddDataSet(thePiData); 78 95 theModel->SetMinEnergy(theMin); 79 theModel->SetMaxEnergy(100*TeV);80 96 aP->RegisterMe(theModel); 81 97 } … … 85 101 { 86 102 theModel->SetMinEnergy(theMin); 87 theModel->SetMaxEnergy(100*TeV);88 103 aP->RegisterMe(theModel); 89 104 } … … 93 108 { 94 109 theModel->SetMinEnergy(theMin); 95 theModel->SetMaxEnergy(100*TeV);96 110 aP->RegisterMe(theModel); 97 111 } … … 101 115 { 102 116 theModel->SetMinEnergy(theMin); 103 theModel->SetMaxEnergy(100*TeV);104 117 aP->RegisterMe(theModel); 105 118 } … … 109 122 { 110 123 theModel->SetMinEnergy(theMin); 111 theModel->SetMaxEnergy(100*TeV);112 124 aP->RegisterMe(theModel); 113 125 }
Note: See TracChangeset
for help on using the changeset viewer.