Message: Isotope Production Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Isotope Production 

Keywords: Isotope
Forum: Hadronic Processes
Date: 27 Mar, 2008
From: Steven Avery <Steven Avery>

Are there examples which describe how one gets isotope information using G4IsoParticleChange?

In SteppingAction I declare:

#include "G4IsoParticleChange.hh"
#include "G4HadronicProcess.hh"

I try to output Isotope by using:

const G4HadronicProcess *HP= static_cast<const G4HadronicProcess *>(postStepPoint->GetProcessDefinedStep());

G4cout << HP->GetIsotopeProductionInfo()->GetIsotope() << G4endl;

...but I get a seg fault.

I'm using geant4.9.0.p01

I've looked at previous messages and used those ideas but I'm still getting a seg fault. Has something change with the isotope production?

Stephen

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

1 None: Re: Isotope Production   (Dennis H. Wright - 01 Apr, 2008)
 Add Message Add Message
to: "Isotope Production"

 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 ]