Changeset 921 for trunk/source/global/management/src/G4PhysicsFreeVector.cc
- Timestamp:
- Feb 16, 2009, 10:14:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/global/management/src/G4PhysicsFreeVector.cc
r850 r921 25 25 // 26 26 // 27 // $Id: G4PhysicsFreeVector.cc,v 1.1 0 2006/06/29 19:04:10 gunterExp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4PhysicsFreeVector.cc,v 1.12 2008/09/22 14:49:57 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01 $ 29 29 // 30 30 // … … 47 47 48 48 49 G4PhysicsFreeVector::G4PhysicsFreeVector() 49 G4PhysicsFreeVector::G4PhysicsFreeVector() 50 : G4PhysicsVector() 50 51 { 51 edgeMin = 0.0;52 edgeMax = 0.0;53 numberOfBin = 0;54 52 type = T_G4PhysicsFreeVector; 55 53 } 56 54 57 58 55 G4PhysicsFreeVector::G4PhysicsFreeVector(size_t theNbin) 56 : G4PhysicsVector() 59 57 { 60 58 type = T_G4PhysicsFreeVector; … … 71 69 dataVector.push_back(0.0); 72 70 } 73 74 edgeMin = 0.;75 edgeMax = 0.;76 77 lastBin = INT_MAX;78 lastEnergy = -DBL_MAX;79 lastValue = DBL_MAX;80 71 } 81 82 72 83 73 G4PhysicsFreeVector::G4PhysicsFreeVector(const G4DataVector& theBinVector, … … 111 101 edgeMin = binVector[0]; 112 102 edgeMax = binVector[numberOfBin-1]; 113 114 lastBin = INT_MAX;115 lastEnergy = -DBL_MAX;116 lastValue = DBL_MAX;117 103 } 118 104 119 120 G4PhysicsFreeVector::~G4PhysicsFreeVector(){} 121 105 G4PhysicsFreeVector::~G4PhysicsFreeVector() 106 { 107 } 122 108 123 109 void G4PhysicsFreeVector::PutValue( size_t theBinNumber, G4double theBinValue,
Note: See TracChangeset
for help on using the changeset viewer.