GENIEGenerator
|
A class to store PDFs. More...
#include <PDF.h>
Public Member Functions | |
PDF () | |
PDF (const PDF &pdf_set) | |
virtual | ~PDF () |
void | SetModel (const PDFModelI *model) |
void | Calculate (double x, double q2) |
double | UpValence (void) const |
double | DownValence (void) const |
double | UpSea (void) const |
double | DownSea (void) const |
double | Strange (void) const |
double | Charm (void) const |
double | Bottom (void) const |
double | Top (void) const |
double | Gluon (void) const |
void | ScaleValence (double kscale) |
void | ScaleSea (double kscale) |
void | ScaleUpValence (double kscale) |
void | ScaleDownValence (double kscale) |
void | ScaleUpSea (double kscale) |
void | ScaleDownSea (double kscale) |
void | ScaleStrange (double kscale) |
void | ScaleCharm (double kscale) |
void | Reset (void) |
void | Copy (const PDF &pdf_set) |
void | Print (ostream &stream) const |
Protected Member Functions | |
void | Init (void) |
Protected Attributes | |
double | fUpValence |
double | fDownValence |
double | fUpSea |
double | fDownSea |
double | fStrange |
double | fCharm |
double | fBottom |
double | fTop |
double | fGluon |
const PDFModelI * | fModel |
Friends | |
ostream & | operator<< (ostream &stream, const PDF &pdf_set) |
A class to store PDFs.
This class is using the \b Strategy Pattern. \n It can accept requests to calculate itself, for a given (x,q^2) pair, that it then delegates to the algorithmic object, implementing the PDFModelI interface, that it finds attached to itself.
|
inline |
void PDF::Calculate | ( | double | x, |
double | q2 | ||
) |
Definition at line 49 of file PDF.cxx.
References genie::PDFModelI::AllPDFs(), fBottom, fCharm, fDownSea, fDownValence, fGluon, fModel, fStrange, fTop, fUpSea, and fUpValence.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), genie::QPMDMDISStrucFuncBase::CalcPDFs(), main(), MakePlots(), genie::SlowRsclCharmDISPXSecLO::XSec(), and genie::AivazisCharmPXSecLO::XSec().
|
inline |
void PDF::Copy | ( | const PDF & | pdf_set | ) |
|
inline |
Definition at line 53 of file PDF.h.
References fDownSea.
Referenced by main(), MakePlots(), genie::SlowRsclCharmDISPXSecLO::XSec(), and genie::AivazisCharmPXSecLO::XSec().
|
inline |
Definition at line 51 of file PDF.h.
References fDownValence.
Referenced by main(), MakePlots(), genie::SlowRsclCharmDISPXSecLO::XSec(), and genie::AivazisCharmPXSecLO::XSec().
|
inline |
|
protected |
Definition at line 139 of file PDF.cxx.
References fBottom, fCharm, fDownSea, fDownValence, fGluon, fModel, fStrange, fTop, fUpSea, and fUpValence.
Referenced by PDF(), and SetModel().
void PDF::Print | ( | ostream & | stream | ) | const |
Definition at line 154 of file PDF.cxx.
References fBottom, fCharm, fDownSea, fDownValence, fGluon, fStrange, fTop, fUpSea, and fUpValence.
Referenced by genie::operator<<().
void PDF::Reset | ( | void | ) |
void PDF::ScaleCharm | ( | double | kscale | ) |
Definition at line 106 of file PDF.cxx.
References fCharm.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), and genie::QPMDMDISStrucFuncBase::CalcPDFs().
void PDF::ScaleDownSea | ( | double | kscale | ) |
Definition at line 96 of file PDF.cxx.
References fDownSea.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), and genie::QPMDMDISStrucFuncBase::CalcPDFs().
void PDF::ScaleDownValence | ( | double | kscale | ) |
Definition at line 86 of file PDF.cxx.
References fDownValence.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), and genie::QPMDMDISStrucFuncBase::CalcPDFs().
void PDF::ScaleSea | ( | double | kscale | ) |
void PDF::ScaleStrange | ( | double | kscale | ) |
Definition at line 101 of file PDF.cxx.
References fStrange.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), and genie::QPMDMDISStrucFuncBase::CalcPDFs().
void PDF::ScaleUpSea | ( | double | kscale | ) |
Definition at line 91 of file PDF.cxx.
References fUpSea.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), and genie::QPMDMDISStrucFuncBase::CalcPDFs().
void PDF::ScaleUpValence | ( | double | kscale | ) |
Definition at line 81 of file PDF.cxx.
References fUpValence.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), and genie::QPMDMDISStrucFuncBase::CalcPDFs().
void PDF::ScaleValence | ( | double | kscale | ) |
void PDF::SetModel | ( | const PDFModelI * | model | ) |
Definition at line 42 of file PDF.cxx.
References fModel, and Init().
Referenced by genie::KovalenkoQELCharmPXSec::DR(), main(), MakePlots(), genie::SlowRsclCharmDISPXSecLO::XSec(), and genie::AivazisCharmPXSecLO::XSec().
|
inline |
Definition at line 54 of file PDF.h.
References fStrange.
Referenced by main(), MakePlots(), genie::SlowRsclCharmDISPXSecLO::XSec(), and genie::AivazisCharmPXSecLO::XSec().
|
inline |
|
inline |
Definition at line 52 of file PDF.h.
References fUpSea.
Referenced by main(), MakePlots(), genie::SlowRsclCharmDISPXSecLO::XSec(), and genie::AivazisCharmPXSecLO::XSec().
|
inline |
Definition at line 50 of file PDF.h.
References fUpValence.
Referenced by main(), MakePlots(), genie::SlowRsclCharmDISPXSecLO::XSec(), and genie::AivazisCharmPXSecLO::XSec().
|
friend |
|
protected |
Definition at line 89 of file PDF.h.
Referenced by Bottom(), Calculate(), Copy(), Init(), Print(), Reset(), and ScaleSea().
|
protected |
Definition at line 88 of file PDF.h.
Referenced by Calculate(), Charm(), Copy(), Init(), Print(), Reset(), ScaleCharm(), and ScaleSea().
|
protected |
Definition at line 86 of file PDF.h.
Referenced by Calculate(), Copy(), DownSea(), Init(), Print(), Reset(), ScaleDownSea(), and ScaleSea().
|
protected |
Definition at line 84 of file PDF.h.
Referenced by Calculate(), Copy(), DownValence(), Init(), Print(), Reset(), ScaleDownValence(), and ScaleValence().
|
protected |
Definition at line 91 of file PDF.h.
Referenced by Calculate(), Copy(), Gluon(), Init(), Print(), Reset(), and ScaleSea().
|
protected |
Definition at line 93 of file PDF.h.
Referenced by Calculate(), Copy(), Init(), and SetModel().
|
protected |
Definition at line 87 of file PDF.h.
Referenced by Calculate(), Copy(), Init(), Print(), Reset(), ScaleSea(), ScaleStrange(), and Strange().
|
protected |
Definition at line 90 of file PDF.h.
Referenced by Calculate(), Copy(), Init(), Print(), Reset(), ScaleSea(), and Top().
|
protected |
Definition at line 85 of file PDF.h.
Referenced by Calculate(), Copy(), Init(), Print(), Reset(), ScaleSea(), ScaleUpSea(), and UpSea().
|
protected |
Definition at line 83 of file PDF.h.
Referenced by Calculate(), Copy(), Init(), Print(), Reset(), ScaleUpValence(), ScaleValence(), and UpValence().