Changeset 1340 for trunk/source/track/src/G4ParticleChangeForLoss.cc
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/track/src/G4ParticleChangeForLoss.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ParticleChangeForLoss.cc,v 1.1 7 2009/05/26 13:19:41 vnivanchExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ParticleChangeForLoss.cc,v 1.18 2010/07/21 09:30:15 gcosmo Exp $ 28 // GEANT4 tag $Name: track-V09-03-09 $ 29 29 // 30 30 // … … 50 50 51 51 G4ParticleChangeForLoss::G4ParticleChangeForLoss() 52 :G4VParticleChange(), lowEnergyLimit(1.0*eV) 52 : G4VParticleChange(), currentTrack(0), proposedKinEnergy(0.), 53 lowEnergyLimit(1.0*eV), currentCharge(0.) 53 54 { 54 55 theSteppingControlFlag = NormalCondition; … … 70 71 } 71 72 72 G4ParticleChangeForLoss::G4ParticleChangeForLoss( 73 const G4ParticleChangeForLoss &right): G4VParticleChange(right) 73 G4ParticleChangeForLoss:: 74 G4ParticleChangeForLoss(const G4ParticleChangeForLoss &right) 75 : G4VParticleChange(right) 74 76 { 75 77 if (verboseLevel>1) { … … 78 80 currentTrack = right.currentTrack; 79 81 proposedKinEnergy = right.proposedKinEnergy; 82 lowEnergyLimit = right.lowEnergyLimit; 80 83 currentCharge = right.currentCharge; 81 84 proposedMomentumDirection = right.proposedMomentumDirection; … … 115 118 G4VParticleChange::DumpInfo(); 116 119 117 G4 cout.precision(3);120 G4int oldprc = G4cout.precision(3); 118 121 G4cout << " Charge (eplus) : " 119 122 << std::setw(20) << currentCharge/eplus … … 131 134 << std::setw(20) << proposedMomentumDirection.z() 132 135 << G4endl; 136 G4cout.precision(oldprc); 133 137 } 134 138
Note: See TracChangeset
for help on using the changeset viewer.