# Changes between Version 90 and Version 91 of DatabaseBasedAnalysis/Spectrum

Ignore:
Timestamp:
Dec 5, 2019, 10:04:07 AM (11 months ago)
Comment:

--

Unmodified
Added
Removed
Modified
• ## DatabaseBasedAnalysis/Spectrum

 v90 For the simulations, the error on $$N$$ is the error on the weighted sum $\sigma^2(N_\textrm{sig,bg}) = \sum_j\left[\frac{\sum_i d\omega_i}{d\omega_j}\sigma(\omega_j)\right]^2 = \sum\omega_i^2$ $\sigma^2(N_\textrm{sig,bg}) = \sum_i\left[\frac{\sum_j d\omega_j}{d\omega_i}\sigma(\omega_i)\right]^2 = \sum\sigma^2(\omega_i)$ end thus With the error $$\sigma^2(\omega_i) = \omega_i^2$$ this provides $\sigma^2(N_\textrm{exc}^\textrm{MC}) = \sum_\textrm{sig}\omega_i + \frac{1}{5^2}\sum_\textrm{bg}\omega_i$