Message: Re: Get intital particle energy in master thread Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Get intital particle energy in master thread 

Forum: Multithreading
Re: Question Get intital particle energy in master thread (William Donahue)
Re: Idea Re: Get intital particle energy in master thread (Andrea Dotti)
Date: 05 Jul, 2014
From: William Donahue <William Donahue>

Andrea,

Is the best way to modify the run class to have a new variable that I initialize when I initialize the class based on the particle gun. Then during the merge check to see if it is properly initialized and if not fill it with a value from the first worker thread it sees. All of my threads and gammas begin with the same initial energy for all the events.

Thanks,

Will

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

1 Feedback: Re: Get intital particle energy in master thread   (Andrea Dotti - 05 Jul, 2014)
(_ None: Re: Get intital particle energy in master thread   (William Donahue - 17 Dec, 2014)
 Add Message Add Message
to: "Re: Get intital particle energy in master thread"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews