Geant4
10.00.p01
|
#include <G4CrossSectionDataSet.hh>
Public Member Functions | |
G4CrossSectionDataSet (G4VDataSetAlgorithm *algo, G4double xUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn) | |
virtual | ~G4CrossSectionDataSet () |
virtual G4double | FindValue (G4double e, 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 *x, G4DataVector *values, G4int componentId) |
virtual void | SetLogEnergiesData (G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId) |
virtual G4bool | LoadData (const G4String &argFileName) |
virtual G4bool | LoadNonLogData (const G4String &argFileName) |
virtual G4bool | SaveData (const G4String &argFileName) const |
virtual G4double | RandomSelect (G4int) const |
Public Member Functions inherited from G4VEMDataSet | |
G4VEMDataSet () | |
virtual | ~G4VEMDataSet () |
Private Member Functions | |
G4String | FullFileName (const G4String &argFileName) const |
G4CrossSectionDataSet () | |
G4CrossSectionDataSet (const G4CrossSectionDataSet ©) | |
G4CrossSectionDataSet & | operator= (const G4CrossSectionDataSet &right) |
G4double | GetUnitEnergies () const |
G4double | GetUnitData () const |
const G4VDataSetAlgorithm * | GetAlgorithm () const |
void | CleanUpComponents (void) |
Private Attributes | |
std::vector< G4VEMDataSet * > | components |
G4int | z |
G4VDataSetAlgorithm * | algorithm |
G4double | unitEnergies |
G4double | unitData |
Definition at line 55 of file G4CrossSectionDataSet.hh.
G4CrossSectionDataSet::G4CrossSectionDataSet | ( | G4VDataSetAlgorithm * | algo, |
G4double | xUnit = CLHEP::MeV , |
||
G4double | dataUnit = CLHEP::barn |
||
) |
Definition at line 65 of file G4CrossSectionDataSet.cc.
References z.
|
virtual |
Definition at line 76 of file G4CrossSectionDataSet.cc.
References algorithm, and CleanUpComponents().
|
private |
|
private |
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 72 of file G4CrossSectionDataSet.hh.
References components.
Referenced by LoadData(), and LoadNonLogData().
|
private |
Definition at line 576 of file G4CrossSectionDataSet.cc.
References components.
Referenced by LoadData(), LoadNonLogData(), and ~G4CrossSectionDataSet().
Implements G4VEMDataSet.
Definition at line 498 of file G4CrossSectionDataSet.cc.
References components.
Referenced by G4ecpssrBaseKxsModel::CalculateCrossSection().
Definition at line 480 of file G4CrossSectionDataSet.cc.
References FatalException, and G4Exception().
Referenced by LoadData(), LoadNonLogData(), and SaveData().
|
inlineprivate |
Definition at line 128 of file G4CrossSectionDataSet.hh.
References algorithm.
Referenced by LoadData(), and LoadNonLogData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 69 of file G4CrossSectionDataSet.hh.
References components.
Referenced by GetData(), GetEnergies(), GetLogData(), GetLogEnergies(), PrintData(), and SaveData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 81 of file G4CrossSectionDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 78 of file G4CrossSectionDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetEnergies().
Referenced by SaveData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 87 of file G4CrossSectionDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetLogData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 84 of file G4CrossSectionDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetLogEnergies().
|
inlineprivate |
Definition at line 127 of file G4CrossSectionDataSet.hh.
References unitData.
Referenced by LoadData(), LoadNonLogData(), and SaveData().
|
inlineprivate |
Definition at line 126 of file G4CrossSectionDataSet.hh.
References unitEnergies.
Referenced by LoadData(), LoadNonLogData(), and SaveData().
Implements G4VEMDataSet.
Definition at line 84 of file G4CrossSectionDataSet.cc.
References AddComponent(), CleanUpComponents(), FatalException, FullFileName(), G4Exception(), GetAlgorithm(), GetUnitData(), and GetUnitEnergies().
Referenced by G4ecpssrBaseKxsModel::G4ecpssrBaseKxsModel().
Implements G4VEMDataSet.
Definition at line 259 of file G4CrossSectionDataSet.cc.
References AddComponent(), CleanUpComponents(), FatalException, FullFileName(), G4Exception(), GetAlgorithm(), GetUnitData(), and GetUnitEnergies().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 75 of file G4CrossSectionDataSet.hh.
References components.
Referenced by PrintData(), and SaveData().
|
private |
|
virtual |
Implements G4VEMDataSet.
Definition at line 516 of file G4CrossSectionDataSet.cc.
References G4cout, G4endl, GetComponent(), n, NumberOfComponents(), and G4VEMDataSet::PrintData().
Implements G4VEMDataSet.
Definition at line 103 of file G4CrossSectionDataSet.hh.
Implements G4VEMDataSet.
Definition at line 412 of file G4CrossSectionDataSet.cc.
References FatalException, FullFileName(), G4Exception(), GetComponent(), G4VEMDataSet::GetData(), GetEnergies(), GetUnitData(), GetUnitEnergies(), left, n, and NumberOfComponents().
|
virtual |
Implements G4VEMDataSet.
Definition at line 534 of file G4CrossSectionDataSet.cc.
References components, FatalException, G4Exception(), and G4VEMDataSet::SetEnergiesData().
|
virtual |
Implements G4VEMDataSet.
Definition at line 554 of file G4CrossSectionDataSet.cc.
References components, FatalException, G4Exception(), and G4VEMDataSet::SetLogEnergiesData().
|
private |
Definition at line 121 of file G4CrossSectionDataSet.hh.
Referenced by GetAlgorithm(), and ~G4CrossSectionDataSet().
|
private |
Definition at line 117 of file G4CrossSectionDataSet.hh.
Referenced by AddComponent(), CleanUpComponents(), FindValue(), GetComponent(), NumberOfComponents(), SetEnergiesData(), and SetLogEnergiesData().
|
private |
Definition at line 124 of file G4CrossSectionDataSet.hh.
Referenced by GetUnitData().
|
private |
Definition at line 123 of file G4CrossSectionDataSet.hh.
Referenced by GetUnitEnergies().
|
private |
Definition at line 119 of file G4CrossSectionDataSet.hh.
Referenced by G4CrossSectionDataSet().