#include <G4RDPhotoElectricAngularGeneratorPolarized.hh>
      
        
          | G4RDPhotoElectricAngularGeneratorPolarized::G4RDPhotoElectricAngularGeneratorPolarized  | 
          ( | 
          const G4String &  | 
          name | ) | 
           | 
        
      
 
Definition at line 71 of file G4RDPhotoElectricAngularGeneratorPolarized.cc.
   73   const G4int arrayDim = 980;
 
   80   betaArray[2] = arrayDim - 1;
 
   83   for(
G4int level = 0; level < 2; level++){
 
   85     char nameChar0[100] = 
"ftab0.dat"; 
 
   86     char nameChar1[100] = 
"ftab1.dat"; 
 
   89     if(level == 0) filename = nameChar0;
 
   90     if(level == 1) filename = nameChar1;
 
   92     char* path = getenv(
"G4LEDATA");
 
   95         G4String excep = 
"G4LEDATA environment variable not set!";
 
   96         G4Exception(
"G4RDPhotoElectricAngularGeneratorPolarized()",
 
  101     G4String dirFile = pathString + 
"/photoelectric_angular/" + filename;
 
  103     infile = fopen(dirFile,
"r"); 
 
  106     G4String excep = 
"Data file: " + dirFile + 
" not found";
 
  107     G4Exception(
"G4RDPhotoElectricAngularGeneratorPolarized()",
 
  113     for(
G4int i=0 ; i<arrayDim ;i++){
 
  114       fscanf(infile,
"%f\t %e\t %e",&beta,&aRead,&cRead);
 
  115       aMajorantSurfaceParameterTable[i][level] = aRead;    
 
  116       cMajorantSurfaceParameterTable[i][level] = cRead;
 
G4RDVPhotoElectricAngularDistribution(const G4String &name)
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
      
        
          | G4RDPhotoElectricAngularGeneratorPolarized::~G4RDPhotoElectricAngularGeneratorPolarized  | 
          ( | 
           | ) | 
           | 
        
      
 
 
Implements G4RDVPhotoElectricAngularDistribution.
Definition at line 130 of file G4RDPhotoElectricAngularGeneratorPolarized.cc.
  135   G4double beta  = std::sqrt(gamma*gamma-1.)/gamma;
 
  141   G4int shellLevel = 0;
 
  142   if(shellId <  2) shellLevel = 0; 
 
  143   if(shellId >= 2) shellLevel = 1; 
 
  146   PhotoElectronGetMajorantSurfaceAandCParameters( shellLevel, beta, &aBeta, &cBeta);
 
  149   PhotoElectronGeneratePhiAndTheta(shellLevel, beta, aBeta, cBeta, &phi, &theta);
 
  152   G4RotationMatrix rotation = PhotoElectronRotationMatrix(direction, polarization);
 
  155   G4ThreeVector final_direction = PhotoElectronComputeFinalDirection(rotation, theta, phi);
 
  157   return final_direction;
 
 
 
 
  
  
      
        
          | void G4RDPhotoElectricAngularGeneratorPolarized::PrintGeneratorInformation  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
The documentation for this class was generated from the following files: