Geant4
10.01.p02
|
#include <G4ShellEMDataSet.hh>
Public Member Functions | |
G4ShellEMDataSet (G4int Z, G4VDataSetAlgorithm *algo, G4double eUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn) | |
virtual | ~G4ShellEMDataSet () |
virtual G4double | FindValue (G4double energy, G4int componentId=0) const |
virtual void | PrintData (void) const |
virtual const G4VEMDataSet * | GetComponent (G4int componentId) const |
virtual void | AddComponent (G4VEMDataSet *dataSet) |
virtual size_t | NumberOfComponents (void) const |
virtual const G4DataVector & | GetEnergies (G4int componentId) const |
virtual const G4DataVector & | GetData (G4int componentId) const |
virtual const G4DataVector & | GetLogEnergies (G4int componentId) const |
virtual const G4DataVector & | GetLogData (G4int componentId) const |
virtual void | SetEnergiesData (G4DataVector *energies, G4DataVector *data, G4int componentId) |
virtual void | SetLogEnergiesData (G4DataVector *energies, G4DataVector *data, G4DataVector *log_energies, G4DataVector *log_data, G4int componentId) |
virtual G4bool | LoadData (const G4String &fileName) |
virtual G4bool | LoadNonLogData (const G4String &fileName) |
virtual G4bool | SaveData (const G4String &fileName) const |
virtual G4double | RandomSelect (G4int) const |
Public Member Functions inherited from G4VEMDataSet | |
G4VEMDataSet () | |
virtual | ~G4VEMDataSet () |
Protected Member Functions | |
G4double | GetUnitEnergies () const |
G4double | GetUnitData () const |
const G4VDataSetAlgorithm * | GetAlgorithm () const |
void | CleanUpComponents (void) |
Private Member Functions | |
G4String | FullFileName (const G4String &fileName) const |
G4ShellEMDataSet () | |
G4ShellEMDataSet (const G4ShellEMDataSet ©) | |
G4ShellEMDataSet & | operator= (const G4ShellEMDataSet &right) |
Private Attributes | |
std::vector< G4VEMDataSet * > | components |
G4int | z |
G4VDataSetAlgorithm * | algorithm |
G4double | unitEnergies |
G4double | unitData |
Definition at line 60 of file G4ShellEMDataSet.hh.
G4ShellEMDataSet::G4ShellEMDataSet | ( | G4int | Z, |
G4VDataSetAlgorithm * | algo, | ||
G4double | eUnit = CLHEP::MeV , |
||
G4double | dataUnit = CLHEP::barn |
||
) |
Definition at line 64 of file G4ShellEMDataSet.cc.
References algorithm, FatalErrorInArgument, and G4Exception().
|
virtual |
Definition at line 77 of file G4ShellEMDataSet.cc.
References algorithm, and CleanUpComponents().
|
private |
|
private |
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 75 of file G4ShellEMDataSet.hh.
References components.
Referenced by LoadData(), and LoadNonLogData().
|
protected |
Definition at line 389 of file G4ShellEMDataSet.cc.
References components.
Referenced by LoadData(), LoadNonLogData(), and ~G4ShellEMDataSet().
Definition at line 399 of file G4ShellEMDataSet.cc.
References G4Exception(), JustWarning, and z.
Referenced by LoadData(), LoadNonLogData(), and SaveData().
|
inlineprotected |
Definition at line 101 of file G4ShellEMDataSet.hh.
References algorithm.
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 74 of file G4ShellEMDataSet.hh.
References components.
Referenced by GetData(), GetEnergies(), GetLogData(), GetLogEnergies(), PrintData(), and SaveData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 79 of file G4ShellEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 78 of file G4ShellEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetEnergies().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 81 of file G4ShellEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetLogData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 80 of file G4ShellEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetLogEnergies().
|
inlineprotected |
Definition at line 100 of file G4ShellEMDataSet.hh.
References unitData.
|
inlineprotected |
Definition at line 99 of file G4ShellEMDataSet.hh.
References unitEnergies.
Implements G4VEMDataSet.
Definition at line 160 of file G4ShellEMDataSet.cc.
References a, AddComponent(), algorithm, CleanUpComponents(), G4VDataSetAlgorithm::Clone(), FatalException, FullFileName(), G4Exception(), unitData, and unitEnergies.
Implements G4VEMDataSet.
Definition at line 244 of file G4ShellEMDataSet.cc.
References a, AddComponent(), algorithm, CleanUpComponents(), G4VDataSetAlgorithm::Clone(), FatalException, FullFileName(), G4Exception(), unitData, and unitEnergies.
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 76 of file G4ShellEMDataSet.hh.
References components.
Referenced by PrintData(), and SaveData().
|
private |
|
virtual |
Implements G4VEMDataSet.
Definition at line 102 of file G4ShellEMDataSet.cc.
References G4cout, G4endl, GetComponent(), n, NumberOfComponents(), and G4VEMDataSet::PrintData().
Implements G4VEMDataSet.
Definition at line 95 of file G4ShellEMDataSet.hh.
Implements G4VEMDataSet.
Definition at line 317 of file G4ShellEMDataSet.cc.
References FatalException, FullFileName(), G4Exception(), GetComponent(), G4VEMDataSet::GetData(), G4VEMDataSet::GetEnergies(), left, n, NumberOfComponents(), unitData, and unitEnergies.
|
virtual |
Implements G4VEMDataSet.
Definition at line 120 of file G4ShellEMDataSet.cc.
References components, FatalErrorInArgument, G4Exception(), and G4VEMDataSet::SetEnergiesData().
|
virtual |
Implements G4VEMDataSet.
Definition at line 138 of file G4ShellEMDataSet.cc.
References components, FatalErrorInArgument, G4Exception(), and G4VEMDataSet::SetLogEnergiesData().
|
private |
Definition at line 118 of file G4ShellEMDataSet.hh.
Referenced by G4ShellEMDataSet(), GetAlgorithm(), LoadData(), LoadNonLogData(), and ~G4ShellEMDataSet().
|
private |
Definition at line 114 of file G4ShellEMDataSet.hh.
Referenced by AddComponent(), CleanUpComponents(), FindValue(), GetComponent(), NumberOfComponents(), SetEnergiesData(), and SetLogEnergiesData().
|
private |
Definition at line 121 of file G4ShellEMDataSet.hh.
Referenced by GetUnitData(), LoadData(), LoadNonLogData(), and SaveData().
|
private |
Definition at line 120 of file G4ShellEMDataSet.hh.
Referenced by GetUnitEnergies(), LoadData(), LoadNonLogData(), and SaveData().
|
private |
Definition at line 116 of file G4ShellEMDataSet.hh.
Referenced by FullFileName().