Hi,
When I compile my code with ACLIC. it compiles, giving the below warning:
[gumus@pollux likelihoods_newXsec]$ root -l
root [0] .L main_likelihood_sigma5.C+g
Info in TUnixSystem::ACLiC: creating shared library /data1/gumus/NewBinning/likelihoods_newXsec/./main_likelihood_sigma5_C.so
…
…
/data1/gumus/NewBinning/likelihoods_newXsec/main_likelihood_sigma5.C:85: warning: cannot
pass objects of non-POD type class TString' through
…’; call will abort
at runtime
In my code, I define
TString lum;
and line 84 and 85 is
ifstream SIMin
SIMin.open(Form(“SIMxsec95_%s.txt”,lum));
When I run the code it aborts.
Am I making a simple mistake? Does “Form” not compile with ACLIC? Is there another way to do this?
Best
Kazim