Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/xrays/src/G4StrawTubeXTRadiator.cc

    r1228 r1337  
    2525//
    2626//
    27 // $Id: G4StrawTubeXTRadiator.cc,v 1.6 2007/09/29 17:49:34 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-03 $
     27// $Id: G4StrawTubeXTRadiator.cc,v 1.7 2010/06/16 15:34:15 gcosmo Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030
     
    3232#include "Randomize.hh"
    3333#include "G4Gamma.hh"
    34 
    35 using namespace std;
    3634
    3735////////////////////////////////////////////////////////////////////////////
     
    7876  fSigma3 = fPlasmaCof*mediumMat->GetElectronDensity();
    7977  if(verboseLevel > 0)
    80     G4cout<<"medium plasma energy = "<<sqrt(fSigma3)/eV<<" eV"<<G4endl;
     78    G4cout<<"medium plasma energy = "<<std::sqrt(fSigma3)/eV<<" eV"<<G4endl;
    8179
    8280  // Compute cofs for preparation of linear photo absorption in external medium
     
    121119  G4complex C3(1.0 + 0.5*fGasThick*M3/fAlphaGas, fGasThick/L3/fAlphaGas);
    122120
    123   G4complex H2 = pow(C2,-fAlphaPlate); 
    124   G4complex H3 = pow(C3,-fAlphaGas);
     121  G4complex H2 = std::pow(C2,-fAlphaPlate); 
     122  G4complex H3 = std::pow(C3,-fAlphaGas);
    125123  G4complex H  = H2*H3;
    126124
     
    134132                 2.*( Z1 - Z2 )*( Z2 - Z3 )*H2*( 1. - H3 ) ;
    135133
    136   result       = 2.0*real(R)*(varAngle*energy/hbarc/hbarc);
     134  result       = 2.0*std::real(R)*(varAngle*energy/hbarc/hbarc);
    137135 
    138136  return      result;
     
    165163                                             G4double varAngle    )
    166164{
    167   G4double cof, length,delta, real, image;
     165  G4double cof, length,delta, real_v, image_v;
    168166
    169167  length = 0.5*GetMediumFormationZone(omega,gamma,varAngle);
     
    171169  cof    = 1.0/(1.0 + delta*delta);
    172170
    173   real   = length*cof;
    174   image  = real*delta;
    175 
    176   G4complex zone(real,image);
     171  real_v   = length*cof;
     172  image_v  = real_v*delta;
     173
     174  G4complex zone(real_v,image_v);
    177175  return zone;
    178176}
Note: See TracChangeset for help on using the changeset viewer.