morpho.processors.sampling.RooFitInterfaceProcessor module¶
Some template vars¶
Members: RooFitInterfaceProcessor
Functions:
Classes:
Base processor for RooFit-based samplers Authors: M. Guigue Date: 06/26/18
Summary¶
Data:
Reference¶
-
class
morpho.processors.sampling.RooFitInterfaceProcessor.
RooFitInterfaceProcessor
(name, *args, **kwargs)[source]¶ Bases:
morpho.processors.BaseProcessor.BaseProcessor
Base class for RooFit-based sampling. A new class should inheritate from this one and have its own version of “definePdf”. The input data are given via the attribute “data”.
Parameters: - varName (required) – name(s) of the variable in the data
- nuisanceParams (required) – parameters to be discarded at end of sampling
- interestParams (required) – parameters to be saved in the results variable
- iter (required) – total number of iterations (warmup and sampling)
- warmup – number of warmup iterations (default=iter/2)
- chain – number of chains (default=1)
- n_jobs – number of parallel cores running (default=1)
- binned – should do binned analysis (default=false)
- options – other options
- Input:
- data: dictionary containing model input data
- Results:
- results: dictionary containing the result of the sampling of the parameters of interest
-
definePdf
(wspace)[source]¶ Defines the Pdf that RooFit will sample and add it to the workspace. The Workspace is then returned by the user. Users should always create their own method.
-
data
¶