#include <G4ParticleHPEnergyDistribution.hh>
  
  
      
        
          | G4ParticleHPEnergyDistribution::G4ParticleHPEnergyDistribution  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | G4ParticleHPEnergyDistribution::~G4ParticleHPEnergyDistribution  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 56 of file G4ParticleHPEnergyDistribution.hh.
   58     if(theEnergyDistribution != 0)
 
   60       for(
G4int i=0; i<theNumberOfPartials; i++) 
 
   62         delete theEnergyDistribution[i];
 
   64       delete [] theEnergyDistribution;
 
 
 
 
  
  
      
        
          | void G4ParticleHPEnergyDistribution::Init  | 
          ( | 
          std::istream &  | 
          theData | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 68 of file G4ParticleHPEnergyDistribution.hh.
   71     theData >> dummy >> theNumberOfPartials;
 
   73     for(
G4int i=0; i<theNumberOfPartials; i++) 
 
   75       theData >> theRepresentationType;
 
   76       switch(theRepresentationType)
 
   97       theEnergyDistribution[i]->
Init(theData);
 
virtual void Init(std::istream &theData)=0
 
 
 
 
Definition at line 101 of file G4ParticleHPEnergyDistribution.hh.
  105     if (theNumberOfPartials != 0)
 
  111       for (i=0; i<theNumberOfPartials; i++)
 
  113     if (i!=0) running[i]=running[i-1];
 
  116       sum = running[theNumberOfPartials-1];
 
  118       for(i=0; i<theNumberOfPartials; i++)
 
  121     if(running[i]/sum>random) 
break;
 
  124       if(it==theNumberOfPartials) it--;
 
  125       result = theEnergyDistribution[it]->
Sample(anEnergy);
 
G4double G4ParticleHPJENDLHEData::G4double result
 
virtual G4double GetFractionalProbability(G4double anEnergy)=0
 
virtual G4double Sample(G4double anEnergy)=0
 
 
 
 
The documentation for this class was generated from the following file: