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
Constructor.
Definition at line 44 of file LauBlind.cc.
Copy constructor. Definition at line 52 of file LauBlind.cc.
Destructor. Definition at line 59 of file LauBlind.cc.
Default constructor. This is purely to allow I/O to succeed, should not generally be used Definition at line 37 of file LauBlind.cc. Member Function Documentation
Obtain the blinded value.
Definition at line 63 of file LauBlind.hh.
Calculate the offset. Definition at line 63 of file LauBlind.cc. Copy assignment operator (not implemented)
Obtain the unblinded value.
Definition at line 70 of file LauBlind.hh. Member Data Documentation
The blinding string. Definition at line 92 of file LauBlind.hh.
The Gaussian width. Definition at line 95 of file LauBlind.hh.
The offset used to blind the value. Definition at line 98 of file LauBlind.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |