Analysis Software
Documentation for sPHENIX simulation software
|
Create Random variables inside a regular Trapezoid. More...
#include <acts/blob/sPHENIX/Tests/UnitTests/Fatras/Digitization/BoundRandomValues.hpp>
Public Member Functions | |
TrapezoidRandom (double xminy_, double xmaxy_, double ymax_) | |
TrapezoidRandom (double xminy_, double xmaxy_, double ymin_, double ymax_) | |
Acts::Vector2 | operator() (double r0, double r1) const |
Public Attributes | |
double | xminy |
double | xmaxy |
double | ymin |
double | ymax |
Create Random variables inside a regular Trapezoid.
Definition at line 38 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 38 of file BoundRandomValues.hpp
Constructor for TrapezoidBounds : PlaneBounds
xminy_ | the x value at minimum y value |
xmaxy_ | the x value at maximum y value |
ymax_ | the half length in y |
Definition at line 49 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 49 of file BoundRandomValues.hpp
|
inline |
Constructor for DiscTrapezoidBounds : DiscBounds
xminy_ | the x value at minimum y value |
xmaxy_ | the x value at maximum y value |
ymin_ | the minimum y value (conicides with rmin) |
ymax_ | the maximum y value |
Definition at line 58 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 58 of file BoundRandomValues.hpp
|
inline |
Given two random numbers
r0 | and |
r1 | generate a x/y position inside the Trapezoid |
Definition at line 65 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 65 of file BoundRandomValues.hpp
References ambiguity_solver_full_chain::x, xmax, xmaxy, xminy, y, ymax, and ymin.
double ActsFatras::TrapezoidRandom::xmaxy |
Definition at line 40 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 40 of file BoundRandomValues.hpp
Referenced by operator()().
double ActsFatras::TrapezoidRandom::xminy |
Definition at line 39 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 39 of file BoundRandomValues.hpp
Referenced by operator()().
double ActsFatras::TrapezoidRandom::ymax |
Definition at line 42 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 42 of file BoundRandomValues.hpp
Referenced by operator()().
double ActsFatras::TrapezoidRandom::ymin |
Definition at line 41 of file BoundRandomValues.hpp.
View newest version in sPHENIX GitHub at line 41 of file BoundRandomValues.hpp
Referenced by operator()().