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

Generate random numbers within an Annulus object. More...

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

Public Member Functions

 AnnulusRandom (double rmin_, double rmax_, double phimins_, double phimaxs_, double originxs_, double originys_)
 
Acts::Vector2 operator() (double r0, double r1) const
 

Public Attributes

double rmin
 
double rmax
 
double phimins
 
double phimaxs
 
double originxs
 
double originys
 

Detailed Description

Generate random numbers within an Annulus object.

Definition at line 101 of file BoundRandomValues.hpp.

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

Constructor & Destructor Documentation

ActsFatras::AnnulusRandom::AnnulusRandom ( double  rmin_,
double  rmax_,
double  phimins_,
double  phimaxs_,
double  originxs_,
double  originys_ 
)
inline

Constructor for RadiablBounds : DiscBounds

Parameters
rmin_the minimum r of the disc
rmax_the maximum r of the disc
phimins_the minimum phi - strip system
phimaxs_the maximum phi - strip system
originxs_the origin x - strip system
originys_the origin y - strip system

Definition at line 117 of file BoundRandomValues.hpp.

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

Member Function Documentation

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

Given two random numbers

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

Definition at line 130 of file BoundRandomValues.hpp.

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

References ActsTests::PropagationDatasets::phi, phimaxs, phimins, physmon_track_finding_ttbar::r, rmax, and rmin.

Member Data Documentation

double ActsFatras::AnnulusRandom::originxs

Definition at line 106 of file BoundRandomValues.hpp.

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

double ActsFatras::AnnulusRandom::originys

Definition at line 107 of file BoundRandomValues.hpp.

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

double ActsFatras::AnnulusRandom::phimaxs

Definition at line 105 of file BoundRandomValues.hpp.

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

Referenced by operator()().

double ActsFatras::AnnulusRandom::phimins

Definition at line 104 of file BoundRandomValues.hpp.

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

Referenced by operator()().

double ActsFatras::AnnulusRandom::rmax

Definition at line 103 of file BoundRandomValues.hpp.

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

Referenced by operator()().

double ActsFatras::AnnulusRandom::rmin

Definition at line 102 of file BoundRandomValues.hpp.

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

Referenced by operator()().


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