Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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 34 of file G4NeutronHPDataPoint.hh.

Constructor & Destructor Documentation

◆ G4NeutronHPDataPoint() [1/2]

G4NeutronHPDataPoint::G4NeutronHPDataPoint ( )
inline

Definition at line 38 of file G4NeutronHPDataPoint.hh.

38{energy = 0; xSec = 0;}

◆ G4NeutronHPDataPoint() [2/2]

G4NeutronHPDataPoint::G4NeutronHPDataPoint ( G4double  e,
G4double  x 
)
inline

Definition at line 39 of file G4NeutronHPDataPoint.hh.

39{ energy = e; xSec = x;}

Member Function Documentation

◆ GetEnergy()

G4double G4NeutronHPDataPoint::GetEnergy ( ) const
inline

Definition at line 52 of file G4NeutronHPDataPoint.hh.

52{return energy;}

Referenced by operator=().

◆ GetX()

◆ GetXsection()

G4double G4NeutronHPDataPoint::GetXsection ( ) const
inline

Definition at line 53 of file G4NeutronHPDataPoint.hh.

53{return xSec;}

Referenced by operator=().

◆ GetY()

◆ operator=()

void G4NeutronHPDataPoint::operator= ( const G4NeutronHPDataPoint aSet)
inline

Definition at line 41 of file G4NeutronHPDataPoint.hh.

42 {
43 if(&aSet!=this)
44 {
45 energy = aSet.GetEnergy();
46 xSec = aSet.GetXsection();
47 }
48 }
G4double GetEnergy() const
G4double GetXsection() const

◆ SetData()

void G4NeutronHPDataPoint::SetData ( G4double  e,
G4double  x 
)
inline

Definition at line 64 of file G4NeutronHPDataPoint.hh.

64{energy = e; xSec = x;}

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

◆ SetEnergy()

void G4NeutronHPDataPoint::SetEnergy ( G4double  e)
inline

Definition at line 55 of file G4NeutronHPDataPoint.hh.

55{energy = e;}

◆ SetX()

void G4NeutronHPDataPoint::SetX ( G4double  e)
inline

Definition at line 61 of file G4NeutronHPDataPoint.hh.

61{energy = e;}

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

◆ SetXsection()

void G4NeutronHPDataPoint::SetXsection ( G4double  x)
inline

Definition at line 56 of file G4NeutronHPDataPoint.hh.

56{xSec = x;}

◆ SetY()

void G4NeutronHPDataPoint::SetY ( G4double  x)
inline

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