Hi, I wanted use some ROOT functionalities in dynamicaly loaded libs. I failed. Imagine that I have process which is constantly running processing some events. Just for check I wan to record sample. The sample will contain some info from events but I do not know apriori what? So I create dynamically loaded librabry with the selection code. The so called filter contains the selection code and all necessary things to save what I need. Only three functions are used. init_filter, run_filter, finalize_filetr. I wanted replace some traditional IO in run_filter by TTree::Fill, in init_filter hving TFile opened, in the finalize_filter closing file. When I run it: The created root file is always 302 bytes large. I tried also mtree->AutoSave("SaveSelf"); Any idea how to force writing TTree to the file? Regards, Tomasz Bold
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET