40 if(z<0 || z>1)
return 0;
41 return fFunc->Eval(z);
48 return fFunc->GetRandom();
67 fFunc->SetParNames(
"Norm",
"Epsilon");
69 gROOT->GetListOfFunctions()->Remove(
fFunc);
72 GetParam(
"PetFrag-Norm", N,
false ) ;
86 double I =
fFunc->Integral(0,1);
bool GetParam(const RgKey &name, T &p, bool is_top_call=true) const
virtual void Configure(const Registry &config)
void Configure(const Registry &config)
double Value(double z) const
implement the FragmentationFunctionI interface
double GenerateZ(void) const
A registry. Provides the container for algorithm configuration parameters.
double peterson_func(double *x, double *par)
The Peterson fragmentation function.
THE MAIN GENIE PROJECT NAMESPACE