64 std::map<G4int,G4RDVEMDataSet*,std::less<G4int> >::iterator
pos;
83 std::map<G4int,G4RDVEMDataSet*,std::less<G4int> >::const_iterator
pos;
86 if (pos!=
param.end()) {
94 G4cout <<
"WARNING: G4RDBremsstrahlungParameters::FindValue "
95 <<
"did not find ID = "
109 if (materialTable == 0)
110 G4Exception(
"G4RDBremsstrahlungParameters::LoadData()",
126 for (
G4int iEl=0; iEl<nElements; iEl++) {
127 G4Element* element = (*elementVector)[iEl];
140 char* path = std::getenv(
"G4LEDATA");
143 G4String excep(
"G4LEDATA environment variable not set!");
144 G4Exception(
"G4RDBremsstrahlungParameters::LoadData()",
150 std::ifstream file_a(name_a);
151 std::filebuf* lsdp_a = file_a.rdbuf();
153 if (! (lsdp_a->is_open()) )
155 G4String stringConversion2(
"Cannot open file ");
156 G4String excep = stringConversion2 + name_a;
157 G4Exception(
"G4RDBremsstrahlungParameters::LoadData()",
171 std::vector<G4DataVector*>
a;
172 for (
size_t j=0; j<
length; j++) {
180 file_a >> ener >>
sum;
187 }
else if (ener == (
G4double)(-1)) {
200 size_t eSize = e.size();
201 for (
size_t s=0;
s<eSize;
s++) {
202 eVector->push_back(e[
s]);
208 for (
size_t j=0; j<
length; j++) {
213 for (
size_t j=0; j<
length; j++) {
221 if(ener > 1000.) ener = 1000.;
223 a[length-1]->push_back(sum);
225 for (
size_t j=0; j<length-1; j++) {
228 a[j]->push_back(qRead);
242 if (id < 0 || id >= n)
244 G4String stringConversion1(
"Wrong id = ");
246 G4String ex = stringConversion1 + stringConversion2;
247 G4Exception(
"G4RDBremsstrahlungParameters::ParameterC()",
259 G4cout <<
"===== G4RDBremsstrahlungParameters =====" <<
G4endl;
265 std::map<G4int,G4RDVEMDataSet*,std::less<G4int> >::const_iterator
pos;
267 for (
size_t j=0; j<nZ; j++) {
270 for (
size_t i=0; i<
length; i++) {
272 pos =
param.find(Z*length + i);
273 if (pos!=
param.end()) {
275 G4cout <<
"===== Z= " << Z
276 <<
" parameter[" << i <<
"] ====="
284 G4cout <<
"==========================================" <<
G4endl;