Hey ROOTers,
the help to my previous question did not really help therefore I am
treating my problem from a different perspective. I want to create
std::vectors<Objects> within a root macro (no compiled c-file) not only
numbers. As long as I use double, float or other genuine C-classes,
everything works fine, but as soon as I start declaring things like
vector<TH1D> or in my case vector<TLorentzVector> ROOT doesn't recognize
it and complains about undefined Symbols in current scope. However,
using the same approach in c-files which I load in compiled form
(gROOT->ProcessLine(".L myCfile.C++"), this error does not occur. Has
anyone an idea to work around this problem?
Thank you very much,
Cheers,
Stephan
Received on Fri Oct 30 2009 - 14:17:26 CET
This archive was generated by hypermail 2.2.0 : Fri Oct 30 2009 - 17:50:02 CET