Geant4  10.01
G4MuElecCrossSectionDataSet Class Reference

#include <G4MuElecCrossSectionDataSet.hh>

+ Inheritance diagram for G4MuElecCrossSectionDataSet:
+ Collaboration diagram for G4MuElecCrossSectionDataSet:

Public Member Functions

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

Constructor & Destructor Documentation

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

Definition at line 39 of file G4MuElecCrossSectionDataSet.cc.

References z.

G4MuElecCrossSectionDataSet::~G4MuElecCrossSectionDataSet ( )
virtual

Definition at line 50 of file G4MuElecCrossSectionDataSet.cc.

References algorithm, and CleanUpComponents().

+ Here is the call graph for this function:

G4MuElecCrossSectionDataSet::G4MuElecCrossSectionDataSet ( )
private
G4MuElecCrossSectionDataSet::G4MuElecCrossSectionDataSet ( const G4MuElecCrossSectionDataSet copy)
private

Member Function Documentation

virtual void G4MuElecCrossSectionDataSet::AddComponent ( G4VEMDataSet dataSet)
inlinevirtual

Implements G4VEMDataSet.

Definition at line 54 of file G4MuElecCrossSectionDataSet.hh.

References components.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

void G4MuElecCrossSectionDataSet::CleanUpComponents ( void  )
private

Definition at line 554 of file G4MuElecCrossSectionDataSet.cc.

References components.

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

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 474 of file G4MuElecCrossSectionDataSet.cc.

References components.

Referenced by G4MuElecElasticModel::CrossSectionPerVolume(), and G4MuElecInelasticModel::CrossSectionPerVolume().

+ Here is the caller graph for this function:

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

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

Definition at line 110 of file G4MuElecCrossSectionDataSet.hh.

References algorithm.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 51 of file G4MuElecCrossSectionDataSet.hh.

References components.

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

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 63 of file G4MuElecCrossSectionDataSet.hh.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

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

Implements G4VEMDataSet.

Definition at line 69 of file G4MuElecCrossSectionDataSet.hh.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 66 of file G4MuElecCrossSectionDataSet.hh.

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

+ Here is the call graph for this function:

G4double G4MuElecCrossSectionDataSet::GetUnitData ( ) const
inlineprivate

Definition at line 109 of file G4MuElecCrossSectionDataSet.hh.

References unitData.

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

+ Here is the caller graph for this function:

G4double G4MuElecCrossSectionDataSet::GetUnitEnergies ( ) const
inlineprivate

Definition at line 108 of file G4MuElecCrossSectionDataSet.hh.

References unitEnergies.

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

+ Here is the caller graph for this function:

G4bool G4MuElecCrossSectionDataSet::LoadData ( const G4String argFileName)
virtual

Implements G4VEMDataSet.

Definition at line 58 of file G4MuElecCrossSectionDataSet.cc.

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

Referenced by G4MuElecElasticModel::Initialise(), and G4MuElecInelasticModel::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4MuElecCrossSectionDataSet::LoadNonLogData ( const G4String argFileName)
virtual

Implements G4VEMDataSet.

Definition at line 233 of file G4MuElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

virtual size_t G4MuElecCrossSectionDataSet::NumberOfComponents ( void  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 57 of file G4MuElecCrossSectionDataSet.hh.

References components.

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

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 492 of file G4MuElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

virtual G4double G4MuElecCrossSectionDataSet::RandomSelect ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 85 of file G4MuElecCrossSectionDataSet.hh.

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

Implements G4VEMDataSet.

Definition at line 386 of file G4MuElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 510 of file G4MuElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 531 of file G4MuElecCrossSectionDataSet.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

G4VDataSetAlgorithm* G4MuElecCrossSectionDataSet::algorithm
private

Definition at line 103 of file G4MuElecCrossSectionDataSet.hh.

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

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

Definition at line 106 of file G4MuElecCrossSectionDataSet.hh.

Referenced by GetUnitData().

G4double G4MuElecCrossSectionDataSet::unitEnergies
private

Definition at line 105 of file G4MuElecCrossSectionDataSet.hh.

Referenced by GetUnitEnergies().

G4int G4MuElecCrossSectionDataSet::z
private

Definition at line 101 of file G4MuElecCrossSectionDataSet.hh.

Referenced by G4MuElecCrossSectionDataSet().


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