#include <G4PixeShellDataSet.hh>
Definition at line 57 of file G4PixeShellDataSet.hh.
◆ G4PixeShellDataSet() [1/3]
Definition at line 48 of file G4PixeShellDataSet.cc.
63 "interpolation == 0");
73 size_t sizeK = modelK.size();
74 size_t sizeL = modelL.size();
75 size_t sizeM = modelM.size();
79 if (sizeK > 0 && sizeL > 0)
85 if (sizeK > 0 && sizeL > 0 && sizeM >0)
G4IInterpolator * algorithm
std::vector< G4String > crossModel
std::vector< G4String > subShellName
std::vector< G4String > shellName
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ ~G4PixeShellDataSet()
G4PixeShellDataSet::~G4PixeShellDataSet |
( |
| ) |
|
|
virtual |
◆ G4PixeShellDataSet() [2/3]
G4PixeShellDataSet::G4PixeShellDataSet |
( |
| ) |
|
|
private |
◆ G4PixeShellDataSet() [3/3]
◆ AddComponent()
virtual void G4PixeShellDataSet::AddComponent |
( |
G4IDataSet * |
dataSet | ) |
|
|
inlinevirtual |
◆ CleanUpComponents()
void G4PixeShellDataSet::CleanUpComponents |
( |
void |
| ) |
|
|
protected |
◆ FindValue()
◆ FullFileName()
Definition at line 202 of file G4PixeShellDataSet.cc.
205 char* path = getenv(
"G4PIIDATA");
210 "G4PIIDATA environment variable not set");
217 std::ostringstream fullFileName;
236 return G4String(fullFileName.str().c_str());
std::vector< G4String > crossModel
std::vector< G4String > shellName
G4int TranslateShell(const G4String &subShell) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ GetAlgorithm()
◆ GetComponent()
virtual const G4IDataSet* G4PixeShellDataSet::GetComponent |
( |
G4int |
componentId | ) |
const |
|
inlinevirtual |
◆ GetData()
Implements G4IDataSet.
Definition at line 87 of file G4PixeShellDataSet.hh.
virtual const G4DataVector & GetData(G4int componentId) const =0
virtual const G4IDataSet * GetComponent(G4int componentId) const
◆ GetEnergies()
virtual const G4DataVector& G4PixeShellDataSet::GetEnergies |
( |
G4int |
componentId | ) |
const |
|
inlinevirtual |
Implements G4IDataSet.
Definition at line 84 of file G4PixeShellDataSet.hh.
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
virtual const G4IDataSet * GetComponent(G4int componentId) const
◆ GetUnitData()
G4double G4PixeShellDataSet::GetUnitData |
( |
| ) |
const |
|
inlineprotected |
◆ GetUnitEnergies()
G4double G4PixeShellDataSet::GetUnitEnergies |
( |
| ) |
const |
|
inlineprotected |
◆ LoadData()
Implements G4IDataSet.
Definition at line 160 of file G4PixeShellDataSet.cc.
168 for (
G4int subShellIndex=0; subShellIndex<nShells; subShellIndex++)
G4IInterpolator * algorithm
void CleanUpComponents(void)
std::vector< G4String > subShellName
G4String FullFileName(const G4String &particleType, const G4String &subShell) const
virtual G4bool LoadData(const G4String &fileName)=0
virtual void AddComponent(G4IDataSet *dataSet)
◆ NumberOfComponents()
virtual size_t G4PixeShellDataSet::NumberOfComponents |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ operator=()
◆ PrintData()
void G4PixeShellDataSet::PrintData |
( |
void |
| ) |
const |
|
virtual |
Implements G4IDataSet.
Definition at line 120 of file G4PixeShellDataSet.cc.
124 G4cout <<
"The data set has " << n <<
" components" <<
G4endl;
G4GLOB_DLL std::ostream G4cout
virtual size_t NumberOfComponents(void) const
virtual const G4IDataSet * GetComponent(G4int componentId) const
virtual void PrintData(void) const =0
◆ RandomSelect()
virtual G4double G4PixeShellDataSet::RandomSelect |
( |
G4int |
| ) |
const |
|
inlinevirtual |
◆ SaveData()
G4bool G4PixeShellDataSet::SaveData |
( |
const G4String & |
fileName | ) |
const |
|
virtual |
◆ SetEnergiesData()
Implements G4IDataSet.
Definition at line 138 of file G4PixeShellDataSet.cc.
150 std::ostringstream message;
151 message <<
"G4PixeShellDataSet::SetEnergiesData - component " << componentId <<
" not found";
156 message.str().c_str());
virtual void SetEnergiesData(G4DataVector *x, G4DataVector *data, G4int component=0)=0
std::vector< G4IDataSet * > components
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ TranslateShell()
G4int G4PixeShellDataSet::TranslateShell |
( |
const G4String & |
subShell | ) |
const |
|
private |
Definition at line 239 of file G4PixeShellDataSet.cc.
244 if (subShell ==
"l1" || subShell ==
"l2" || subShell ==
"l3" ) index = 1;
245 if (subShell ==
"m1" ||
249 subShell ==
"m5" ) index = 2;
◆ algorithm
◆ components
std::vector<G4IDataSet*> G4PixeShellDataSet::components |
|
private |
◆ crossModel
std::vector<G4String> G4PixeShellDataSet::crossModel |
|
private |
◆ shellName
std::vector<G4String> G4PixeShellDataSet::shellName |
|
private |
◆ subShellName
std::vector<G4String> G4PixeShellDataSet::subShellName |
|
private |
◆ unitData
◆ unitEnergies
G4double G4PixeShellDataSet::unitEnergies |
|
private |
G4int G4PixeShellDataSet::z |
|
private |
The documentation for this class was generated from the following files: