Geant4
10.00.p03
|
#include <G4CompositeDataSet.hh>
Public Member Functions | |
G4CompositeDataSet (G4IInterpolator *argAlgorithm, G4double eUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn, G4int zMin=1, G4int zMax=99) | |
virtual | ~G4CompositeDataSet () |
virtual G4double | FindValue (G4double x, G4int componentId=0) const |
virtual void | PrintData (void) const |
virtual const G4IDataSet * | GetComponent (G4int componentId) const |
virtual void | AddComponent (G4IDataSet *dataSet) |
virtual size_t | NumberOfComponents () const |
virtual const G4DataVector & | GetEnergies (G4int componentId) const |
virtual const G4DataVector & | GetData (G4int componentId) const |
virtual void | SetEnergiesData (G4DataVector *x, G4DataVector *data, G4int componentId) |
virtual G4bool | LoadData (const G4String &fileName) |
virtual G4bool | SaveData (const G4String &fileName) const |
virtual G4double | RandomSelect (G4int componentId) const |
Public Member Functions inherited from G4IDataSet | |
G4IDataSet () | |
virtual | ~G4IDataSet () |
Private Member Functions | |
void | CleanUpComponents (void) |
G4CompositeDataSet () | |
G4CompositeDataSet (const G4CompositeDataSet ©) | |
G4CompositeDataSet & | operator= (const G4CompositeDataSet &right) |
Private Attributes | |
std::vector< G4IDataSet * > | components |
G4IInterpolator * | algorithm |
G4double | unitEnergies |
G4double | unitData |
G4int | minZ |
G4int | maxZ |
Definition at line 55 of file G4CompositeDataSet.hh.
G4CompositeDataSet::G4CompositeDataSet | ( | G4IInterpolator * | argAlgorithm, |
G4double | eUnit = CLHEP::MeV , |
||
G4double | dataUnit = CLHEP::barn , |
||
G4int | zMin = 1 , |
||
G4int | zMax = 99 |
||
) |
Definition at line 45 of file G4CompositeDataSet.cc.
References algorithm, FatalException, and G4Exception().
|
virtual |
Definition at line 66 of file G4CompositeDataSet.cc.
References algorithm, and CleanUpComponents().
|
private |
|
private |
|
inlinevirtual |
Implements G4IDataSet.
Definition at line 73 of file G4CompositeDataSet.hh.
References components.
Referenced by LoadData().
|
private |
Definition at line 169 of file G4CompositeDataSet.cc.
References components.
Referenced by LoadData(), and ~G4CompositeDataSet().
Implements G4IDataSet.
Definition at line 73 of file G4CompositeDataSet.cc.
References FatalException, G4IDataSet::FindValue(), G4Exception(), and GetComponent().
|
inlinevirtual |
Implements G4IDataSet.
Definition at line 70 of file G4CompositeDataSet.hh.
References components.
Referenced by FindValue(), GetData(), GetEnergies(), PrintData(), RandomSelect(), and SaveData().
|
inlinevirtual |
Implements G4IDataSet.
Definition at line 82 of file G4CompositeDataSet.hh.
References GetComponent(), and G4IDataSet::GetData().
|
inlinevirtual |
Implements G4IDataSet.
Definition at line 79 of file G4CompositeDataSet.hh.
References GetComponent(), and G4IDataSet::GetEnergies().
Implements G4IDataSet.
Definition at line 127 of file G4CompositeDataSet.cc.
References AddComponent(), algorithm, CleanUpComponents(), G4IInterpolator::Clone(), G4IDataSet::LoadData(), maxZ, minZ, unitData, unitEnergies, and z.
|
inlinevirtual |
Implements G4IDataSet.
Definition at line 76 of file G4CompositeDataSet.hh.
References components.
Referenced by PrintData().
|
private |
|
virtual |
Implements G4IDataSet.
Definition at line 90 of file G4CompositeDataSet.cc.
References G4cout, G4endl, GetComponent(), n, NumberOfComponents(), and G4IDataSet::PrintData().
Implements G4IDataSet.
Definition at line 180 of file G4CompositeDataSet.cc.
References components, GetComponent(), and G4IDataSet::RandomSelect().
Implements G4IDataSet.
Definition at line 146 of file G4CompositeDataSet.cc.
References FatalException, G4Exception(), GetComponent(), maxZ, minZ, G4IDataSet::SaveData(), and z.
|
virtual |
Implements G4IDataSet.
Definition at line 107 of file G4CompositeDataSet.cc.
References components, FatalException, G4Exception(), and G4IDataSet::SetEnergiesData().
|
private |
Definition at line 103 of file G4CompositeDataSet.hh.
Referenced by G4CompositeDataSet(), LoadData(), and ~G4CompositeDataSet().
|
private |
Definition at line 101 of file G4CompositeDataSet.hh.
Referenced by AddComponent(), CleanUpComponents(), GetComponent(), NumberOfComponents(), RandomSelect(), and SetEnergiesData().
|
private |
Definition at line 109 of file G4CompositeDataSet.hh.
Referenced by LoadData(), and SaveData().
|
private |
Definition at line 108 of file G4CompositeDataSet.hh.
Referenced by LoadData(), and SaveData().
|
private |
Definition at line 106 of file G4CompositeDataSet.hh.
Referenced by LoadData().
|
private |
Definition at line 105 of file G4CompositeDataSet.hh.
Referenced by LoadData().