Skip to content

First patch of FairRoot release v-15.11

Compare
Choose a tag to compare
@fuhlig1 fuhlig1 released this 14 Jan 13:51
· 2236 commits to master since this release

The main reason for this patch was to correct a problem with TF1 when using ROOT6.

In FairRoot a TF1 was used which was created out of a TString definition of an expression which was put together on the fly. This was done to easily change a parameter of the expression from the macro.

The old definition of the time distribution between two events was found only working with ROOT5. With ROOT6 the defintion of the function was somehow brocken and the returned random value was allways infinity.
The new version of functions doesn't use a TString any longer but a inline expression using standard C++ functions.