Message: Re: MT migration problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: MT migration problem 

Forum: Multithreading
Re: None MT migration problem (Alex Kav)
Date: 24 Jul, 2015
From: Makoto Asai <Makoto Asai>


You need to implement *BOTH* RecordEvent() method *AND* Merge() method in your Run class.
In your RecordEvent() method, you need to retrieve energy deposition from G4Event object (or any hit/score associated with G4Event) and accumulate "energy" in your thread-local Run class object.
Your Merge() method seems correct to me.

Hope this helps,

 Add Message Add Message
to: "Re: MT migration problem"

 Subscribe Subscribe

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