Import Geant4 6.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:56:29 +02:00
parent 1d812b78b1
commit e083ffb441
1415 changed files with 111223 additions and 21207 deletions
@@ -233,29 +233,49 @@ G4OpBoundaryProcess::PostStepDoIt(const G4Track& aTrack, const G4Step& aStep)
PropertyPointer =
aMaterialPropertiesTable->GetProperty("REFLECTIVITY");
if (PropertyPointer) theReflectivity =
if (PropertyPointer) {
theReflectivity =
PropertyPointer->GetProperty(thePhotonMomentum);
} else {
theReflectivity = 1.0;
}
PropertyPointer =
aMaterialPropertiesTable->GetProperty("EFFICIENCY");
if (PropertyPointer) theEfficiency =
if (PropertyPointer) {
theEfficiency =
PropertyPointer->GetProperty(thePhotonMomentum);
} else {
theEfficiency = 0.0;
}
if ( theModel == unified ) {
PropertyPointer =
aMaterialPropertiesTable->GetProperty("SPECULARLOBECONSTANT");
if (PropertyPointer) prob_sl =
if (PropertyPointer) {
prob_sl =
PropertyPointer->GetProperty(thePhotonMomentum);
} else {
prob_sl = 0.0;
}
PropertyPointer =
aMaterialPropertiesTable->GetProperty("SPECULARSPIKECONSTANT");
if (PropertyPointer) prob_ss =
if (PropertyPointer) {
prob_ss =
PropertyPointer->GetProperty(thePhotonMomentum);
} else {
prob_ss = 0.0;
}
PropertyPointer =
aMaterialPropertiesTable->GetProperty("BACKSCATTERCONSTANT");
if (PropertyPointer) prob_bs =
if (PropertyPointer) {
prob_bs =
PropertyPointer->GetProperty(thePhotonMomentum);
} else {
prob_bs = 0.0;
}
}
}
else if (theFinish == polishedbackpainted ||