Message: Re: Splitting of Compton and Rayleigh Scatter Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Ok Re: Splitting of Compton and Rayleigh Scatter 

Forum: Event and Track Management
Re: Question Splitting of Compton and Rayleigh Scatter (Ioannis Sechopoulos)
Re: None Re: Splitting of Compton and Rayleigh Scatter (Jane Tinslay)
Re: Question Re: Splitting of Compton and Rayleigh Scatter (Ioannis Sechopoulos)
Re: None Re: Splitting of Compton and Rayleigh Scatter (Jane Tinslay)
Date: 24 May, 2006
From: Ioannis Sechopoulos <Ioannis Sechopoulos>

Jane, That worked! Thank you very much for the help. One last quick question: since the PostStepDoIt method is defined as:

G4VParticleChange* SplittingProcess::PostStepDoIt(const G4Track& track, const G4Step& step)

at the end I had to re-cast the particleChange to the G4VParticleChange:

return dynamic_cast<G4VParticleChange*>(particleChange); }

Is that a problem, or can I redefine the PostStepDoIt method to return a G4ParticleChange* ?

Sorry for the basic question.... and thanks again!

I.

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

1 None: Re: Splitting of Compton and Rayleigh Scatter   (Jane Tinslay - 24 May, 2006)
(_ Ok: Re: Splitting of Compton and Rayleigh Scatter   (Ioannis Sechopoulos - 24 May, 2006)
 Add Message Add Message
to: "Re: Splitting of Compton and Rayleigh Scatter"

 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 ]