Message: Re: how to flag events with PhotonInelastic/ElectronNuclear/PositronNuclear reactions in SteppingAction.cc Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: how to flag events with PhotonInelastic/ElectronNuclear/PositronNuclear reactions in SteppingAction.cc 

Forum: Event and Track Management
Re: None how to flag events with PhotonInelastic/ElectronNuclear/PositronNuclear reactions in SteppingAction.cc (Emil Frlez)
Date: 07 Jan, 2009
From: Gumplinger Peter <Gumplinger Peter>

Hi Emil,

Try this:

G4StepPoint* thePostPoint = theStep->GetPostStepPoint();

G4String processName = thePostPoint->GetProcessDefinedStep()->GetProcessName();

if (processName == "PhotonInelastic") {

etc.

Peter

 Add Message Add Message
to: "Re: how to flag events with PhotonInelastic/ElectronNuclear/PositronNuclear reactions in SteppingAction.cc"

 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 ]