Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/particles/management/src/G4DecayProducts.cc

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4DecayProducts.cc,v 1.18 2010/05/20 01:01:07 kurasige 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 $
    2929//
    3030//
     
    5151                :numberOfProducts(0),theParentParticle(0)
    5252{
    53 
     53  //clear theProductVector
     54  for (size_t i=0;i<MaxNumberOfProducts; i+=1){
     55    theProductVector[i]=0;
     56  }
    5457}
    5558
    5659G4DecayProducts::G4DecayProducts(const G4DynamicParticle &aParticle)
    57                 :numberOfProducts(0),theParentParticle(0)
     60  :numberOfProducts(0),theParentParticle(0)
    5861{
    5962  theParentParticle = new G4DynamicParticle(aParticle);
     63  //clear theProductVector
     64  for (size_t i=0;i<MaxNumberOfProducts; i+=1){
     65    theProductVector[i]=0;
     66  }
    6067}
    6168
     
    6370                :numberOfProducts(0)
    6471{
     72  //clear theProductVector
     73  for (size_t i=0;i<MaxNumberOfProducts; i+=1){
     74    theProductVector[i]=0;
     75  }
     76
    6577  // copy parent (Deep Copy)
    6678  theParentParticle = new G4DynamicParticle(*right.theParentParticle);
Note: See TracChangeset for help on using the changeset viewer.