Geant4  10.01.p03
G4MicroElecCrossSectionDataSet Class Reference

#include <G4MicroElecCrossSectionDataSet.hh>

+ Inheritance diagram for G4MicroElecCrossSectionDataSet:
+ Collaboration diagram for G4MicroElecCrossSectionDataSet:

Public Member Functions

 G4MicroElecCrossSectionDataSet (G4VDataSetAlgorithm *algo, G4double xUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn)
 
virtual ~G4MicroElecCrossSectionDataSet ()
 
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
 
 G4MicroElecCrossSectionDataSet ()
 
 G4MicroElecCrossSectionDataSet (const G4MicroElecCrossSectionDataSet &copy)
 
G4MicroElecCrossSectionDataSetoperator= (const G4MicroElecCrossSectionDataSet &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 37 of file G4MicroElecCrossSectionDataSet.hh.

Constructor & Destructor Documentation

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

Definition at line 39 of file G4MicroElecCrossSectionDataSet.cc.

References z.

G4MicroElecCrossSectionDataSet::~G4MicroElecCrossSectionDataSet ( )
virtual

Definition at line 50 of file G4MicroElecCrossSectionDataSet.cc.

References algorithm, and CleanUpComponents().

+ Here is the call graph for this function:

G4MicroElecCrossSectionDataSet::G4MicroElecCrossSectionDataSet ( )
private
G4MicroElecCrossSectionDataSet::G4MicroElecCrossSectionDataSet ( const G4MicroElecCrossSectionDataSet copy)
private

Member Function Documentation

virtual void G4MicroElecCrossSectionDataSet::AddComponent ( G4VEMDataSet dataSet)
inlinevirtual

Implements G4VEMDataSet.

Definition at line 54 of file G4MicroElecCrossSectionDataSet.hh.

References components.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

void G4MicroElecCrossSectionDataSet::CleanUpComponents ( void  )
private

Definition at line 554 of file G4MicroElecCrossSectionDataSet.cc.

References components.

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

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 474 of file G4MicroElecCrossSectionDataSet.cc.

References components.

Referenced by G4MicroElecElasticModel::CrossSectionPerVolume(), and G4MicroElecInelasticModel::CrossSectionPerVolume().

+ Here is the caller graph for this function:

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

Definition at line 455 of file G4MicroElecCrossSectionDataSet.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* G4MicroElecCrossSectionDataSet::GetAlgorithm ( ) const
inlineprivate

Definition at line 110 of file G4MicroElecCrossSectionDataSet.hh.

References algorithm.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 51 of file G4MicroElecCrossSectionDataSet.hh.

References components.

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

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 63 of file G4MicroElecCrossSectionDataSet.hh.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 60 of file G4MicroElecCrossSectionDataSet.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& G4MicroElecCrossSectionDataSet::GetLogData ( G4int  componentId) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 69 of file G4MicroElecCrossSectionDataSet.hh.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 66 of file G4MicroElecCrossSectionDataSet.hh.

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

+ Here is the call graph for this function:

G4double G4MicroElecCrossSectionDataSet::GetUnitData ( ) const
inlineprivate

Definition at line 109 of file G4MicroElecCrossSectionDataSet.hh.

References unitData.

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

+ Here is the caller graph for this function:

G4double G4MicroElecCrossSectionDataSet::GetUnitEnergies ( ) const
inlineprivate

Definition at line 108 of file G4MicroElecCrossSectionDataSet.hh.

References unitEnergies.

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

+ Here is the caller graph for this function:

G4bool G4MicroElecCrossSectionDataSet::LoadData ( const G4String argFileName)
virtual

Implements G4VEMDataSet.

Definition at line 58 of file G4MicroElecCrossSectionDataSet.cc.

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

Referenced by G4MicroElecElasticModel::Initialise(), and G4MicroElecInelasticModel::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4MicroElecCrossSectionDataSet::LoadNonLogData ( const G4String argFileName)
virtual

Implements G4VEMDataSet.

Definition at line 233 of file G4MicroElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

virtual size_t G4MicroElecCrossSectionDataSet::NumberOfComponents ( void  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 57 of file G4MicroElecCrossSectionDataSet.hh.

References components.

Referenced by PrintData(), G4MicroElecInelasticModel::RandomSelect(), and SaveData().

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 492 of file G4MicroElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

virtual G4double G4MicroElecCrossSectionDataSet::RandomSelect ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 85 of file G4MicroElecCrossSectionDataSet.hh.

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

Implements G4VEMDataSet.

Definition at line 386 of file G4MicroElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 510 of file G4MicroElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 531 of file G4MicroElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

G4VDataSetAlgorithm* G4MicroElecCrossSectionDataSet::algorithm
private
std::vector<G4VEMDataSet*> G4MicroElecCrossSectionDataSet::components
private
G4double G4MicroElecCrossSectionDataSet::unitData
private

Definition at line 106 of file G4MicroElecCrossSectionDataSet.hh.

Referenced by GetUnitData().

G4double G4MicroElecCrossSectionDataSet::unitEnergies
private

Definition at line 105 of file G4MicroElecCrossSectionDataSet.hh.

Referenced by GetUnitEnergies().

G4int G4MicroElecCrossSectionDataSet::z
private

Definition at line 101 of file G4MicroElecCrossSectionDataSet.hh.

Referenced by G4MicroElecCrossSectionDataSet().


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