ConstRandomFilter Class Reference Functor used to implement constant random lossiness. More...
Detailed DescriptionFunctor used to implement constant random lossiness. Definition at line 17 of file ConstLossyFinalState.hh. Constructor & Destructor Documentation
Definition at line 20 of file ConstLossyFinalState.hh. : _lossFraction(lossFraction) { assert(_lossFraction >= 0); } Member Function Documentation
Definition at line 32 of file ConstLossyFinalState.hh. { return cmp(_lossFraction, other._lossFraction); }
Definition at line 27 of file ConstLossyFinalState.hh. { /// @todo Use a better RNG return (rand()/static_cast<double>(RAND_MAX) < _lossFraction); } Member Data Documentation
Definition at line 38 of file ConstLossyFinalState.hh. The documentation for this class was generated from the following file: Generated on Tue Dec 13 2016 16:32:47 for The Rivet MC analysis system by ![]() |