LauBlind Class Reference Class for blinding and unblinding a number based on a blinding string. More...
Detailed DescriptionClass for blinding and unblinding a number based on a blinding string. Numbers are blinded by applying an offset. The blinding string is converted to an integer using TMath::Hash and this integer is used to seed a TRandom3. The offset is sampled from a Gaussian of defined width using the seeded TRandom3. Definition at line 42 of file LauBlind.hh. Constructor & Destructor Documentation◆ LauBlind() [1/2]
Constructor.
Definition at line 41 of file LauBlind.cc. ◆ LauBlind() [2/2]
Default constructor. This is purely to allow I/O to succeed, should not generally be used Definition at line 34 of file LauBlind.cc. Member Function Documentation◆ blind()
Obtain the blinded value.
Definition at line 63 of file LauBlind.hh. ◆ blindingString()
◆ blindingWidth()
◆ unblind()
Obtain the unblinded value.
Definition at line 70 of file LauBlind.hh. The documentation for this class was generated from the following files:
Generated by 1.8.18 |