Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ParticleHPDataPoint Class Reference

#include <G4ParticleHPDataPoint.hh>

Public Member Functions

 G4ParticleHPDataPoint ()
 
 G4ParticleHPDataPoint (G4double e, G4double x)
 
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 35 of file G4ParticleHPDataPoint.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPDataPoint() [1/2]

G4ParticleHPDataPoint::G4ParticleHPDataPoint ( )
inline

Definition at line 39 of file G4ParticleHPDataPoint.hh.

39{energy = 0; xSec = 0;}

◆ G4ParticleHPDataPoint() [2/2]

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

Definition at line 40 of file G4ParticleHPDataPoint.hh.

40{ energy = e; xSec = x;}

Member Function Documentation

◆ GetEnergy()

G4double G4ParticleHPDataPoint::GetEnergy ( ) const
inline

Definition at line 42 of file G4ParticleHPDataPoint.hh.

42{return energy;}

◆ GetX()

◆ GetXsection()

G4double G4ParticleHPDataPoint::GetXsection ( ) const
inline

Definition at line 43 of file G4ParticleHPDataPoint.hh.

43{return xSec;}

◆ GetY()

◆ SetData()

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

Definition at line 54 of file G4ParticleHPDataPoint.hh.

54{energy = e; xSec = x;}

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;}

◆ SetX()

void G4ParticleHPDataPoint::SetX ( G4double  e)
inline

Definition at line 51 of file G4ParticleHPDataPoint.hh.

51{energy = e;}

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;}

◆ SetY()

void G4ParticleHPDataPoint::SetY ( G4double  x)
inline

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