Geant4  10.00.p02
G4CrossSectionDataSet Class Reference

#include <G4CrossSectionDataSet.hh>

+ Inheritance diagram for G4CrossSectionDataSet:
+ Collaboration diagram for G4CrossSectionDataSet:

Public Member Functions

 G4CrossSectionDataSet (G4VDataSetAlgorithm *algo, G4double xUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn)
 
virtual ~G4CrossSectionDataSet ()
 
virtual G4double FindValue (G4double e, G4int componentId=0) const
 
virtual void PrintData (void) const
 
virtual const G4VEMDataSetGetComponent (G4int componentId) const
 
virtual void AddComponent (G4VEMDataSet *dataSet)
 
virtual size_t NumberOfComponents (void) const
 
virtual const G4DataVectorGetEnergies (G4int componentId) const
 
virtual const G4DataVectorGetData (G4int componentId) const
 
virtual const G4DataVectorGetLogEnergies (G4int componentId) const
 
virtual const G4DataVectorGetLogData (G4int componentId) const
 
virtual void SetEnergiesData (G4DataVector *x, G4DataVector *values, G4int componentId)
 
virtual void SetLogEnergiesData (G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId)
 
virtual G4bool LoadData (const G4String &argFileName)
 
virtual G4bool LoadNonLogData (const G4String &argFileName)
 
virtual G4bool SaveData (const G4String &argFileName) const
 
virtual G4double RandomSelect (G4int) const
 
- Public Member Functions inherited from G4VEMDataSet
 G4VEMDataSet ()
 
virtual ~G4VEMDataSet ()
 

Private Member Functions

G4String FullFileName (const G4String &argFileName) const
 
 G4CrossSectionDataSet ()
 
 G4CrossSectionDataSet (const G4CrossSectionDataSet &copy)
 
G4CrossSectionDataSetoperator= (const G4CrossSectionDataSet &right)
 
G4double GetUnitEnergies () const
 
G4double GetUnitData () const
 
const G4VDataSetAlgorithmGetAlgorithm () const
 
void CleanUpComponents (void)
 

Private Attributes

std::vector< G4VEMDataSet * > components
 
G4int z
 
G4VDataSetAlgorithmalgorithm
 
G4double unitEnergies
 
G4double unitData
 

Detailed Description

Definition at line 55 of file G4CrossSectionDataSet.hh.

Constructor & Destructor Documentation

G4CrossSectionDataSet::G4CrossSectionDataSet ( G4VDataSetAlgorithm algo,
G4double  xUnit = CLHEP::MeV,
G4double  dataUnit = CLHEP::barn 
)

Definition at line 65 of file G4CrossSectionDataSet.cc.

References z.

G4CrossSectionDataSet::~G4CrossSectionDataSet ( )
virtual

Definition at line 76 of file G4CrossSectionDataSet.cc.

References algorithm, and CleanUpComponents().

+ Here is the call graph for this function:

G4CrossSectionDataSet::G4CrossSectionDataSet ( )
private
G4CrossSectionDataSet::G4CrossSectionDataSet ( const G4CrossSectionDataSet copy)
private

Member Function Documentation

virtual void G4CrossSectionDataSet::AddComponent ( G4VEMDataSet dataSet)
inlinevirtual

Implements G4VEMDataSet.

Definition at line 72 of file G4CrossSectionDataSet.hh.

References components.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

void G4CrossSectionDataSet::CleanUpComponents ( void  )
private

Definition at line 576 of file G4CrossSectionDataSet.cc.

References components.

Referenced by LoadData(), LoadNonLogData(), and ~G4CrossSectionDataSet().

+ Here is the caller graph for this function:

G4double G4CrossSectionDataSet::FindValue ( G4double  e,
G4int  componentId = 0 
) const
virtual

Implements G4VEMDataSet.

Definition at line 498 of file G4CrossSectionDataSet.cc.

References components.

Referenced by G4ecpssrBaseKxsModel::CalculateCrossSection().

+ Here is the caller graph for this function:

G4String G4CrossSectionDataSet::FullFileName ( const G4String argFileName) const
private

Definition at line 480 of file G4CrossSectionDataSet.cc.

References FatalException, and G4Exception().

Referenced by LoadData(), LoadNonLogData(), and SaveData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4VDataSetAlgorithm* G4CrossSectionDataSet::GetAlgorithm ( ) const
inlineprivate

Definition at line 128 of file G4CrossSectionDataSet.hh.

References algorithm.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

virtual const G4VEMDataSet* G4CrossSectionDataSet::GetComponent ( G4int  componentId) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 69 of file G4CrossSectionDataSet.hh.

References components.

Referenced by GetData(), GetEnergies(), GetLogData(), GetLogEnergies(), PrintData(), and SaveData().

+ Here is the caller graph for this function:

virtual const G4DataVector& G4CrossSectionDataSet::GetData ( G4int  componentId) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 81 of file G4CrossSectionDataSet.hh.

References GetComponent(), and G4VEMDataSet::GetData().

+ Here is the call graph for this function:

virtual const G4DataVector& G4CrossSectionDataSet::GetEnergies ( G4int  componentId) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 78 of file G4CrossSectionDataSet.hh.

References GetComponent(), and G4VEMDataSet::GetEnergies().

Referenced by SaveData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual const G4DataVector& G4CrossSectionDataSet::GetLogData ( G4int  componentId) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 87 of file G4CrossSectionDataSet.hh.

References GetComponent(), and G4VEMDataSet::GetLogData().

+ Here is the call graph for this function:

virtual const G4DataVector& G4CrossSectionDataSet::GetLogEnergies ( G4int  componentId) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 84 of file G4CrossSectionDataSet.hh.

References GetComponent(), and G4VEMDataSet::GetLogEnergies().

+ Here is the call graph for this function:

G4double G4CrossSectionDataSet::GetUnitData ( ) const
inlineprivate

Definition at line 127 of file G4CrossSectionDataSet.hh.

References unitData.

Referenced by LoadData(), LoadNonLogData(), and SaveData().

+ Here is the caller graph for this function:

G4double G4CrossSectionDataSet::GetUnitEnergies ( ) const
inlineprivate

Definition at line 126 of file G4CrossSectionDataSet.hh.

References unitEnergies.

Referenced by LoadData(), LoadNonLogData(), and SaveData().

+ Here is the caller graph for this function:

G4bool G4CrossSectionDataSet::LoadData ( const G4String argFileName)
virtual

Implements G4VEMDataSet.

Definition at line 84 of file G4CrossSectionDataSet.cc.

References AddComponent(), CleanUpComponents(), FatalException, FullFileName(), G4Exception(), GetAlgorithm(), GetUnitData(), and GetUnitEnergies().

Referenced by G4ecpssrBaseKxsModel::G4ecpssrBaseKxsModel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CrossSectionDataSet::LoadNonLogData ( const G4String argFileName)
virtual

Implements G4VEMDataSet.

Definition at line 259 of file G4CrossSectionDataSet.cc.

References AddComponent(), CleanUpComponents(), FatalException, FullFileName(), G4Exception(), GetAlgorithm(), GetUnitData(), and GetUnitEnergies().

+ Here is the call graph for this function:

virtual size_t G4CrossSectionDataSet::NumberOfComponents ( void  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 75 of file G4CrossSectionDataSet.hh.

References components.

Referenced by PrintData(), and SaveData().

+ Here is the caller graph for this function:

G4CrossSectionDataSet& G4CrossSectionDataSet::operator= ( const G4CrossSectionDataSet right)
private
void G4CrossSectionDataSet::PrintData ( void  ) const
virtual

Implements G4VEMDataSet.

Definition at line 516 of file G4CrossSectionDataSet.cc.

References G4cout, G4endl, GetComponent(), n, NumberOfComponents(), and G4VEMDataSet::PrintData().

+ Here is the call graph for this function:

virtual G4double G4CrossSectionDataSet::RandomSelect ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 103 of file G4CrossSectionDataSet.hh.

G4bool G4CrossSectionDataSet::SaveData ( const G4String argFileName) const
virtual

Implements G4VEMDataSet.

Definition at line 412 of file G4CrossSectionDataSet.cc.

References FatalException, FullFileName(), G4Exception(), GetComponent(), G4VEMDataSet::GetData(), GetEnergies(), GetUnitData(), GetUnitEnergies(), left, n, and NumberOfComponents().

+ Here is the call graph for this function:

void G4CrossSectionDataSet::SetEnergiesData ( G4DataVector x,
G4DataVector values,
G4int  componentId 
)
virtual

Implements G4VEMDataSet.

Definition at line 534 of file G4CrossSectionDataSet.cc.

References components, FatalException, G4Exception(), and G4VEMDataSet::SetEnergiesData().

+ Here is the call graph for this function:

void G4CrossSectionDataSet::SetLogEnergiesData ( G4DataVector x,
G4DataVector values,
G4DataVector log_x,
G4DataVector log_values,
G4int  componentId 
)
virtual

Implements G4VEMDataSet.

Definition at line 554 of file G4CrossSectionDataSet.cc.

References components, FatalException, G4Exception(), and G4VEMDataSet::SetLogEnergiesData().

+ Here is the call graph for this function:

Member Data Documentation

G4VDataSetAlgorithm* G4CrossSectionDataSet::algorithm
private

Definition at line 121 of file G4CrossSectionDataSet.hh.

Referenced by GetAlgorithm(), and ~G4CrossSectionDataSet().

std::vector<G4VEMDataSet*> G4CrossSectionDataSet::components
private
G4double G4CrossSectionDataSet::unitData
private

Definition at line 124 of file G4CrossSectionDataSet.hh.

Referenced by GetUnitData().

G4double G4CrossSectionDataSet::unitEnergies
private

Definition at line 123 of file G4CrossSectionDataSet.hh.

Referenced by GetUnitEnergies().

G4int G4CrossSectionDataSet::z
private

Definition at line 119 of file G4CrossSectionDataSet.hh.

Referenced by G4CrossSectionDataSet().


The documentation for this class was generated from the following files: