#include <XrayFluoDataSet.hh>
|
| XrayFluoDataSet (G4int Z, G4DataVector *points, G4DataVector *values, const G4VDataSetAlgorithm *interpolation, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn) |
|
| XrayFluoDataSet (G4int Z, const G4String &dataFile, const G4VDataSetAlgorithm *interpolation, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn) |
|
| ~XrayFluoDataSet () |
|
G4double | FindValue (G4double e, G4int) const |
|
virtual const G4VEMDataSet * | GetComponent (G4int) const |
|
virtual void | AddComponent (G4VEMDataSet *) |
|
virtual size_t | NumberOfComponents () const |
|
virtual void | SetEnergiesData (G4DataVector *, G4DataVector *, int=0) |
|
virtual G4bool | SaveData (const G4String &) const |
|
virtual G4double | RandomSelect (int=0) const |
|
void | PrintData () const |
|
const G4DataVector & | GetEnergies (G4int) const |
|
const G4DataVector & | GetData (G4int) const |
|
virtual const G4DataVector & | GetLogEnergies (G4int) const |
|
virtual const G4DataVector & | GetLogData (G4int) const |
|
virtual void | SetLogEnergiesData (G4DataVector *, G4DataVector *, G4DataVector *, G4DataVector *, G4int) |
|
virtual G4bool | LoadNonLogData (const G4String &) |
|
| G4VEMDataSet () |
|
virtual | ~G4VEMDataSet () |
|
Definition at line 51 of file XrayFluoDataSet.hh.
Definition at line 42 of file XrayFluoDataSet.cc.
47 :energies(points),
data(values), algorithm(interpolation)
49 numberOfBins = energies->size();
const XML_Char const XML_Char * data
Definition at line 56 of file XrayFluoDataSet.cc.
60 : algorithm(interpolation)
67 numberOfBins = energies->size();
const XML_Char const XML_Char * data
XrayFluoDataSet::~XrayFluoDataSet |
( |
| ) |
|
Implements G4VEMDataSet.
Definition at line 81 of file XrayFluoDataSet.cc.
86 size_t bin = FindBinLocation(e);
87 if (bin == numberOfBins)
virtual G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const =0
const XML_Char const XML_Char * data
const XML_Char int const XML_Char * value
virtual size_t XrayFluoDataSet::NumberOfComponents |
( |
void |
| ) |
const |
|
inlinevirtual |
void XrayFluoDataSet::PrintData |
( |
void |
| ) |
const |
|
virtual |
Implements G4VEMDataSet.
Definition at line 206 of file XrayFluoDataSet.cc.
208 size_t size = numberOfBins;
209 for (
size_t i=0; i<size; i++)
211 G4double e = (*energies)[i] / unit1;
212 G4double sigma = (*data)[i] / unit2 ;
215 <<
" - Data value : "
G4GLOB_DLL std::ostream G4cout
virtual G4double XrayFluoDataSet::RandomSelect |
( |
int |
= 0 | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files: