ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DNACrossSectionDataSet Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/dna/utils/include/G4DNACrossSectionDataSet.hh>

+ Inheritance diagram for G4DNACrossSectionDataSet:
+ Collaboration diagram for G4DNACrossSectionDataSet:

Public Member Functions

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

View newest version in sPHENIX GitHub at line 54 of file G4DNACrossSectionDataSet.hh

Constructor & Destructor Documentation

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

Definition at line 64 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 64 of file G4DNACrossSectionDataSet.cc

References z.

G4DNACrossSectionDataSet::~G4DNACrossSectionDataSet ( )
virtual

Definition at line 75 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 75 of file G4DNACrossSectionDataSet.cc

References algorithm, and CleanUpComponents().

+ Here is the call graph for this function:

G4DNACrossSectionDataSet::G4DNACrossSectionDataSet ( )
private
G4DNACrossSectionDataSet::G4DNACrossSectionDataSet ( const G4DNACrossSectionDataSet copy)
private

Member Function Documentation

virtual void G4DNACrossSectionDataSet::AddComponent ( G4VEMDataSet dataSet)
inlinevirtual

Implements G4VEMDataSet.

Definition at line 71 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 71 of file G4DNACrossSectionDataSet.hh

References components.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

void G4DNACrossSectionDataSet::CleanUpComponents ( void  )
private

Definition at line 563 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 563 of file G4DNACrossSectionDataSet.cc

References components.

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

+ Here is the caller graph for this function:

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

Definition at line 464 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 464 of file G4DNACrossSectionDataSet.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* G4DNACrossSectionDataSet::GetAlgorithm ( ) const
inlineprivate

Definition at line 127 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 127 of file G4DNACrossSectionDataSet.hh

References algorithm.

Referenced by LoadData(), and LoadNonLogData().

+ Here is the caller graph for this function:

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

Implements G4VEMDataSet.

Definition at line 80 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 80 of file G4DNACrossSectionDataSet.hh

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 77 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 77 of file G4DNACrossSectionDataSet.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& G4DNACrossSectionDataSet::GetLogData ( G4int  componentId) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 86 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 86 of file G4DNACrossSectionDataSet.hh

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 83 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 83 of file G4DNACrossSectionDataSet.hh

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

+ Here is the call graph for this function:

G4double G4DNACrossSectionDataSet::GetUnitData ( ) const
inlineprivate

Definition at line 126 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 126 of file G4DNACrossSectionDataSet.hh

References unitData.

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

+ Here is the caller graph for this function:

G4double G4DNACrossSectionDataSet::GetUnitEnergies ( ) const
inlineprivate

Definition at line 125 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 125 of file G4DNACrossSectionDataSet.hh

References unitEnergies.

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

+ Here is the caller graph for this function:

G4bool G4DNACrossSectionDataSet::LoadData ( const G4String argFileName)
virtual
G4bool G4DNACrossSectionDataSet::LoadNonLogData ( const G4String argFileName)
virtual

Implements G4VEMDataSet.

Definition at line 250 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 250 of file G4DNACrossSectionDataSet.cc

References AddComponent(), c, CleanUpComponents(), e, FatalException, FullFileName(), G4Exception(), GetAlgorithm(), GetUnitData(), GetUnitEnergies(), in, and message().

+ Here is the call graph for this function:

virtual size_t G4DNACrossSectionDataSet::NumberOfComponents ( void  ) const
inlinevirtual
G4DNACrossSectionDataSet& G4DNACrossSectionDataSet::operator= ( const G4DNACrossSectionDataSet right)
private
void G4DNACrossSectionDataSet::PrintData ( void  ) const
virtual

Implements G4VEMDataSet.

Definition at line 501 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 501 of file G4DNACrossSectionDataSet.cc

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

+ Here is the call graph for this function:

virtual G4double G4DNACrossSectionDataSet::RandomSelect ( G4int  ) const
inlinevirtual

Implements G4VEMDataSet.

Definition at line 102 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 102 of file G4DNACrossSectionDataSet.hh

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

Implements G4VEMDataSet.

Definition at line 395 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 395 of file G4DNACrossSectionDataSet.cc

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 519 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 519 of file G4DNACrossSectionDataSet.cc

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

+ Here is the call graph for this function:

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

Implements G4VEMDataSet.

Definition at line 540 of file G4DNACrossSectionDataSet.cc.

View newest version in sPHENIX GitHub at line 540 of file G4DNACrossSectionDataSet.cc

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

+ Here is the call graph for this function:

Member Data Documentation

G4VDataSetAlgorithm* G4DNACrossSectionDataSet::algorithm
private

Definition at line 120 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 120 of file G4DNACrossSectionDataSet.hh

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

std::vector<G4VEMDataSet*> G4DNACrossSectionDataSet::components
private

Definition at line 116 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 116 of file G4DNACrossSectionDataSet.hh

Referenced by AddComponent(), CleanUpComponents(), FindValue(), GetComponent(), NumberOfComponents(), SetEnergiesData(), and SetLogEnergiesData().

G4double G4DNACrossSectionDataSet::unitData
private

Definition at line 123 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 123 of file G4DNACrossSectionDataSet.hh

Referenced by GetUnitData().

G4double G4DNACrossSectionDataSet::unitEnergies
private

Definition at line 122 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 122 of file G4DNACrossSectionDataSet.hh

Referenced by GetUnitEnergies().

G4int G4DNACrossSectionDataSet::z
private

Definition at line 118 of file G4DNACrossSectionDataSet.hh.

View newest version in sPHENIX GitHub at line 118 of file G4DNACrossSectionDataSet.hh

Referenced by G4DNACrossSectionDataSet().


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