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
Branches
Tags dev_2022_30
1 merge request!890Fix segfault on exit of macros: unpacking and digitization
Pipeline #18014 passed
......@@ -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.
Please register or to comment