Geant4
10.01.p03
|
#include <G4RDEMDataSet.hh>
Public Member Functions | |
G4RDEMDataSet (G4int argZ, G4RDVDataSetAlgorithm *algo, G4double xUnit=CLHEP::MeV, G4double yUnit=CLHEP::barn, G4bool random=false) | |
G4RDEMDataSet (G4int argZ, G4DataVector *xData, G4DataVector *data, G4RDVDataSetAlgorithm *algo, G4double xUnit=CLHEP::MeV, G4double yUnit=CLHEP::barn, G4bool random=false) | |
virtual | ~G4RDEMDataSet () |
virtual G4double | FindValue (G4double x, G4int componentId=0) const |
virtual void | PrintData (void) const |
virtual const G4RDVEMDataSet * | GetComponent (G4int) const |
virtual void | AddComponent (G4RDVEMDataSet *) |
virtual size_t | NumberOfComponents (void) const |
virtual const G4DataVector & | GetEnergies (G4int) const |
virtual const G4DataVector & | GetData (G4int) const |
virtual void | SetEnergiesData (G4DataVector *xData, G4DataVector *data, G4int componentId) |
virtual G4bool | LoadData (const G4String &fileName) |
virtual G4bool | SaveData (const G4String &fileName) const |
virtual G4double | RandomSelect (G4int componentId=0) const |
Public Member Functions inherited from G4RDVEMDataSet | |
G4RDVEMDataSet () | |
virtual | ~G4RDVEMDataSet () |
Private Member Functions | |
size_t | FindLowerBound (G4double energy) const |
size_t | FindLowerBound (G4double x, G4DataVector *values) const |
G4double | IntegrationFunction (G4double x) |
virtual void | BuildPdf () |
G4String | FullFileName (const G4String &fileName) const |
G4RDEMDataSet () | |
G4RDEMDataSet (const G4RDEMDataSet ©) | |
G4RDEMDataSet & | operator= (const G4RDEMDataSet &right) |
Private Attributes | |
G4int | z |
G4DataVector * | energies |
G4DataVector * | data |
G4RDVDataSetAlgorithm * | algorithm |
G4double | unitEnergies |
G4double | unitData |
G4DataVector * | |
G4bool | randomSet |
Definition at line 56 of file G4RDEMDataSet.hh.
G4RDEMDataSet::G4RDEMDataSet | ( | G4int | argZ, |
G4RDVDataSetAlgorithm * | algo, | ||
G4double | xUnit = CLHEP::MeV , |
||
G4double | yUnit = CLHEP::barn , |
||
G4bool | random = false |
||
) |
Definition at line 47 of file G4RDEMDataSet.cc.
References algorithm, BuildPdf(), FatalException, G4Exception(), and randomSet.
G4RDEMDataSet::G4RDEMDataSet | ( | G4int | argZ, |
G4DataVector * | xData, | ||
G4DataVector * | data, | ||
G4RDVDataSetAlgorithm * | algo, | ||
G4double | xUnit = CLHEP::MeV , |
||
G4double | yUnit = CLHEP::barn , |
||
G4bool | random = false |
||
) |
Definition at line 67 of file G4RDEMDataSet.cc.
References algorithm, BuildPdf(), data, energies, FatalException, G4Exception(), and randomSet.
|
virtual |
|
private |
|
private |
|
inlinevirtual |
Implements G4RDVEMDataSet.
Definition at line 81 of file G4RDEMDataSet.hh.
|
privatevirtual |
Definition at line 329 of file G4RDEMDataSet.cc.
References data, IntegrationFunction(), G4Integrator< T, F >::Legendre96(), and pdf.
Referenced by G4RDEMDataSet(), and LoadData().
|
private |
Definition at line 281 of file G4RDEMDataSet.cc.
References energies.
Referenced by FindValue(), IntegrationFunction(), and RandomSelect().
|
private |
Definition at line 298 of file G4RDEMDataSet.cc.
Implements G4RDVEMDataSet.
Definition at line 108 of file G4RDEMDataSet.cc.
References algorithm, G4RDVDataSetAlgorithm::Calculate(), data, energies, FatalException, FindLowerBound(), and G4Exception().
Definition at line 315 of file G4RDEMDataSet.cc.
References FatalException, G4Exception(), and z.
Referenced by LoadData(), and SaveData().
|
inlinevirtual |
Implements G4RDVEMDataSet.
Definition at line 79 of file G4RDEMDataSet.hh.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 385 of file G4RDEMDataSet.cc.
References algorithm, G4RDVDataSetAlgorithm::Calculate(), G4RDLinInterpolation::Calculate(), data, energies, and FindLowerBound().
Referenced by BuildPdf().
Implements G4RDVEMDataSet.
Definition at line 164 of file G4RDEMDataSet.cc.
References a, BuildPdf(), FatalException, FullFileName(), G4Exception(), randomSet, SetEnergiesData(), unitData, and unitEnergies.
|
inlinevirtual |
Implements G4RDVEMDataSet.
Definition at line 83 of file G4RDEMDataSet.hh.
|
private |
|
virtual |
Implements G4RDVEMDataSet.
Definition at line 123 of file G4RDEMDataSet.cc.
References data, energies, G4cout, G4endl, pdf, unitData, and unitEnergies.
Implements G4RDVEMDataSet.
Definition at line 359 of file G4RDEMDataSet.cc.
References algorithm, G4RDVDataSetAlgorithm::Calculate(), G4RDLinInterpolation::Calculate(), energies, FatalException, FindLowerBound(), G4Exception(), G4UniformRand, and pdf.
Implements G4RDVEMDataSet.
Definition at line 211 of file G4RDEMDataSet.cc.
References data, energies, FatalException, FullFileName(), G4Exception(), left, unitData, and unitEnergies.
|
virtual |
Implements G4RDVEMDataSet.
Definition at line 143 of file G4RDEMDataSet.cc.
References data, energies, FatalException, and G4Exception().
Referenced by LoadData().
|
private |
Definition at line 116 of file G4RDEMDataSet.hh.
Referenced by FindValue(), G4RDEMDataSet(), IntegrationFunction(), RandomSelect(), and ~G4RDEMDataSet().
|
private |
Definition at line 114 of file G4RDEMDataSet.hh.
Referenced by BuildPdf(), FindValue(), G4RDEMDataSet(), GetData(), IntegrationFunction(), PrintData(), SaveData(), SetEnergiesData(), and ~G4RDEMDataSet().
|
private |
Definition at line 113 of file G4RDEMDataSet.hh.
Referenced by FindLowerBound(), FindValue(), G4RDEMDataSet(), GetEnergies(), IntegrationFunction(), PrintData(), RandomSelect(), SaveData(), SetEnergiesData(), and ~G4RDEMDataSet().
|
private |
Definition at line 121 of file G4RDEMDataSet.hh.
Referenced by BuildPdf(), PrintData(), RandomSelect(), and ~G4RDEMDataSet().
|
private |
Definition at line 122 of file G4RDEMDataSet.hh.
Referenced by G4RDEMDataSet(), and LoadData().
|
private |
Definition at line 119 of file G4RDEMDataSet.hh.
Referenced by LoadData(), PrintData(), and SaveData().
|
private |
Definition at line 118 of file G4RDEMDataSet.hh.
Referenced by LoadData(), PrintData(), and SaveData().
|
private |
Definition at line 111 of file G4RDEMDataSet.hh.
Referenced by FullFileName().