Skip to content
Snippets Groups Projects
Commit d5af4b0a authored by Administrator's avatar Administrator Committed by Pierre-Alain Loizeau
Browse files

Don't store function in the global list of functions

parent d72b0782
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ CbmMCInputSet::CbmMCInputSet(Double_t rate)
if (rate > 0.) {
Double_t mean = 1.e9 / rate; // mean time between events
fDeltaDist = new TF1("DeltaDist", "exp(-x/[0])/[0]", 0., 10. * mean);
fDeltaDist = new TF1("DeltaDist", "exp(-x/[0])/[0]", 0., 10. * mean, "NL");
fDeltaDist->SetParameter(0, mean);
}
fInputHandle = fInputs.begin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment