Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Crash in DIRC with G4
Re: Crash in DIRC with G4 [message #13268 is a reply to message #13266] |
Wed, 28 March 2012 18:39 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to previous message](/theme/gsi/images/down.png) |
Oliver Merle
Messages: 13 Registered: December 2010
|
occasional visitor |
From: *wlan.uni-giessen.de
|
|
Thanks Mohammad,
Mohammad Al-Turany wrote on Wed, 28 March 2012 16:40 |
This is very easy to test, in the g4Config.C set the option: geomRootToGeant4
This works with the same DIRC geometry and the (according to your comments) crappy code in FairModule,
|
I thought I had tested this with native navigation, but it seems I switched to G4 after the update of FairModule. Silly me. Anyhow, even if it doesn't crash with G4 native navigation, the material of v1 is not guaranteed to be equal to the one defined in the media file because it was not obtained via your factory.
The "crappy" code works, it just has to be called for v1, too. Fixing this is no big deal, so I don't care about any credit. I guess it wouldn't hurt to use the Logger instead of std::out, too. (BTW: I was a bit pissed when I fixed the issue )
Quote: |
About the documentation I cannot promise to document every single line in the code, but we will try our best!
|
It is NOT about commenting a line of code. I can read C++. It is about commenting how the algorithms are intended to work, why things are implemented that way and how things are intended to be used.
Regards,
Oliver
|
|
|
Goto Forum:
Current Time: Wed Feb 19 20:54:36 CET 2025
Total time taken to generate the page: 0.01097 seconds
|