Message: Re: Compton ProcessName in Output Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Compton ProcessName in Output 

Forum: Event and Track Management
Re: Question Compton ProcessName in Output (William Harrell)
Date: 15 Dec, 2010
From: Neoh <Neoh>

Maybe this is what u want:

 void SteppingAction::UserSteppingAction(const G4Step* aStep)
  G4String processname = aStep->GetTrack()->GetCreatorProcess()->GetProcessName();

Hope this helps


 Add Message Add Message
to: "Re: Compton ProcessName in Output"

 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 ]