Dynamic cast fails. [message #21625] |
Tue, 10 October 2017 19:06 |
lzanetti
Messages: 5 Registered: June 2017 Location: TU Darmstadt
|
occasional visitor |
From: *ikp.physik.tu-darmstadt.de
|
|
Hello everyone. I've been dusting off my simulator after a couple of months and, sure enough, "something" broke --it is a well known fact that programs break just by existing on a HDD.
The error is the following:
...
[INFO ] ============== FairRunSim: Initialising simulation run ==============
Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created
[INFO ] FairGeoMedia: Read media
[ERROR ] Dynamic cast fails.
[ERROR ] Dynamic cast fails.
[ERROR ] Dynamic cast fails.
[ERROR ] Dynamic cast fails.
...
And the problem is that the simulation output is empty --actually, R3BXBall tells me that no hit is present and no event is written. Since I didn't see (or notice) the errors above and the simulator was working the last time I used it, and the programs are exactly the same, I'm assuming it has something to do with it.
I'm using the latest version of R3BRoot, except the very last commit, which doesn't work for me (opened an issue on GitHub).
Cheers,
L.
~~~
UPDATE: Actually, it seems to be possible to cope some life into the simulator, so the error above should have nothing to do with the simulation being empty. All the same, since it's flagged as an error, it might be worth to investigate the "dynamic cast fail". Also because it was NOT there before.
[Updated on: Tue, 10 October 2017 19:21] Report message to a moderator
|
|
|
|
Re: Dynamic cast fails. [message #21632 is a reply to message #21629] |
Tue, 10 October 2017 21:08 |
lzanetti
Messages: 5 Registered: June 2017 Location: TU Darmstadt
|
occasional visitor |
From: *dip0.t-ipconnect.de
|
|
Hi,
Thanks for your answer!
It's not a macro, it's a program. But it's just a user: it doesn't define new detectors, it just uses those that are already there --specifically, in my R3BRoot, which does have a couple of funny detectors in it.
But those did not change since the last time I run the program.
Does the inheritance have to be direct to avoid freakouts in FairMCApplication? Or would a detecto that inherits from another detector that inherits from FairDetector work? It should, I think...
Cheers,
L.
[Updated on: Tue, 10 October 2017 21:08] Report message to a moderator
|
|
|