Skip to content

Adding correct normalisation of weights to Monte-Carlo

Adding functionality to correctly normalise Monte-Carlo events

  • Saves sum of genWeights (before any selection) in each chunk to parquet metadata
  • Changed 'weight' column in output to be genWeight*scaleFactorProduct (also added 'weight_central' which is the product of scale factors)
  • In merging of outputs, MC events get normalised so the sum of weights is equal to the selection efficiency. Cross section, branching fraction and luminosity values can be applied further down the line in final fits. This is the best approach as we can accommodate changes to the xs, br and lumi values.

Merge request reports