View | Details | Raw Unified | Return to problem 1284
Collapse All | Expand All

(-)geant4.9.5-pre/source/error_propagation/include/G4ErrorTrackLengthTarget.hh (-1 / +1 lines)
Lines 85-91 class G4ErrorTrackLengthTarget : public Link Here
85
   virtual void Dump( const G4String& msg ) const;
85
   virtual void Dump( const G4String& msg ) const;
86
86
87
 private:
87
 private:
88
88
  G4VParticleChange theParticleChange;
89
  G4double theMaximumTrackLength;
89
  G4double theMaximumTrackLength;
90
};
90
};
91
   
91
   
(-)geant4.9.5-pre/source/error_propagation/include/G4VErrorLimitProcess.hh (+3 lines)
Lines 87-92 class G4VErrorLimitProcess : public G4VD Link Here
87
  G4double theStepLimit;  // limit set by the user
87
  G4double theStepLimit;  // limit set by the user
88
  G4double theStepLength; // step length extracted from the user step limit,
88
  G4double theStepLength; // step length extracted from the user step limit,
89
                          // with the algorithms of each concrete class
89
                          // with the algorithms of each concrete class
90
private:
91
  G4VParticleChange theParticleChange;
92
90
};
93
};
91
  
94
  
92
#endif
95
#endif
(-)geant4.9.5-pre/source/error_propagation/src/G4ErrorTrackLengthTarget.cc (-3 / +3 lines)
Lines 124-132 GetMeanFreePath(const class G4Track & tr Link Here
124
G4VParticleChange* G4ErrorTrackLengthTarget::
124
G4VParticleChange* G4ErrorTrackLengthTarget::
125
PostStepDoIt(const G4Track& aTrack, const G4Step& )
125
PostStepDoIt(const G4Track& aTrack, const G4Step& )
126
{
126
{
127
  G4ParticleChange* aParticleChange = new G4ParticleChange;
127
  //  G4ParticleChange* aParticleChange = new G4ParticleChange;
128
  aParticleChange->Initialize(aTrack);
128
  theParticleChange.Initialize(aTrack);
129
  return aParticleChange;
129
  return &theParticleChange;
130
}
130
}
131
131
132
132
(-)geant4.9.5-pre/source/error_propagation/src/G4VErrorLimitProcess.cc (-3 / +3 lines)
Lines 61-67 GetMeanFreePath(const class G4Track &, G Link Here
61
G4VParticleChange* G4VErrorLimitProcess::
61
G4VParticleChange* G4VErrorLimitProcess::
62
PostStepDoIt(const G4Track& aTrack, const G4Step& )
62
PostStepDoIt(const G4Track& aTrack, const G4Step& )
63
{
63
{
64
  G4ParticleChange* aParticleChange = new G4ParticleChange;
64
  //  G4ParticleChange* aParticleChange = new G4ParticleChange;
65
  aParticleChange->Initialize(aTrack);
65
  theParticleChange.Initialize(aTrack);
66
  return aParticleChange; 
66
  return &theParticleChange; 
67
}
67
}

Return to problem 1284