GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Problem with read tree [SOLVED] (Crash when read tree with customized branch)
Re: Problem with read tree [message #17128 is a reply to message #17126] Wed, 30 July 2014 16:07 Go to previous message
Daniel Wielanek is currently offline  Daniel Wielanek
Messages: 14
Registered: October 2012
Location: Warsaw
occasional visitor
From: *free.aero2.net.pl
Edit:
I found something strange - when I use primGen->AddTrack - reading root file lead to crash (reading, reconstruction seems to be ok). But after I commented out this part of code, my fTracks branch is filled properly (of course I loose all FairMCTracks).
In root macro reading file crashing when I close TFile (during the reading files I dont get any error).
So It's seems that I can't add my branch if I use AddTrack because something wrong will happen with my data - but I don't kwno why.
 
Read Message
Read Message
Previous Topic: FairPrimaryGenerator
Next Topic: Problem of energy loss of proton in FairROOT
Goto Forum:
  


Current Time: Thu Nov 28 06:58:34 CET 2024

Total time taken to generate the page: 0.01027 seconds