- Timestamp:
- Nov 27, 2009, 11:46:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/src/G4QGSPPiKBuilder.cc
r921 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4QGSPPiKBuilder.cc,v 1.5 2009/03/31 11:03:50 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4QGSPPiKBuilder 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 "G4QGSPPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" 28 42 #include "G4ParticleTable.hh" 29 43 #include "G4ProcessManager.hh" 44 #include "G4PiNuclearCrossSection.hh" 30 45 31 46 G4QGSPPiKBuilder:: 32 47 G4QGSPPiKBuilder(G4bool quasiElastic, G4bool projectileDiffraction) 33 48 { 49 thePiData = new G4PiNuclearCrossSection(); 34 50 theMin = 12*GeV; 35 51 theModel = new G4TheoFSGenerator("QGSP"); … … 81 97 theModel->SetMinEnergy(theMin); 82 98 theModel->SetMaxEnergy(100*TeV); 83 aP->AddDataSet( &thePiData);99 aP->AddDataSet(thePiData); 84 100 aP->RegisterMe(theModel); 85 101 } … … 90 106 theModel->SetMinEnergy(theMin); 91 107 theModel->SetMaxEnergy(100*TeV); 92 aP->AddDataSet( &thePiData);108 aP->AddDataSet(thePiData); 93 109 aP->RegisterMe(theModel); 94 110 }
Note: See TracChangeset
for help on using the changeset viewer.