How to get rid of from this error,"cannot reach tolerance because of roundoff error"

correlated.cpp (4.6 KB)

Can any one please help me , how can I get rid of from this error while I generate particle using random number and function. Any suggestion will be helpful. Code is attached here.

Change all “float” into “double” and all “Float_t” into “Double_t”.

You may also switch from using “THxF” to using “THxD”, but it doesn’t seem to be “mandatory” here.

Thank you so much. your suggestion works.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.