Geant4  10.00.p02
G4RDShellEMDataSet Class Reference

#include <G4RDShellEMDataSet.hh>

+ Inheritance diagram for G4RDShellEMDataSet:
+ Collaboration diagram for G4RDShellEMDataSet:

Public Member Functions

 G4RDShellEMDataSet (G4int Z, G4RDVDataSetAlgorithm *algo, G4double eUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn)
 
virtual ~G4RDShellEMDataSet ()
 
virtual G4double FindValue (G4double energy, G4int componentId=0) const
 
virtual void PrintData (void) const
 
virtual const G4RDVEMDataSetGetComponent (G4int componentId) const
 
virtual void AddComponent (G4RDVEMDataSet *dataSet)
 
virtual size_t NumberOfComponents (void) const
 
virtual const G4DataVectorGetEnergies (G4int componentId) const
 
virtual const G4DataVectorGetData (G4int componentId) const
 
virtual void SetEnergiesData (G4DataVector *energies, G4DataVector *data, G4int componentId)
 
virtual G4bool LoadData (const G4String &fileName)
 
virtual G4bool SaveData (const G4String &fileName) const
 
virtual G4double RandomSelect (G4int) const
 
- Public Member Functions inherited from G4RDVEMDataSet
 G4RDVEMDataSet ()
 
virtual ~G4RDVEMDataSet ()
 

Protected Member Functions

G4double GetUnitEnergies () const
 
G4double GetUnitData () const
 
const G4RDVDataSetAlgorithmGetAlgorithm () const
 
void CleanUpComponents (void)
 

Private Member Functions

G4String FullFileName (const G4String &fileName) const
 
 G4RDShellEMDataSet ()
 
 G4RDShellEMDataSet (const G4RDShellEMDataSet &copy)
 
G4RDShellEMDataSetoperator= (const G4RDShellEMDataSet &right)
 

Private Attributes

std::vector< G4RDVEMDataSet * > components
 
G4int z
 
G4RDVDataSetAlgorithmalgorithm
 
G4double unitEnergies
 
G4double unitData
 

Detailed Description

Definition at line 59 of file G4RDShellEMDataSet.hh.

Constructor & Destructor Documentation

G4RDShellEMDataSet::G4RDShellEMDataSet ( G4int  Z,
G4RDVDataSetAlgorithm algo,
G4double  eUnit = CLHEP::MeV,
G4double  dataUnit = CLHEP::barn 
)

Definition at line 48 of file G4RDShellEMDataSet.cc.

References algorithm, FatalException, and G4Exception().

+ Here is the call graph for this function:

G4RDShellEMDataSet::~G4RDShellEMDataSet ( )
virtual

Definition at line 63 of file G4RDShellEMDataSet.cc.

References algorithm, and CleanUpComponents().

+ Here is the call graph for this function:

G4RDShellEMDataSet::G4RDShellEMDataSet ( )
private
G4RDShellEMDataSet::G4RDShellEMDataSet ( const G4RDShellEMDataSet copy)
private

Member Function Documentation

virtual void G4RDShellEMDataSet::AddComponent ( G4RDVEMDataSet dataSet)
inlinevirtual

Implements G4RDVEMDataSet.

Definition at line 74 of file G4RDShellEMDataSet.hh.

References components.

Referenced by LoadData().

+ Here is the caller graph for this function:

void G4RDShellEMDataSet::CleanUpComponents ( void  )
protected

Definition at line 259 of file G4RDShellEMDataSet.cc.

References components.

Referenced by LoadData(), and ~G4RDShellEMDataSet().

+ Here is the caller graph for this function:

G4double G4RDShellEMDataSet::FindValue ( G4double  energy,
G4int  componentId = 0 
) const
virtual

Implements G4RDVEMDataSet.

Definition at line 70 of file G4RDShellEMDataSet.cc.

References components.

G4String G4RDShellEMDataSet::FullFileName ( const G4String fileName) const
private

Definition at line 269 of file G4RDShellEMDataSet.cc.

References FatalException, G4Exception(), and z.

Referenced by LoadData(), and SaveData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4RDVDataSetAlgorithm* G4RDShellEMDataSet::GetAlgorithm ( ) const
inlineprotected

Definition at line 90 of file G4RDShellEMDataSet.hh.

References algorithm.

virtual const G4RDVEMDataSet* G4RDShellEMDataSet::GetComponent ( G4int  componentId) const
inlinevirtual

Implements G4RDVEMDataSet.

Definition at line 73 of file G4RDShellEMDataSet.hh.

References components.

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

+ Here is the caller graph for this function:

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

Implements G4RDVEMDataSet.

Definition at line 78 of file G4RDShellEMDataSet.hh.

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

+ Here is the call graph for this function:

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

Implements G4RDVEMDataSet.

Definition at line 77 of file G4RDShellEMDataSet.hh.

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

+ Here is the call graph for this function:

G4double G4RDShellEMDataSet::GetUnitData ( ) const
inlineprotected

Definition at line 89 of file G4RDShellEMDataSet.hh.

References unitData.

G4double G4RDShellEMDataSet::GetUnitEnergies ( ) const
inlineprotected

Definition at line 88 of file G4RDShellEMDataSet.hh.

References unitEnergies.

G4bool G4RDShellEMDataSet::LoadData ( const G4String fileName)
virtual

Implements G4RDVEMDataSet.

Definition at line 126 of file G4RDShellEMDataSet.cc.

References a, AddComponent(), algorithm, CleanUpComponents(), G4RDVDataSetAlgorithm::Clone(), FatalException, FullFileName(), G4Exception(), unitData, and unitEnergies.

+ Here is the call graph for this function:

virtual size_t G4RDShellEMDataSet::NumberOfComponents ( void  ) const
inlinevirtual

Implements G4RDVEMDataSet.

Definition at line 75 of file G4RDShellEMDataSet.hh.

References components.

Referenced by PrintData(), and SaveData().

+ Here is the caller graph for this function:

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

Implements G4RDVEMDataSet.

Definition at line 88 of file G4RDShellEMDataSet.cc.

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

+ Here is the call graph for this function:

virtual G4double G4RDShellEMDataSet::RandomSelect ( G4int  ) const
inlinevirtual

Implements G4RDVEMDataSet.

Definition at line 84 of file G4RDShellEMDataSet.hh.

G4bool G4RDShellEMDataSet::SaveData ( const G4String fileName) const
virtual

Implements G4RDVEMDataSet.

Definition at line 186 of file G4RDShellEMDataSet.cc.

References FatalException, FullFileName(), G4Exception(), GetComponent(), G4RDVEMDataSet::GetData(), G4RDVEMDataSet::GetEnergies(), left, n, NumberOfComponents(), unitData, and unitEnergies.

+ Here is the call graph for this function:

void G4RDShellEMDataSet::SetEnergiesData ( G4DataVector energies,
G4DataVector data,
G4int  componentId 
)
virtual

Implements G4RDVEMDataSet.

Definition at line 106 of file G4RDShellEMDataSet.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

G4RDVDataSetAlgorithm* G4RDShellEMDataSet::algorithm
private
std::vector<G4RDVEMDataSet*> G4RDShellEMDataSet::components
private
G4double G4RDShellEMDataSet::unitData
private

Definition at line 110 of file G4RDShellEMDataSet.hh.

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

G4double G4RDShellEMDataSet::unitEnergies
private

Definition at line 109 of file G4RDShellEMDataSet.hh.

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

G4int G4RDShellEMDataSet::z
private

Definition at line 105 of file G4RDShellEMDataSet.hh.

Referenced by FullFileName().


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