Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/trento/src/nucleus.h>
Public Member Functions | |
WoodsSaxonNucleus (std::size_t A, double R, double a, double dmin=0) | |
virtual double | radius () const override |
The radius of a Woods-Saxon Nucleus is computed from the parameters (R, a). | |
Private Member Functions | |
virtual void | sample_nucleons_impl () override |
Sample Woods-Saxon nucleon positions. | |
Private Attributes | |
const double | R_ |
Woods-Saxon parameters. | |
const double | a_ |
std::piecewise_linear_distribution < double > | woods_saxon_dist_ |
Additional Inherited Members | |
Public Types inherited from trento::Nucleus | |
using | size_type = std::vector< Nucleon >::size_type |
using | iterator = std::vector< Nucleon >::iterator |
using | const_iterator = std::vector< Nucleon >::const_iterator |
Static Public Member Functions inherited from trento::Nucleus | |
static NucleusPtr | create (const std::string &species, double nucleon_width, double nucleon_dmin=0) |
Protected Member Functions inherited from trento::MinDistNucleus | |
MinDistNucleus (std::size_t A, double dmin=0) | |
bool | is_too_close (const_iterator nucleon) const |
Samples nucleons from a spherically symmetric Woods-Saxon distribution
.. math::
f(r) {1}{1 + ({r-R}{a})}.
For non-deformed heavy nuclei such as lead.
Definition at line 208 of file nucleus.h.
View newest version in sPHENIX GitHub at line 208 of file nucleus.h
Nucleus::create()
sets these parameters for a given species.
A | number of nucleons |
R | Woods-Saxon radius |
a | Woods-Saxon surface thickness |
dmin | minimum nucleon-nucleon distance (optional, default zero) |
Definition at line 185 of file nucleus.cxx.
View newest version in sPHENIX GitHub at line 185 of file nucleus.cxx
References physmon_track_finding_ttbar::r.
|
overridevirtual |
The radius of a Woods-Saxon Nucleus is computed from the parameters (R, a).
Implements trento::Nucleus.
|
overrideprivatevirtual |
Sample Woods-Saxon nucleon positions.
Implements trento::Nucleus.
|
private |
|
private |
|
mutableprivate |