-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Maybe a bit of overkill but I just want to put things in one place.
The plan is to write a VaryingParameterPDF (VpPDF) class that allows a convolution's underlying function to depend on the parameters it convolving about.
The idea is that you should make the VpPDF, set a kernel and then tell the VpPDF how each parameter varies given the bin centres of those bins:
VpPDF smear;
smear.SetKernal(&gaus);
smear.Depend("parameterName", function);
Inheritance:
CDF->VpPdf
Contains :
integral(x_l,x_h,x_c);
std::mapstd::string,Function* dict;<- This is a dictionary of parameterNames to parameter functions (sigma= a sqrt(E) + b)
ParameterDict parameters;
CDF* pdf;
Reactions are currently unavailable