104 if(r ==
"" || r ==
"world" || r ==
"World") {
105 r =
"DefaultRegionForTheWorld";
112 if(v1 > 0.0 && v1 <= 1.0 && v2 > 0.0) {
117 ed <<
"Values of step function are out of range: "
118 << v1 <<
", " << v2/
CLHEP::mm <<
" mm - are ignored";
135 if(v1 > 0.0 && v1 <= 1.0 && v2 > 0.0) {
140 ed <<
"Values of step function are out of range: "
141 << v1 <<
", " << v2/
CLHEP::mm <<
" mm - are ignored";
158 if(v1 > 0.0 && v1 <= 1.0 && v2 > 0.0) {
163 ed <<
"Values of step function are out of range: "
164 << v1 <<
", " << v2/
CLHEP::mm <<
" mm - are ignored";
181 if(v1 > 0.0 && v1 <= 1.0 && v2 > 0.0) {
186 ed <<
"Values of step function are out of range: "
187 << v1 <<
", " << v2/
CLHEP::mm <<
" mm - are ignored";
228 for(
G4int i=0; i<nreg; ++i) {
231 particle ==
"all") &&
234 r ==
"DefaultRegionForTheWorld") ) {
238 if(r ==
"DefaultRegionForTheWorld") {
m_regnamesPAI[i] = r; }
267 for(
G4int i=0; i<nreg; ++i) {
288 for(
G4int i=0; i<nreg; ++i) {
302 for(
G4int i=0; i<
n; ++i) {
314 ed <<
"Process: " << procname <<
" XS biasing factor "
315 << val <<
" is negative - ignored";
329 for(
G4int i=0; i<
n; ++i) {
342 ed <<
"Process: " << procname <<
" in region " << r
343 <<
" : forced interacttion length= "
344 << length <<
" is negative - ignored";
356 if(factor >= 0.0 && energyLim >= 0.0) {
358 for(
G4int i=0; i<
n; ++i) {
371 ed <<
"Process: " << procname <<
" in region " << r
372 <<
" : secondary bised factor= "
373 << factor <<
", Elim= " << energyLim <<
" - ignored";
382 for(
G4int i=0; i<
n; ++i) {
387 for(
G4int i=0; i<
n; ++i) {
395 for(
G4int i=0; i<
n; ++i) {
404 for(
G4int i=0; i<
n; ++i) {
417 for(
G4int i=0; i<
n; ++i) {
425 for(
G4int i=0; i<
n; ++i) {
434 for(
G4int i=0; i<
n; ++i) {
static const G4double reg
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
void set(double x, double y, double z)
G4bool IsGeneralIon() const
const G4String & GetParticleType() const
G4int GetPDGEncoding() const
static G4RegionStore * GetInstance()
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
void SetCrossSectionBiasingFactor(G4double f, G4bool flag=true)
void ActivateForcedInteraction(G4double length=0.0, const G4String &r="", G4bool flag=true)
void ActivateSecondaryBiasing(const G4String ®ion, G4double factor, G4double energyLimit)
void ActivateSecondaryBiasing(const G4String ®ion, G4double factor, G4double energyLimit)
void SetStepFunction(G4double v1, G4double v2)
void SetCrossSectionBiasingFactor(G4double f, G4bool flag=true)
void ActivateForcedInteraction(G4double length, const G4String ®ion, G4bool flag=true)
void ActivateSubCutoff(const G4Region *region)
const G4String & GetProcessName() const
static constexpr double mm