GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » The problem when accessing FairLinks in PndEmcPoints (script corrupts when using the PndEmcPoint::GetLinksWithType(int))
Re: The problem when accessing FairLinks in PndEmcPoints [message #22965 is a reply to message #22964] Thu, 27 September 2018 11:25 Go to previous messageGo to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *
Dear Dong,

please try to replace ioman->GetBranchId("MCTrack") with 0 as it is done in the next line of your code. I guess that it does not crash in that case.

The reason for the crash is, that the FairRootManager has not loaded the list of generated branches. Therefore no Id for "MCTrack" is returned.
Only if you use FairRunAna the branch list is populated in the FairRootManager.


Read Message
Read Message
Read Message
Read Message
Previous Topic: X edition of the School ESC (Efficient Scientific Computing) Bertinoro - Italy 22 - 27 October 2018
Next Topic: Failed FairSoft (for analysis) Installation on Ubuntu 18.04 LTS
Goto Forum:

Current Time: Thu May 30 18:44:21 CEST 2024

Total time taken to generate the page: 0.00963 seconds