Hi Stathis, there is a mismatch between the declaration of my_func > Float_t my_func(TVector3 p_one, TVector3 p_two); and the implementation (definition): > Float_t my_func(TVector3 *p_one, TVector3 *p_two) -----------------------------^ ^ -----------------------------------------------| > { > > gSystem->Load("libPhysics"); > > Float_t k1 = p_one->Mag(); > Float_t k2 = p_two->Mag(); > > return sqrt(k1*k2); > } Hope this helps, Oliver -- Oliver Mang HEGRA - High Energy Gamma Ray Astronomy Institut fuer Experimentelle und Angewandte Physik, CAU Kiel Phone: ++49/431/880-2482 E-Mail: mang@physik.uni-kiel.de --------------------------------------------------------------- "The future is not what it used to be"
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:09 MET