--------------------------------------------------------------------
| 41 | |
| 42 | // -------------------------------------------------------------------- |
| 43 | void G4ParticleChangeForDecay::Initialize(const G4Track& track) |
| 44 | { |
| 45 | // use base class's method at first |
| 46 | G4VParticleChange::Initialize(track); |
| 47 | |
| 48 | // set TimeChange equal to local time of the parent track |
| 49 | theLocalTime0 = theTimeChange = track.GetLocalTime(); |
| 50 | |
| 51 | // set initial Local/Global time of the parent track |
| 52 | theGlobalTime0 = track.GetGlobalTime(); |
| 53 | |
| 54 | // set the Polarization equal to those of the parent track |
| 55 | thePolarizationChange = track.GetDynamicParticle()->GetPolarization(); |
| 56 | } |
| 57 | |
| 58 | // -------------------------------------------------------------------- |
| 59 | G4Step* G4ParticleChangeForDecay::UpdateStepForPostStep(G4Step* pStep) |
nothing calls this directly
no test coverage detected