Analysis Software
Documentation for sPHENIX simulation software
|
Generate ranom numbers within the regular, centric Rectangle. More...
#include <acts/blob/sPHENIX/Tests/UnitTests/Fatras/Digitization/BoundRandomValues.hpp>
Public Member Functions | |
RectangleRandom (double xmax_, double ymax_) | |
Acts::Vector2 | operator() (double r0, double r1) const |
Public Attributes | |
double | xmax |
double | ymax |
Generate ranom numbers within the regular, centric Rectangle.
Definition at line 18 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 18 of file BoundRandomValues.hpp
Constructor from half lengths.
xmax_ | the half length in x |
ymax_ | the half length in y |
Definition at line 26 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 26 of file BoundRandomValues.hpp
|
inline |
Given two random numbers
r0 | and |
r1 | generate a x/y position inside the Rectangle |
Definition at line 32 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 32 of file BoundRandomValues.hpp
double ActsFatras::RectangleRandom::xmax |
Definition at line 19 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 19 of file BoundRandomValues.hpp
Referenced by operator()().
double ActsFatras::RectangleRandom::ymax |
Definition at line 20 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 20 of file BoundRandomValues.hpp
Referenced by operator()().