[ROOT] Creating TF1 objects usign functions specified in a dat file in a compiled program

From: Pierre-Luc Drouin (pldrouin@physics.carleton.ca)
Date: Tue May 06 2003 - 19:36:02 MEST


I need to create TF1 objects using functions whose names are unknown when
the program is compiled. The function names must be read from a dat file
when
the program is executed and then the program must create the TF1 objects
using pointers toward these functions. What is the better way to do
that? Perhaps a shared library could contain the functions and could be
updated when the dat file is changed, but how to get a pointer to one of
the function from the main program, since functions names cannot be
hardcoded and since they must be read from the card file?

Thank you!

Pierre-Luc Drouin
SNO, Carleton University



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET