Message: Re: problem getting data in sensitive detector when using multithreading mode Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: problem getting data in sensitive detector when using multithreading mode 

Forum: Multithreading
Re: None problem getting data in sensitive detector when using multithreading mode (Jaafar EL Bakkali)
Date: 26 Jul, 2017
From: Makoto Asai <Makoto Asai>

Hi,

The concept of read-out geometry has been extended and generalized to "parallel world" concept along with Geant4 version 9.4, and this read-out geometry functionality has no longer been maintained since Geant4 version 10.0. The second argument of this ProcessHits() method is kept to avoid breaking users sensitive detector implementation, but warning messages were displayed if you use it with Geant4 version 9.5 or 9.6 (this warning message was removed since version 10.0).

We invite you to use the new (actually it's not very new any more) "parallel world" scheme. Given it's an extension of read-out geometry, the amount of changes you have to make is quite small. In the new scheme, you should use G4VUserParallelWorld base class, and your parallel world should be registered not to the G4SDManager but to your "real-world" detector construction. We invite you to /examples/extended/runAndEvent/RE06 example that demonstrates how you define "read-out geometry" with a parallel world.

I hope this helps,
Makoto

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

1 None: Re: problem getting data in sensitive detector when using multithreading mode   (Jaafar EL Bakkali - 27 Jul, 2017)
(_ None: Re: problem getting data in sensitive detector when using multithreading mode   (Makoto Asai - 27 Jul, 2017)
(_ None: Re: problem getting data in sensitive detector when using multithreading mode   (Jaafar EL Bakkali - 29 Jul, 2017)
 Add Message Add Message
to: "Re: problem getting data in sensitive detector when using multithreading mode"

 Subscribe Subscribe

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