#include <G4BremsstrahlungParameters.hh>
G4BremsstrahlungParameters::G4BremsstrahlungParameters |
( |
const G4String & |
name, |
|
|
size_t |
num, |
|
|
G4int |
minZ = 1 , |
|
|
G4int |
maxZ = 99 |
|
) |
| |
G4BremsstrahlungParameters::~G4BremsstrahlungParameters |
( |
| ) |
|
Definition at line 64 of file G4BremsstrahlungParameters.cc.
67 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::iterator
pos;
69 for (pos = param.begin(); pos != param.end(); ++
pos)
static const G4double paramC[6][11]
static const G4double pos
Definition at line 80 of file G4BremsstrahlungParameters.cc.
85 G4int id =
Z*length + parameterIndex;
86 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
89 if (pos!= param.end()) {
97 G4cout <<
"WARNING: G4BremsstrahlungParameters::FindValue "
98 <<
"did not find ID = "
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
virtual G4double FindValue(G4double x, G4int componentId=0) const =0
G4GLOB_DLL std::ostream G4cout
const XML_Char int const XML_Char * value
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4double energy(const ThreeVector &p, const G4double m)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
static const G4double pos
G4double G4BremsstrahlungParameters::ParameterC |
( |
G4int |
index | ) |
const |
Definition at line 249 of file G4BremsstrahlungParameters.cc.
252 if (id < 0 || id >= n)
255 G4String ex =
"Wrong id " + stringConversion2;
256 G4Exception(
"G4BremsstrahlungParameters::ParameterC",
static const G4double paramC[6][11]
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void G4BremsstrahlungParameters::PrintData |
( |
void |
| ) |
const |
Definition at line 265 of file G4BremsstrahlungParameters.cc.
269 G4cout <<
"===== G4BremsstrahlungParameters =====" <<
G4endl;
274 size_t nZ = activeZ.size();
275 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
277 for (
size_t j=0; j<nZ; j++) {
280 for (
size_t i=0; i<length; i++) {
282 pos = param.find(Z*length + i);
283 if (pos!= param.end()) {
285 G4cout <<
"===== Z= " << Z
286 <<
" parameter[" << i <<
"] ====="
294 G4cout <<
"==========================================" <<
G4endl;
G4GLOB_DLL std::ostream G4cout
virtual void PrintData(void) const =0
static const G4double pos
The documentation for this class was generated from the following files: