Changeset 1340 for trunk/source/particles/management/src/G4DecayProducts.cc
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/particles/management/src/G4DecayProducts.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DecayProducts.cc,v 1.1 8 2010/05/20 01:01:07kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DecayProducts.cc,v 1.19 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 51 51 :numberOfProducts(0),theParentParticle(0) 52 52 { 53 53 //clear theProductVector 54 for (size_t i=0;i<MaxNumberOfProducts; i+=1){ 55 theProductVector[i]=0; 56 } 54 57 } 55 58 56 59 G4DecayProducts::G4DecayProducts(const G4DynamicParticle &aParticle) 57 60 :numberOfProducts(0),theParentParticle(0) 58 61 { 59 62 theParentParticle = new G4DynamicParticle(aParticle); 63 //clear theProductVector 64 for (size_t i=0;i<MaxNumberOfProducts; i+=1){ 65 theProductVector[i]=0; 66 } 60 67 } 61 68 … … 63 70 :numberOfProducts(0) 64 71 { 72 //clear theProductVector 73 for (size_t i=0;i<MaxNumberOfProducts; i+=1){ 74 theProductVector[i]=0; 75 } 76 65 77 // copy parent (Deep Copy) 66 78 theParentParticle = new G4DynamicParticle(*right.theParentParticle);
Note: See TracChangeset
for help on using the changeset viewer.