Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4FoamXrayTRmodel.cc,v 1.3 2001/07/11 10:01:30 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4FoamXrayTRmodel.cc,v 1.4 2003/06/16 16:56:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "g4std/complex"
|
||||
#include <complex>
|
||||
|
||||
#include "G4FoamXrayTRmodel.hh"
|
||||
#include "Randomize.hh"
|
||||
@@ -92,13 +92,13 @@ G4FoamXrayTRmodel::GetStackFactor( G4double energy,
|
||||
|
||||
G4complex F2 = (1.0-Ha)*(Qa-Ha)*Hb/(1.0-H)/(Q-H) ;
|
||||
|
||||
F2 *= pow(Q,G4double(fPlateNumber)) - G4std::pow(H,fPlateNumber) ;
|
||||
F2 *= pow(Q,G4double(fPlateNumber)) - std::pow(H,fPlateNumber) ;
|
||||
|
||||
result = ( 1 - pow(Q,G4double(fPlateNumber)) )/( 1 - Q ) ;
|
||||
|
||||
result *= 2.0*G4std::real(F1) ;
|
||||
result *= 2.0*std::real(F1) ;
|
||||
|
||||
result += 2.0*G4std::real(F2) ;
|
||||
result += 2.0*std::real(F2) ;
|
||||
|
||||
return result ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user