Message: Problem in killing secondaries Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Problem in killing secondaries  

Keywords: Problem in killing secondaries
Forum: Event and Track Management
Date: 12 Feb, 2004
From: V. Grabski <grabski@fisica.unam.mx>

Hello, The simple code like this is not killing secondaries ! Is there a mistake? Thanks for advance, Varlen

G4ClassificationOfNewTrack 
pri1StackingAction::ClassifyNewTrack(const G4Track* aTrack)
{
  // keep primary particle 
  if (aTrack->GetParentID() == 0) return fUrgent;

// delete secondaries
  G4ClassificationOfNewTrack status = fKill;

return status; }

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Problem in killing secondaries   (michel maire - 13 Feb, 2004)
 Add Message Add Message
to: "Problem in killing secondaries "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]