Geant4  10.02.p02
XrayFluoDataSet Class Reference

#include <XrayFluoDataSet.hh>

+ Inheritance diagram for XrayFluoDataSet:
+ Collaboration diagram for XrayFluoDataSet:

Public Member Functions

 XrayFluoDataSet (G4int Z, G4DataVector *points, G4DataVector *values, const G4VDataSetAlgorithm *interpolation, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn)
 
 XrayFluoDataSet (G4int Z, const G4String &dataFile, const G4VDataSetAlgorithm *interpolation, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn)
 
 ~XrayFluoDataSet ()
 
G4double FindValue (G4double e, G4int) const
 
virtual const G4VEMDataSetGetComponent (G4int) const
 
virtual void AddComponent (G4VEMDataSet *)
 
virtual size_t NumberOfComponents () const
 
virtual void SetEnergiesData (G4DataVector *, G4DataVector *, int=0)
 
virtual G4bool SaveData (const G4String &) const
 
virtual G4double RandomSelect (int=0) const
 
void PrintData () const
 
const G4DataVectorGetEnergies (G4int) const
 
const G4DataVectorGetData (G4int) const
 
virtual const G4DataVectorGetLogEnergies (G4int) const
 
virtual const G4DataVectorGetLogData (G4int) const
 
virtual void SetLogEnergiesData (G4DataVector *, G4DataVector *, G4DataVector *, G4DataVector *, G4int)
 
virtual G4bool LoadNonLogData (const G4String &)
 
- Public Member Functions inherited from G4VEMDataSet
 G4VEMDataSet ()
 
virtual ~G4VEMDataSet ()
 

Private Member Functions

G4bool LoadData (const G4String &dataFile)
 
G4int FindBinLocation (G4double energy) const
 

Private Attributes

G4DataVectorenergies
 
G4DataVectordata
 
const G4VDataSetAlgorithmalgorithm
 
G4double unit1
 
G4double unit2
 
size_t numberOfBins
 

Detailed Description

Definition at line 51 of file XrayFluoDataSet.hh.

Constructor & Destructor Documentation

XrayFluoDataSet::XrayFluoDataSet ( G4int  Z,
G4DataVector points,
G4DataVector values,
const G4VDataSetAlgorithm interpolation,
G4double  unitE = CLHEP::MeV,
G4double  unitData = CLHEP::barn 
)

Definition at line 42 of file XrayFluoDataSet.cc.

References energies, numberOfBins, unit1, and unit2.

XrayFluoDataSet::XrayFluoDataSet ( G4int  Z,
const G4String dataFile,
const G4VDataSetAlgorithm interpolation,
G4double  unitE = CLHEP::MeV,
G4double  unitData = CLHEP::barn 
)

Definition at line 56 of file XrayFluoDataSet.cc.

References data, energies, LoadData(), numberOfBins, unit1, and unit2.

+ Here is the call graph for this function:

XrayFluoDataSet::~XrayFluoDataSet ( )

Definition at line 73 of file XrayFluoDataSet.cc.

References data, and energies.

Member Function Documentation

virtual void XrayFluoDataSet::AddComponent ( G4VEMDataSet )
inlinevirtual

Implements G4VEMDataSet.

Definition at line 74 of file XrayFluoDataSet.hh.

G4int XrayFluoDataSet::FindBinLocation ( G4double  energy) const
private

Definition at line 107 of file XrayFluoDataSet.cc.

References energies, and numberOfBins.

Referenced by FindValue().

+ Here is the caller graph for this function:

G4double XrayFluoDataSet::FindValue ( G4double  e,
G4int   
) const
virtual

Implements G4VEMDataSet.

Definition at line 81 of file XrayFluoDataSet.cc.

References algorithm, G4VDataSetAlgorithm::Calculate(), data, energies, FindBinLocation(), and numberOfBins.

Referenced by XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoNormalization::Integrate(), XrayFluoHPGeDetectorType::ResponseFunction(), and XrayFluoSiLiDetectorType::ResponseFunction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual const G4VEMDataSet* XrayFluoDataSet::GetComponent ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 72 of file XrayFluoDataSet.hh.

const G4DataVector& XrayFluoDataSet::GetData ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 88 of file XrayFluoDataSet.hh.

References data.

const G4DataVector& XrayFluoDataSet::GetEnergies ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 87 of file XrayFluoDataSet.hh.

References energies.

virtual const G4DataVector& XrayFluoDataSet::GetLogData ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 91 of file XrayFluoDataSet.hh.

References data.

virtual const G4DataVector& XrayFluoDataSet::GetLogEnergies ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 90 of file XrayFluoDataSet.hh.

References energies.

G4bool XrayFluoDataSet::LoadData ( const G4String dataFile)
privatevirtual

Implements G4VEMDataSet.

Definition at line 133 of file XrayFluoDataSet.cc.

References a, data, energies, FatalException, G4endl, G4Exception(), unit1, and unit2.

Referenced by XrayFluoDataSet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual G4bool XrayFluoDataSet::LoadNonLogData ( const G4String )
inlinevirtual

Implements G4VEMDataSet.

Definition at line 100 of file XrayFluoDataSet.hh.

virtual size_t XrayFluoDataSet::NumberOfComponents ( void  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 76 of file XrayFluoDataSet.hh.

void XrayFluoDataSet::PrintData ( void  ) const
virtual

Implements G4VEMDataSet.

Definition at line 206 of file XrayFluoDataSet.cc.

References G4cout, G4endl, numberOfBins, unit1, and unit2.

virtual G4double XrayFluoDataSet::RandomSelect ( int  = 0) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 83 of file XrayFluoDataSet.hh.

virtual G4bool XrayFluoDataSet::SaveData ( const G4String ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 81 of file XrayFluoDataSet.hh.

virtual void XrayFluoDataSet::SetEnergiesData ( G4DataVector ,
G4DataVector ,
int  = 0 
)
inlinevirtual

Implements G4VEMDataSet.

Definition at line 78 of file XrayFluoDataSet.hh.

virtual void XrayFluoDataSet::SetLogEnergiesData ( G4DataVector ,
G4DataVector ,
G4DataVector ,
G4DataVector ,
G4int   
)
inlinevirtual

Implements G4VEMDataSet.

Definition at line 94 of file XrayFluoDataSet.hh.

Member Data Documentation

const G4VDataSetAlgorithm* XrayFluoDataSet::algorithm
private

Definition at line 116 of file XrayFluoDataSet.hh.

Referenced by FindValue().

G4DataVector* XrayFluoDataSet::data
private
G4DataVector* XrayFluoDataSet::energies
private
size_t XrayFluoDataSet::numberOfBins
private

Definition at line 121 of file XrayFluoDataSet.hh.

Referenced by FindBinLocation(), FindValue(), PrintData(), and XrayFluoDataSet().

G4double XrayFluoDataSet::unit1
private

Definition at line 118 of file XrayFluoDataSet.hh.

Referenced by LoadData(), PrintData(), and XrayFluoDataSet().

G4double XrayFluoDataSet::unit2
private

Definition at line 119 of file XrayFluoDataSet.hh.

Referenced by LoadData(), PrintData(), and XrayFluoDataSet().


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