66 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::iterator
pos;
85 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
88 if (pos!=
param.end()) {
96 G4cout <<
"WARNING: G4BremsstrahlungParameters::FindValue "
97 <<
"did not find ID = "
113 if (materialTable == 0)
114 G4Exception(
"G4BremsstrahlungParameters::LoadData",
120 for (
G4int mmLocal=0; mmLocal<100; mmLocal++) {
130 for (
G4int iEl=0; iEl<nElements; iEl++) {
131 G4Element* element = (*elementVector)[iEl];
146 char* path = std::getenv(
"G4LEDATA");
149 G4Exception(
"G4BremsstrahlungParameters::LoadData",
156 std::ifstream file_a(name_a);
157 std::filebuf* lsdp_a = file_a.rdbuf();
159 if (! (lsdp_a->is_open()) )
161 G4String stringConversion2(
"G4BremsstrahlungParameters::LoadData");
162 G4String excep = stringConversion2 + name_a;
163 G4Exception(
"G4BremsstrahlungParameters::LoadData",
177 std::vector<G4DataVector*>
a;
186 file_a >> ener >>
sum;
193 }
else if (ener == (
G4double)(-1)) {
206 size_t eSize = e.size();
207 for (
size_t sLocal=0; sLocal<eSize; sLocal++) {
208 eVector->push_back(e[sLocal]);
214 for (
size_t j=0; j<
length; j++) {
225 for (
size_t j=0; j<
length; ++j) {
230 if(ener > 1000.) ener = 1000.;
232 a[
length-1]->push_back(sum);
234 for (
size_t j=0; j<
length-1; j++) {
237 a[j]->push_back(qRead);
251 if (id < 0 || id >= n)
254 G4String ex =
"Wrong id " + stringConversion2;
255 G4Exception(
"G4BremsstrahlungParameters::ParameterC",
268 G4cout <<
"===== G4BremsstrahlungParameters =====" <<
G4endl;
274 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
276 for (
size_t j=0; j<nZ; j++) {
279 for (
size_t i=0; i<
length; i++) {
281 pos =
param.find(Z*length + i);
282 if (pos!=
param.end()) {
284 G4cout <<
"===== Z= " << Z
285 <<
" parameter[" << i <<
"] ====="
293 G4cout <<
"==========================================" <<
G4endl;