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. References ConstRandomFilter::_lossFraction. : _lossFraction(lossFraction) { assert(_lossFraction >= 0); } Member Function Documentation
Definition at line 32 of file ConstLossyFinalState.hh. References ConstRandomFilter::_lossFraction, and Rivet::cmp(). { return cmp(_lossFraction, other._lossFraction); }
Definition at line 27 of file ConstLossyFinalState.hh. References ConstRandomFilter::_lossFraction. { /// @todo Use a better RNG return (rand()/static_cast<double>(RAND_MAX) < _lossFraction); } Member Data Documentation
Definition at line 38 of file ConstLossyFinalState.hh. Referenced by ConstRandomFilter::compare(), ConstRandomFilter::ConstRandomFilter(), and ConstRandomFilter::operator()(). The documentation for this class was generated from the following file: Generated on Thu Feb 6 2014 17:38:58 for The Rivet MC analysis system by 1.7.6.1 |