[in] | name | Name of the created RooConstraintSum object. |
[in] | pdf | The PDF model whose parameters should be constrained. Constraint terms will be extracted from RooProdPdf instances that are servers of the PDF (internal constraints). |
[in] | data | Dataset used in the fit with the constraint sum. It is used to figure out which are the observables and also to get the global observables definition and values if they are stored in the dataset. |
[in] | constrainedParameters | Set of parameters to constrain. If nullptr , all parameters will be considered. |
[in] | externalConstraints | Set of constraint terms that are not embedded in the PDF (external constraints). |
[in] | globalObservables | The normalization set for the constraint terms. If it is nullptr , the set of all constrained parameters will be used as the normalization set. |
[in] | globalObservablesTag | Alternative to define the normalization set for the constraint terms. All constrained parameters that have the attribute with the tag defined by globalObservablesTag are used. The globalObservables and globalObservablesTag parameters are mutually exclusive, meaning at least one of them has to be nullptr . |
[in] | takeGlobalObservablesFromData | If the dataset should be used to automatically define the set of global observables. If this is the case and the set of global observables is still defined manually with the globalObservables or globalObservablesTag parameters, the values of all global observables that are not stored in the dataset are taken from the model. |