#include <density.h>
A class to pre-calculate and store parameters relevant for density calculation.
It has to be initialized only once per SMASH run.
Public Member Functions | |
DensityParameters (const ExperimentParameters &par) | |
Constructor of DensityParameters. More... | |
int | ntest () const |
double | r_cut () const |
double | r_cut_sqr () const |
double | two_sig_sqr_inv () const |
double | norm_factor_sf () const |
Private Attributes | |
const double | sig_ |
Gaussian smearing width [fm]. More... | |
const double | r_cut_ |
Cut-off radius [fm]. More... | |
double | r_cut_sqr_ |
Squared cut-off radius [fm \(^2\)]. More... | |
double | two_sig_sqr_inv_ |
\( (2 \sigma^2)^{-1} \) [fm \(^{-2}\)] More... | |
double | norm_factor_sf_ |
Normalization for smearing factor. More... | |
const int | ntest_ |
Testparticle number. More... | |
|
inline |
Constructor of DensityParameters.
[in] | par | Struct containing the Gaussian smearing width \(\sigma\), the cutoff factor \(a\) where the cutoff radius \(r_{\rm cut}=a\sigma\), and the test-particle number. |
Definition at line 116 of file density.h.
|
inline |
|
inline |
|
inline |
Definition at line 133 of file density.h.
|
inline |
|
inline |
Definition at line 141 of file density.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |