Geant4 11.2.2
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 38 of file G4ParticleHPDataPoint.hh.

39 {
40 energy = 0;
41 xSec = 0;
42 }

◆ G4ParticleHPDataPoint() [2/2]

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

Definition at line 43 of file G4ParticleHPDataPoint.hh.

44 {
45 energy = e;
46 xSec = x;
47 }

Member Function Documentation

◆ GetEnergy()

G4double G4ParticleHPDataPoint::GetEnergy ( ) const
inline

Definition at line 49 of file G4ParticleHPDataPoint.hh.

49{ return energy; }

◆ GetX()

◆ GetXsection()

G4double G4ParticleHPDataPoint::GetXsection ( ) const
inline

Definition at line 50 of file G4ParticleHPDataPoint.hh.

50{ return xSec; }

◆ GetY()

◆ SetData()

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

Definition at line 61 of file G4ParticleHPDataPoint.hh.

62 {
63 energy = e;
64 xSec = x;
65 }

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

◆ SetEnergy()

void G4ParticleHPDataPoint::SetEnergy ( G4double e)
inline

Definition at line 52 of file G4ParticleHPDataPoint.hh.

52{ energy = e; }

◆ SetX()

void G4ParticleHPDataPoint::SetX ( G4double e)
inline

Definition at line 58 of file G4ParticleHPDataPoint.hh.

58{ energy = e; }

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

◆ SetXsection()

void G4ParticleHPDataPoint::SetXsection ( G4double x)
inline

Definition at line 53 of file G4ParticleHPDataPoint.hh.

53{ xSec = x; }

◆ SetY()

void G4ParticleHPDataPoint::SetY ( G4double x)
inline

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