Geant4 10.7.0
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)
 
G4ParticleHPDataPointoperator= (const G4ParticleHPDataPoint &aSet)=default
 
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 46 of file G4ParticleHPDataPoint.hh.

46{return energy;}

◆ GetX()

◆ GetXsection()

G4double G4ParticleHPDataPoint::GetXsection ( ) const
inline

Definition at line 47 of file G4ParticleHPDataPoint.hh.

47{return xSec;}

◆ GetY()

◆ operator=()

G4ParticleHPDataPoint & G4ParticleHPDataPoint::operator= ( const G4ParticleHPDataPoint aSet)
default

◆ SetData()

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

Definition at line 58 of file G4ParticleHPDataPoint.hh.

58{energy = e; xSec = x;}

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

◆ SetEnergy()

void G4ParticleHPDataPoint::SetEnergy ( G4double  e)
inline

Definition at line 49 of file G4ParticleHPDataPoint.hh.

49{energy = e;}

◆ SetX()

void G4ParticleHPDataPoint::SetX ( G4double  e)
inline

Definition at line 55 of file G4ParticleHPDataPoint.hh.

55{energy = e;}

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

◆ SetXsection()

void G4ParticleHPDataPoint::SetXsection ( G4double  x)
inline

Definition at line 50 of file G4ParticleHPDataPoint.hh.

50{xSec = x;}

◆ SetY()

void G4ParticleHPDataPoint::SetY ( G4double  x)
inline

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