GENIEGenerator
|
Nucleus class for Alvarez-Ruso Coherent Pion Production xsec. More...
#include <ARSampledNucleus.h>
Public Member Functions | |
ARSampledNucleus (unsigned int ZNumber, unsigned int ANumber, unsigned int sampling=20) | |
~ARSampledNucleus () | |
unsigned int | A () const |
unsigned int | Z () const |
unsigned int | N () const |
double | Density (const int i, const int j) const |
double | DensityOfCentres (const int i, const int j) const |
double | Radius (const int i, const int j) const |
double | RadiusMax () const |
double | SamplePoint1 (const unsigned int i) const |
double | SamplePoint2 (const unsigned int i) const |
unsigned int | GetSampling (void) const |
unsigned int | GetNDensities (void) const |
double | CalcMatterDensity (double r) const |
double | CalcNumberDensity (double r) const |
Private Member Functions | |
void | Fill () |
void | FillSamplePoints () |
void | FillDensities () |
double | CalcDensity (double radius, double nuc_rad, double nuc_diff) const |
double | Density0 (unsigned int number, double diffuseness, double radius) const |
TF1 * | Density0Function () const |
Static Private Member Functions | |
static Double_t | Density0FunctionFermiLiquid (Double_t *r, Double_t *parameters) |
Private Attributes | |
const unsigned int | fZ |
const unsigned int | fA |
unsigned int | fSampling |
unsigned int | fNDensities |
double | fR_max |
double ** | fRadii |
double ** | fDensities |
double ** | fDensitiesOfCentres |
double * | fSample_points_1 |
double * | fSample_points_2 |
double * | fSample_weights_1 |
double * | fSample_weights_2 |
double | fDiffuseness |
double | fNucRadius |
double | fNucRadiusSq |
double | fDiffusenessCentres |
double | fRadiusCentres |
double | fUseHarmonicOscillator |
Static Private Attributes | |
static double | mean_radius_squared = 0.69 |
Nucleus class for Alvarez-Ruso Coherent Pion Production xsec.
Definition at line 30 of file ARSampledNucleus.h.
genie::alvarezruso::ARSampledNucleus::ARSampledNucleus | ( | unsigned int | ZNumber, |
unsigned int | ANumber, | ||
unsigned int | sampling = 20 |
||
) |
Definition at line 46 of file ARSampledNucleus.cxx.
References fA, fDensities, fDensitiesOfCentres, fDiffuseness, fDiffusenessCentres, Fill(), fNDensities, fNucRadius, fNucRadiusSq, fRadii, fRadiusCentres, fSample_points_1, fSample_points_2, fSample_weights_1, fSample_weights_2, fSampling, fUseHarmonicOscillator, genie::constants::kPi2, and mean_radius_squared.
genie::alvarezruso::ARSampledNucleus::~ARSampledNucleus | ( | ) |
Definition at line 108 of file ARSampledNucleus.cxx.
References fDensities, fDensitiesOfCentres, fNDensities, fRadii, fSample_points_1, fSample_points_2, fSample_weights_1, and fSample_weights_2.
|
inline |
Definition at line 38 of file ARSampledNucleus.h.
References fA.
Referenced by genie::alvarezruso::AREikonalSolution::Element(), and Fill().
|
private |
Definition at line 217 of file ARSampledNucleus.cxx.
References Density0(), fA, and fUseHarmonicOscillator.
Referenced by CalcMatterDensity(), and CalcNumberDensity().
double genie::alvarezruso::ARSampledNucleus::CalcMatterDensity | ( | double | r | ) | const |
Definition at line 278 of file ARSampledNucleus.cxx.
References CalcDensity(), fDiffuseness, and fNucRadius.
Referenced by FillDensities().
double genie::alvarezruso::ARSampledNucleus::CalcNumberDensity | ( | double | r | ) | const |
Definition at line 283 of file ARSampledNucleus.cxx.
References CalcDensity(), fDiffusenessCentres, and fRadiusCentres.
Referenced by genie::alvarezruso::AREikonalSolution::Element(), and FillDensities().
double genie::alvarezruso::ARSampledNucleus::Density | ( | const int | i, |
const int | j | ||
) | const |
Definition at line 140 of file ARSampledNucleus.cxx.
References fDensities.
|
private |
Definition at line 233 of file ARSampledNucleus.cxx.
References Density0Function(), fR_max, and fUseHarmonicOscillator.
Referenced by CalcDensity().
|
private |
Definition at line 262 of file ARSampledNucleus.cxx.
References Density0FunctionFermiLiquid(), and fR_max.
Referenced by Density0().
|
staticprivate |
Definition at line 267 of file ARSampledNucleus.cxx.
Referenced by Density0Function().
double genie::alvarezruso::ARSampledNucleus::DensityOfCentres | ( | const int | i, |
const int | j | ||
) | const |
Definition at line 145 of file ARSampledNucleus.cxx.
References fDensitiesOfCentres.
Referenced by genie::alvarezruso::AlvarezRusoCOHPiPDXSec::NuclearCurrent().
|
private |
Definition at line 125 of file ARSampledNucleus.cxx.
References A(), fA, FillDensities(), FillSamplePoints(), fR_max, fZ, LOG, and pDEBUG.
Referenced by ARSampledNucleus().
|
private |
Definition at line 174 of file ARSampledNucleus.cxx.
References CalcMatterDensity(), CalcNumberDensity(), fDensities, fDensitiesOfCentres, fNDensities, fRadii, fSample_points_1, and fSample_points_2.
Referenced by Fill().
|
private |
Definition at line 155 of file ARSampledNucleus.cxx.
References fNDensities, fR_max, fSample_points_1, fSample_points_2, fSample_weights_1, fSample_weights_2, fSampling, and genie::alvarezruso::integrationtools::SGNR().
Referenced by Fill().
unsigned int genie::alvarezruso::ARSampledNucleus::GetNDensities | ( | void | ) | const |
Definition at line 212 of file ARSampledNucleus.cxx.
References fNDensities.
Referenced by genie::alvarezruso::AlvarezRusoCOHPiPDXSec::NuclearCurrent(), and genie::alvarezruso::AlvarezRusoCOHPiPDXSec::SolveWavefunctions().
unsigned int genie::alvarezruso::ARSampledNucleus::GetSampling | ( | void | ) | const |
Definition at line 208 of file ARSampledNucleus.cxx.
References fSampling.
|
inline |
Definition at line 42 of file ARSampledNucleus.h.
double genie::alvarezruso::ARSampledNucleus::Radius | ( | const int | i, |
const int | j | ||
) | const |
Definition at line 150 of file ARSampledNucleus.cxx.
References fRadii.
Referenced by genie::alvarezruso::AlvarezRusoCOHPiPDXSec::SolveWavefunctions().
|
inline |
Definition at line 48 of file ARSampledNucleus.h.
References fR_max.
Referenced by genie::alvarezruso::AREikonalSolution::Element(), and genie::alvarezruso::AlvarezRusoCOHPiPDXSec::NuclearCurrent().
|
inline |
Definition at line 52 of file ARSampledNucleus.h.
References fSample_points_1.
Referenced by genie::alvarezruso::AlvarezRusoCOHPiPDXSec::NuclearCurrent().
|
inline |
Definition at line 56 of file ARSampledNucleus.h.
References fSample_points_2.
Referenced by genie::alvarezruso::AlvarezRusoCOHPiPDXSec::NuclearCurrent(), and genie::alvarezruso::AlvarezRusoCOHPiPDXSec::SolveWavefunctions().
|
inline |
Definition at line 40 of file ARSampledNucleus.h.
References fZ.
Referenced by genie::alvarezruso::AREikonalSolution::Element().
|
private |
Definition at line 83 of file ARSampledNucleus.h.
Referenced by A(), ARSampledNucleus(), CalcDensity(), Fill(), and N().
|
private |
Definition at line 90 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), Density(), FillDensities(), and ~ARSampledNucleus().
|
private |
Definition at line 91 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), DensityOfCentres(), FillDensities(), and ~ARSampledNucleus().
|
private |
Definition at line 97 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), and CalcMatterDensity().
|
private |
Definition at line 100 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), and CalcNumberDensity().
|
private |
Definition at line 86 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), FillDensities(), FillSamplePoints(), GetNDensities(), and ~ARSampledNucleus().
|
private |
Definition at line 98 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), and CalcMatterDensity().
|
private |
Definition at line 99 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus().
|
private |
Definition at line 88 of file ARSampledNucleus.h.
Referenced by Density0(), Density0Function(), Fill(), FillSamplePoints(), and RadiusMax().
|
private |
Definition at line 89 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), FillDensities(), Radius(), and ~ARSampledNucleus().
|
private |
Definition at line 101 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), and CalcNumberDensity().
|
private |
Definition at line 92 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), FillDensities(), FillSamplePoints(), SamplePoint1(), and ~ARSampledNucleus().
|
private |
Definition at line 93 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), FillDensities(), FillSamplePoints(), SamplePoint2(), and ~ARSampledNucleus().
|
private |
Definition at line 94 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), FillSamplePoints(), and ~ARSampledNucleus().
|
private |
Definition at line 95 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), FillSamplePoints(), and ~ARSampledNucleus().
|
private |
Definition at line 84 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), FillSamplePoints(), and GetSampling().
|
private |
Definition at line 103 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus(), CalcDensity(), and Density0().
|
private |
Definition at line 82 of file ARSampledNucleus.h.
|
staticprivate |
Definition at line 109 of file ARSampledNucleus.h.
Referenced by ARSampledNucleus().