Skip to content

Conditional Parameter PDF #83

@BillyLiggins

Description

@BillyLiggins

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;

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions