Skip to content

ROOT::Math C++ PRBS generator #8199

Open
@ferdymercury

Description

@ferdymercury

Describe the solution you'd like

It would be nice if ROOT provided a C++ function to generate a sequence of pseudo-random numbers that are frequently used in electronics testing, see:
https://en.wikipedia.org/wiki/Pseudorandom_binary_sequence

Describe alternatives you've considered

Additional context

Pulse generators usually generate this random bits. To know whether things are working in your data acquisition, you have to compare with the expected values.
https://cryptography.fandom.com/wiki/Linear_feedback_shift_register

There are also some snippets in ROOT using it, like here: https://root.cern/doc/master/civetweb_8c_source.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions