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 28 of file LauBlind.hh. Constructor & Destructor Documentation
Constructor.
Definition at line 30 of file LauBlind.cc.
Copy constructor. Definition at line 38 of file LauBlind.cc.
Destructor. Definition at line 45 of file LauBlind.cc.
Default constructor. This is purely to allow I/O to succeed, should not generally be used Definition at line 23 of file LauBlind.cc. Member Function Documentation
Obtain the blinded value.
Definition at line 49 of file LauBlind.hh.
Calculate the offset. Definition at line 49 of file LauBlind.cc. Copy assignment operator (not implemented)
Obtain the unblinded value.
Definition at line 56 of file LauBlind.hh. Member Data Documentation
The blinding string. Definition at line 78 of file LauBlind.hh.
The Gaussian width. Definition at line 81 of file LauBlind.hh.
The offset used to blind the value. Definition at line 84 of file LauBlind.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |