| 75 | } |
| 76 | |
| 77 | void G4GeneralParticleSource::AddaSource(G4double aV) |
| 78 | { |
| 79 | GPSData->Lock(); |
| 80 | |
| 81 | GPSData->AddASource(aV); |
| 82 | theMessenger->SetParticleGun(GPSData->GetCurrentSource()); |
| 83 | |
| 84 | // TODO: But do we really normalize here after each source? |
| 85 | IntensityNormalization(); |
| 86 | |
| 87 | GPSData->Unlock(); |
| 88 | } |
| 89 | |
| 90 | void G4GeneralParticleSource::IntensityNormalization() |
| 91 | { |
no test coverage detected