Dear experts,

I want to sweight some distribution with a pdf that contains Gaussian-constraints in the model, so in my nominal fit (independent of the sWeight calculation) I have an

```
RooFit::ExternalConstraints( *gaussconstr )
```

in my fitTo-function. As I see in the sPlot class, there, the pdf is just fitted back **without** the external constraints, so the fit function will find different yields (and indeed, the sum of sWeights is not equal to the number of signal events I find in my nominal fit).

Is it somehow possible to add these ExternalConstraints to the fitting in the sPlot class? As a quick workaround I thought about just adding this argument to the fitTo-function by myself. Would this be an option, or will I run into problems doing this?

Thanks a lot for your help already!

Sophie