#include <G4RDShellEMDataSet.hh>
Definition at line 59 of file G4RDShellEMDataSet.hh.
 
◆ G4RDShellEMDataSet() [1/3]
Definition at line 48 of file G4RDShellEMDataSet.cc.
   58     G4Exception(
"G4RDShellEMDataSet::G4RDShellEMDataSet()", 
"InvalidSetup",
 G4RDVDataSetAlgorithm * algorithm
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ ~G4RDShellEMDataSet()
  
  
      
        
          | G4RDShellEMDataSet::~G4RDShellEMDataSet  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Definition at line 63 of file G4RDShellEMDataSet.cc.
void CleanUpComponents(void)
 
G4RDVDataSetAlgorithm * algorithm
 
 
 
 
◆ G4RDShellEMDataSet() [2/3]
  
  
      
        
          | G4RDShellEMDataSet::G4RDShellEMDataSet  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ G4RDShellEMDataSet() [3/3]
◆ AddComponent()
  
  
      
        
          | virtual void G4RDShellEMDataSet::AddComponent  | 
          ( | 
          G4RDVEMDataSet *  | 
          dataSet | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ CleanUpComponents()
  
  
      
        
          | void G4RDShellEMDataSet::CleanUpComponents  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ FindValue()
◆ FullFileName()
Definition at line 269 of file G4RDShellEMDataSet.cc.
  271   char* path = getenv(
"G4LEDATA");
   273     G4Exception(
"G4RDShellEMDataSet::FullFileName()", 
"InvalidSetup",
   276   std::ostringstream fullFileName;
   278   fullFileName << path << 
'/' << fileName << 
z << 
".dat";
   280   return G4String(fullFileName.str().c_str());
 void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ GetAlgorithm()
◆ GetComponent()
◆ GetData()
Implements G4RDVEMDataSet.
Definition at line 78 of file G4RDShellEMDataSet.hh.
virtual const G4DataVector & GetData(G4int componentId) const =0
 
virtual const G4RDVEMDataSet * GetComponent(G4int componentId) const
 
 
 
 
◆ GetEnergies()
  
  
      
        
          | virtual const G4DataVector& G4RDShellEMDataSet::GetEnergies  | 
          ( | 
          G4int  | 
          componentId | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
Implements G4RDVEMDataSet.
Definition at line 77 of file G4RDShellEMDataSet.hh.
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
 
virtual const G4RDVEMDataSet * GetComponent(G4int componentId) const
 
 
 
 
◆ GetUnitData()
  
  
      
        
          | G4double G4RDShellEMDataSet::GetUnitData  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineprotected   | 
  
 
 
◆ GetUnitEnergies()
  
  
      
        
          | G4double G4RDShellEMDataSet::GetUnitEnergies  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineprotected   | 
  
 
 
◆ LoadData()
Implements G4RDVEMDataSet.
Definition at line 126 of file G4RDShellEMDataSet.cc.
  131   std::ifstream 
in(fullFileName);
   136       message += fullFileName;
   137       message += 
"\" not found";
   138       G4Exception(
"G4RDShellEMDataSet::LoadData()", 
"DataNotFound",
   146   G4int shellIndex = 0;
   147   bool energyColumn = 
true;
   155       if (energyColumn && energies!=0)
   162       energyColumn = (!energyColumn);
   177       energyColumn = (!energyColumn);
 virtual G4RDVDataSetAlgorithm * Clone() const =0
 
void CleanUpComponents(void)
 
G4RDVDataSetAlgorithm * algorithm
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
virtual void AddComponent(G4RDVEMDataSet *dataSet)
 
G4String FullFileName(const G4String &fileName) const
 
 
 
 
◆ NumberOfComponents()
  
  
      
        
          | virtual size_t G4RDShellEMDataSet::NumberOfComponents  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ operator=()
◆ PrintData()
  
  
      
        
          | void G4RDShellEMDataSet::PrintData  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Implements G4RDVEMDataSet.
Definition at line 88 of file G4RDShellEMDataSet.cc.
   92   G4cout << 
"The data set has " << n << 
" components" << 
G4endl;
 
G4GLOB_DLL std::ostream G4cout
 
virtual void PrintData(void) const =0
 
virtual size_t NumberOfComponents(void) const
 
virtual const G4RDVEMDataSet * GetComponent(G4int componentId) const
 
 
 
 
◆ RandomSelect()
  
  
      
        
          | virtual G4double G4RDShellEMDataSet::RandomSelect  | 
          ( | 
          G4int  | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ SaveData()
  
  
      
        
          | G4bool G4RDShellEMDataSet::SaveData  | 
          ( | 
          const G4String &  | 
          fileName | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Implements G4RDVEMDataSet.
Definition at line 186 of file G4RDShellEMDataSet.cc.
  189   std::ofstream out(fullFileName);
   194       message += fullFileName;
   196       G4Exception(
"G4RDEMDataSet::SaveData()", 
"CannotOpenFile",
   212       G4DataVector::const_iterator i = energies.begin();
   213       G4DataVector::const_iterator endI = energies.end();
   214       G4DataVector::const_iterator j = data.begin();
   226           out << ((*j)/
unitData) << std::endl;
   240       out << -1.f << std::endl;
   253   out << -2.f << std::endl;
 virtual const G4DataVector & GetData(G4int componentId) const =0
 
virtual size_t NumberOfComponents(void) const
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
 
virtual const G4RDVEMDataSet * GetComponent(G4int componentId) const
 
G4String FullFileName(const G4String &fileName) const
 
 
 
 
◆ SetEnergiesData()
Implements G4RDVEMDataSet.
Definition at line 106 of file G4RDShellEMDataSet.cc.
  118   std::ostringstream message;
   119   message << 
"Component " << componentId << 
" not found";
   121   G4Exception(
"G4RDShellEMDataSet::SetEnergiesData()", 
"DataNotFound",
 virtual void SetEnergiesData(G4DataVector *x, G4DataVector *data, G4int component=0)=0
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
std::vector< G4RDVEMDataSet * > components
 
 
 
 
◆ algorithm
◆ components
◆ unitData
◆ unitEnergies
  
  
      
        
          | G4double G4RDShellEMDataSet::unitEnergies | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | G4int G4RDShellEMDataSet::z | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: