Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4NeutronHPDataPoint Class Reference

#include <G4NeutronHPDataPoint.hh>

Public Member Functions

 G4NeutronHPDataPoint ()
 
 G4NeutronHPDataPoint (G4double e, G4double x)
 
void operator= (const G4NeutronHPDataPoint &aSet)
 
G4double GetEnergy () const
 
G4double GetXsection () const
 
void SetEnergy (G4double e)
 
void SetXsection (G4double x)
 
G4double GetX () const
 
G4double GetY () const
 
void SetX (G4double e)
 
void SetY (G4double x)
 
void SetData (G4double e, G4double x)
 

Detailed Description

Definition at line 33 of file G4NeutronHPDataPoint.hh.

Constructor & Destructor Documentation

G4NeutronHPDataPoint::G4NeutronHPDataPoint ( )
inline

Definition at line 37 of file G4NeutronHPDataPoint.hh.

37 {energy = 0; xSec = 0;}
G4NeutronHPDataPoint::G4NeutronHPDataPoint ( G4double  e,
G4double  x 
)
inline

Definition at line 38 of file G4NeutronHPDataPoint.hh.

References test::x.

38 { energy = e; xSec = x;}

Member Function Documentation

G4double G4NeutronHPDataPoint::GetEnergy ( ) const
inline

Definition at line 51 of file G4NeutronHPDataPoint.hh.

Referenced by operator=().

51 {return energy;}
G4double G4NeutronHPDataPoint::GetX ( ) const
inline
G4double G4NeutronHPDataPoint::GetXsection ( ) const
inline

Definition at line 52 of file G4NeutronHPDataPoint.hh.

Referenced by operator=().

52 {return xSec;}
G4double G4NeutronHPDataPoint::GetY ( ) const
inline
void G4NeutronHPDataPoint::operator= ( const G4NeutronHPDataPoint aSet)
inline

Definition at line 40 of file G4NeutronHPDataPoint.hh.

References GetEnergy(), and GetXsection().

41  {
42  if(&aSet!=this)
43  {
44  energy = aSet.GetEnergy();
45  xSec = aSet.GetXsection();
46  }
47  }
G4double GetEnergy() const
G4double GetXsection() const
void G4NeutronHPDataPoint::SetData ( G4double  e,
G4double  x 
)
inline

Definition at line 63 of file G4NeutronHPDataPoint.hh.

References test::x.

Referenced by G4NeutronHPVector::SetData(), and G4NeutronHPHash::SetData().

63 {energy = e; xSec = x;}
void G4NeutronHPDataPoint::SetEnergy ( G4double  e)
inline

Definition at line 54 of file G4NeutronHPDataPoint.hh.

54 {energy = e;}
void G4NeutronHPDataPoint::SetX ( G4double  e)
inline

Definition at line 60 of file G4NeutronHPDataPoint.hh.

Referenced by G4NeutronHPVector::SetEnergy(), and G4NeutronHPVector::SetX().

60 {energy = e;}
void G4NeutronHPDataPoint::SetXsection ( G4double  x)
inline

Definition at line 55 of file G4NeutronHPDataPoint.hh.

References test::x.

55 {xSec = x;}
void G4NeutronHPDataPoint::SetY ( G4double  x)
inline

Definition at line 61 of file G4NeutronHPDataPoint.hh.

References test::x.

Referenced by G4NeutronHPVector::SetXsec(), G4NeutronHPVector::SetY(), and G4NeutronHPVector::Times().

61 {xSec = x;}

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