Geant4
10.02.p02
|
#include <G4CompositeEMDataSet.hh>
Public Member Functions | |
G4CompositeEMDataSet (G4VDataSetAlgorithm *argAlgorithm, G4double eUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn, G4int zMin=1, G4int zMax=99) | |
virtual | ~G4CompositeEMDataSet () |
virtual G4double | FindValue (G4double x, 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 () 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 *data, G4int componentId) |
virtual void | SetLogEnergiesData (G4DataVector *xData, G4DataVector *data, G4DataVector *xLogData, G4DataVector *Logdata, 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 componentId) const |
Public Member Functions inherited from G4VEMDataSet | |
G4VEMDataSet () | |
virtual | ~G4VEMDataSet () |
Private Member Functions | |
void | CleanUpComponents (void) |
G4CompositeEMDataSet () | |
G4CompositeEMDataSet (const G4CompositeEMDataSet ©) | |
G4CompositeEMDataSet & | operator= (const G4CompositeEMDataSet &right) |
Private Attributes | |
std::vector< G4VEMDataSet * > | components |
G4VDataSetAlgorithm * | algorithm |
G4double | unitEnergies |
G4double | unitData |
G4int | minZ |
G4int | maxZ |
Definition at line 59 of file G4CompositeEMDataSet.hh.
G4CompositeEMDataSet::G4CompositeEMDataSet | ( | G4VDataSetAlgorithm * | argAlgorithm, |
G4double | eUnit = CLHEP::MeV , |
||
G4double | dataUnit = CLHEP::barn , |
||
G4int | zMin = 1 , |
||
G4int | zMax = 99 |
||
) |
Definition at line 57 of file G4CompositeEMDataSet.cc.
References algorithm, FatalException, and G4Exception().
|
virtual |
Definition at line 77 of file G4CompositeEMDataSet.cc.
References algorithm, and CleanUpComponents().
|
private |
|
private |
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 75 of file G4CompositeEMDataSet.hh.
References components.
Referenced by LoadData(), and LoadNonLogData().
|
private |
Definition at line 213 of file G4CompositeEMDataSet.cc.
References components.
Referenced by LoadData(), LoadNonLogData(), and ~G4CompositeEMDataSet().
Implements G4VEMDataSet.
Definition at line 84 of file G4CompositeEMDataSet.cc.
References FatalException, G4VEMDataSet::FindValue(), G4Exception(), and GetComponent().
Referenced by G4LivermorePolarizedComptonModel::SampleSecondaries().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 74 of file G4CompositeEMDataSet.hh.
References components.
Referenced by FindValue(), GetData(), GetEnergies(), GetLogData(), GetLogEnergies(), PrintData(), RandomSelect(), and SaveData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 79 of file G4CompositeEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 78 of file G4CompositeEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetEnergies().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 81 of file G4CompositeEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetLogData().
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 80 of file G4CompositeEMDataSet.hh.
References GetComponent(), and G4VEMDataSet::GetLogEnergies().
Implements G4VEMDataSet.
Definition at line 155 of file G4CompositeEMDataSet.cc.
References AddComponent(), algorithm, CleanUpComponents(), G4VDataSetAlgorithm::Clone(), G4VEMDataSet::LoadData(), maxZ, minZ, unitData, unitEnergies, and z.
Referenced by G4LivermorePolarizedComptonModel::Initialise().
Implements G4VEMDataSet.
Definition at line 173 of file G4CompositeEMDataSet.cc.
References AddComponent(), algorithm, CleanUpComponents(), G4VDataSetAlgorithm::Clone(), G4VEMDataSet::LoadNonLogData(), maxZ, minZ, unitData, unitEnergies, and z.
|
inlinevirtual |
Implements G4VEMDataSet.
Definition at line 76 of file G4CompositeEMDataSet.hh.
References components.
Referenced by PrintData().
|
private |
|
virtual |
Implements G4VEMDataSet.
Definition at line 99 of file G4CompositeEMDataSet.cc.
References G4cout, G4endl, GetComponent(), n, NumberOfComponents(), and G4VEMDataSet::PrintData().
Implements G4VEMDataSet.
Definition at line 224 of file G4CompositeEMDataSet.cc.
References components, GetComponent(), and G4VEMDataSet::RandomSelect().
Implements G4VEMDataSet.
Definition at line 191 of file G4CompositeEMDataSet.cc.
References FatalException, G4Exception(), GetComponent(), maxZ, minZ, G4VEMDataSet::SaveData(), and z.
|
virtual |
Implements G4VEMDataSet.
Definition at line 116 of file G4CompositeEMDataSet.cc.
References components, FatalException, G4Exception(), and G4VEMDataSet::SetEnergiesData().
|
virtual |
Implements G4VEMDataSet.
Definition at line 133 of file G4CompositeEMDataSet.cc.
References components, FatalException, G4Exception(), and G4VEMDataSet::SetLogEnergiesData().
|
private |
Definition at line 109 of file G4CompositeEMDataSet.hh.
Referenced by G4CompositeEMDataSet(), LoadData(), LoadNonLogData(), and ~G4CompositeEMDataSet().
|
private |
Definition at line 107 of file G4CompositeEMDataSet.hh.
Referenced by AddComponent(), CleanUpComponents(), GetComponent(), NumberOfComponents(), RandomSelect(), SetEnergiesData(), and SetLogEnergiesData().
|
private |
Definition at line 115 of file G4CompositeEMDataSet.hh.
Referenced by LoadData(), LoadNonLogData(), and SaveData().
|
private |
Definition at line 114 of file G4CompositeEMDataSet.hh.
Referenced by LoadData(), LoadNonLogData(), and SaveData().
|
private |
Definition at line 112 of file G4CompositeEMDataSet.hh.
Referenced by LoadData(), and LoadNonLogData().
|
private |
Definition at line 111 of file G4CompositeEMDataSet.hh.
Referenced by LoadData(), and LoadNonLogData().