diff --git a/NPSimulation/Process/Decay.cc b/NPSimulation/Process/Decay.cc index bfd7ee212ffc083712e4f466a68c5292ae593e67..0cf06236cf02389534e9ffe637a56b2746058357 100644 --- a/NPSimulation/Process/Decay.cc +++ b/NPSimulation/Process/Decay.cc @@ -85,8 +85,9 @@ G4bool Decay::IsApplicable( const G4ParticleDefinition& particleType) { } //////////////////////////////////////////////////////////////////////////////// -G4bool Decay::ModelTrigger(const G4FastTrack& ) { +G4bool Decay::ModelTrigger(const G4FastTrack& fastTrack) { //FIXME: Solve the issue of long lived decay + m_PreviousEnergy=fastTrack.GetPrimaryTrack()->GetKineticEnergy(); // Check that a decay is possible: return m_Decay.AnyAboveThreshold(NPL::ChangeNameFromG4Standard(m_CurrentName),m_ExcitationEnergy); }