Geant4-11
Public Member Functions | Private Attributes
G4ParticleHPDataPoint Class Reference

#include <G4ParticleHPDataPoint.hh>

Public Member Functions

 G4ParticleHPDataPoint ()
 
 G4ParticleHPDataPoint (G4double e, G4double x)
 
G4double GetEnergy () const
 
G4double GetX () const
 
G4double GetXsection () const
 
G4double GetY () const
 
void SetData (G4double e, G4double x)
 
void SetEnergy (G4double e)
 
void SetX (G4double e)
 
void SetXsection (G4double x)
 
void SetY (G4double x)
 

Private Attributes

G4double energy
 
G4double xSec
 

Detailed Description

Definition at line 35 of file G4ParticleHPDataPoint.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPDataPoint() [1/2]

G4ParticleHPDataPoint::G4ParticleHPDataPoint ( )
inline

Definition at line 39 of file G4ParticleHPDataPoint.hh.

References energy, and xSec.

◆ G4ParticleHPDataPoint() [2/2]

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

Definition at line 40 of file G4ParticleHPDataPoint.hh.

40{ energy = e; xSec = x;}

References energy, and xSec.

Member Function Documentation

◆ GetEnergy()

G4double G4ParticleHPDataPoint::GetEnergy ( ) const
inline

Definition at line 42 of file G4ParticleHPDataPoint.hh.

42{return energy;}

References energy.

◆ GetX()

G4double G4ParticleHPDataPoint::GetX ( ) const
inline

◆ GetXsection()

G4double G4ParticleHPDataPoint::GetXsection ( ) const
inline

Definition at line 43 of file G4ParticleHPDataPoint.hh.

43{return xSec;}

References xSec.

◆ GetY()

G4double G4ParticleHPDataPoint::GetY ( ) const
inline

◆ SetData()

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

Definition at line 54 of file G4ParticleHPDataPoint.hh.

54{energy = e; xSec = x;}

References energy, and xSec.

Referenced by G4ParticleHPVector::SetData(), and G4ParticleHPHash::SetData().

◆ SetEnergy()

void G4ParticleHPDataPoint::SetEnergy ( G4double  e)
inline

Definition at line 45 of file G4ParticleHPDataPoint.hh.

45{energy = e;}

References energy.

◆ SetX()

void G4ParticleHPDataPoint::SetX ( G4double  e)
inline

Definition at line 51 of file G4ParticleHPDataPoint.hh.

51{energy = e;}

References energy.

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

◆ SetXsection()

void G4ParticleHPDataPoint::SetXsection ( G4double  x)
inline

Definition at line 46 of file G4ParticleHPDataPoint.hh.

46{xSec = x;}

References xSec.

◆ SetY()

void G4ParticleHPDataPoint::SetY ( G4double  x)
inline

Definition at line 52 of file G4ParticleHPDataPoint.hh.

52{xSec = x;}

References xSec.

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

Field Documentation

◆ energy

G4double G4ParticleHPDataPoint::energy
private

◆ xSec

G4double G4ParticleHPDataPoint::xSec
private

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