Skip to content

Set random seed for Delphes #285

@mhabedan

Description

@mhabedan

Feature details

Hi!

For reproducibility of results, it would be very helpful if the random seed that can be set for MadAnalysis was propagated to Delphes. Otherwise results may differ significantly between to directly repeated runs.

Output without setting random seed:
Image

Have there been any attempts in that direction already?

Cheers,
Martin

Implementation

One way to make Delphes recognise a random seed is by adding

set RandomSeed <number>

to the Delphes card. This would unfortunately mean that the Delphes cards have to be edited dynamically.
Probably there's a smarter way to do it but unfortunately I'm new to using Delphes, so I'm not aware of anything.

Output when setting random seed like this:
Image

How important would you say this feature is?

2: Somewhat important.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions