Message: Re: Error: local time goes back!! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Error: local time goes back!! 

Forum: Event and Track Management
Re: Question Error: local time goes back!! (Soman)
Re: Feedback Re: Error: local time goes back!! (Gumplinger Peter)
Re: Feedback Re: Error: local time goes back!! (Soman)
Re: Feedback Re: Error: local time goes back!! (Gumplinger Peter)
Re: Feedback Re: Error: local time goes back!! (Soman)
Date: 20 Jun, 2016
From: Gumplinger Peter <Gumplinger Peter>

Hi Soman,

> However, I'm wondering if I still need the
> "ProposeVelocity" method or optical photon classes in my code, because I
> don't want to change the velocity magnitude but the direction.

What 'optical photon classes' are still in your code?

Anyway:

aParticleChange.ProposeVelocity(aTrack.GetVelocity());

is redundant to:

theVelocityChange = track.GetVelocity();

in G4ParticleChange::Initialize (you don't need to do it again).

Peter

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

1 Feedback: Re: Error: local time goes back!!   (Soman - 20 Jun, 2016)
 Add Message Add Message
to: "Re: Error: local time goes back!!"

 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 ]