- Timestamp:
- Nov 27, 2009, 11:46:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/src/G4BinaryPiKBuilder.cc
r825 r1203 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BinaryPiKBuilder.cc,v 1.3 2009/04/02 08:11:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 // 29 //--------------------------------------------------------------------------- 30 // 31 // ClassName: G4BinaryPiKBuilder 32 // 33 // Author: 2002 H.P. Wellisch 34 // 35 // Modified: 36 // 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible 37 // 38 //---------------------------------------------------------------------------- 39 // 26 40 #include "G4BinaryPiKBuilder.hh" 27 41 #include "G4ParticleDefinition.hh" … … 32 46 G4BinaryPiKBuilder() 33 47 { 48 thePiData = new G4PiNuclearCrossSection; 34 49 theMin = 0*GeV; 35 50 theMax = 1.3*GeV; … … 42 57 ~G4BinaryPiKBuilder() 43 58 { 44 delete theModel;45 59 } 46 60 … … 54 68 theModel->SetMaxEnergy(theMax); 55 69 aP->RegisterMe(theModel); 56 aP->AddDataSet(&thePiData);57 70 } 58 71 … … 63 76 theModel->SetMaxEnergy(theMax); 64 77 aP->RegisterMe(theModel); 65 aP->AddDataSet(&thePiData);66 78 } 67 79
Note: See TracChangeset
for help on using the changeset viewer.