Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsFatras::DiscRandom Struct Reference

Generate ranom numbers within disc ring. More...

#include <acts/blob/sPHENIX/Tests/UnitTests/Fatras/Digitization/BoundRandomValues.hpp>

Public Member Functions

 DiscRandom (double rmin_, double rmax_, double phimin_, double phimax_)
 
Acts::Vector2 operator() (double r0, double r1) const
 

Public Attributes

double rmin
 
double rmax
 
double phimin
 
double phimax
 

Detailed Description

Generate ranom numbers within disc ring.

Definition at line 74 of file BoundRandomValues.hpp.

View newest version in sPHENIX GitHub at line 74 of file BoundRandomValues.hpp

Constructor & Destructor Documentation

ActsFatras::DiscRandom::DiscRandom ( double  rmin_,
double  rmax_,
double  phimin_,
double  phimax_ 
)
inline

Constructor for RadiablBounds : DiscBounds

Parameters
rmin_the minimum r of the disc
rmax_the maximum r of the disc
phimin_the minimum phi value of the disc
phimax_the maximum phi value of the disc

Definition at line 86 of file BoundRandomValues.hpp.

View newest version in sPHENIX GitHub at line 86 of file BoundRandomValues.hpp

Member Function Documentation

Acts::Vector2 ActsFatras::DiscRandom::operator() ( double  r0,
double  r1 
) const
inline

Given two random numbers

Parameters
r0and
r1generate a x/y position inside the Disc
Returns
Note
r0, r1 need to be within [0,1]

Definition at line 93 of file BoundRandomValues.hpp.

View newest version in sPHENIX GitHub at line 93 of file BoundRandomValues.hpp

References ActsTests::PropagationDatasets::phi, phimax, phimin, physmon_track_finding_ttbar::r, rmax, and rmin.

Member Data Documentation

double ActsFatras::DiscRandom::phimax

Definition at line 78 of file BoundRandomValues.hpp.

View newest version in sPHENIX GitHub at line 78 of file BoundRandomValues.hpp

Referenced by operator()().

double ActsFatras::DiscRandom::phimin

Definition at line 77 of file BoundRandomValues.hpp.

View newest version in sPHENIX GitHub at line 77 of file BoundRandomValues.hpp

Referenced by operator()().

double ActsFatras::DiscRandom::rmax

Definition at line 76 of file BoundRandomValues.hpp.

View newest version in sPHENIX GitHub at line 76 of file BoundRandomValues.hpp

Referenced by operator()().

double ActsFatras::DiscRandom::rmin

Definition at line 75 of file BoundRandomValues.hpp.

View newest version in sPHENIX GitHub at line 75 of file BoundRandomValues.hpp

Referenced by operator()().


The documentation for this struct was generated from the following file: