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::G4NeutronHPDataPoint (  )  [inline]

Definition at line 38 of file G4NeutronHPDataPoint.hh.

00038 {energy = 0; xSec = 0;}

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

Definition at line 39 of file G4NeutronHPDataPoint.hh.

00039 { energy = e; xSec = x;}


Member Function Documentation

G4double G4NeutronHPDataPoint::GetEnergy (  )  const [inline]

Definition at line 52 of file G4NeutronHPDataPoint.hh.

Referenced by operator=().

00052 {return energy;}

G4double G4NeutronHPDataPoint::GetX (  )  const [inline]

Definition at line 58 of file G4NeutronHPDataPoint.hh.

Referenced by G4NeutronHPVector::Get15percentBorder(), G4NeutronHPVector::Get50percentBorder(), G4NeutronHPVector::GetEnergy(), G4NeutronHPVector::GetMeanX(), G4NeutronHPVector::GetX(), G4NeutronHPVector::GetXsec(), G4NeutronHPVector::Integrate(), G4NeutronHPVector::IntegrateAndNormalise(), G4NeutronHPVector::Sample(), G4NeutronHPVector::SampleLin(), G4NeutronHPVector::SetPoint(), and G4NeutronHPVector::ThinOut().

00058 {return energy;}

G4double G4NeutronHPDataPoint::GetXsection (  )  const [inline]

Definition at line 53 of file G4NeutronHPDataPoint.hh.

Referenced by operator=().

00053 {return xSec;}

G4double G4NeutronHPDataPoint::GetY (  )  const [inline]

Definition at line 59 of file G4NeutronHPDataPoint.hh.

Referenced by G4NeutronHPVector::Dump(), G4NeutronHPVector::GetMeanX(), G4NeutronHPVector::GetXsec(), G4NeutronHPVector::GetY(), G4NeutronHPVector::Integrate(), G4NeutronHPVector::IntegrateAndNormalise(), G4NeutronHPVector::Sample(), G4NeutronHPVector::SetPoint(), and G4NeutronHPVector::ThinOut().

00059 {return xSec;}

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

Definition at line 41 of file G4NeutronHPDataPoint.hh.

References GetEnergy(), and GetXsection().

00042   {
00043     if(&aSet!=this)
00044     {
00045       energy = aSet.GetEnergy();
00046       xSec   = aSet.GetXsection();
00047     }
00048   }

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

Definition at line 64 of file G4NeutronHPDataPoint.hh.

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

00064 {energy = e; xSec = x;}

void G4NeutronHPDataPoint::SetEnergy ( G4double  e  )  [inline]

Definition at line 55 of file G4NeutronHPDataPoint.hh.

00055 {energy = e;}

void G4NeutronHPDataPoint::SetX ( G4double  e  )  [inline]

Definition at line 61 of file G4NeutronHPDataPoint.hh.

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

00061 {energy = e;}

void G4NeutronHPDataPoint::SetXsection ( G4double  x  )  [inline]

Definition at line 56 of file G4NeutronHPDataPoint.hh.

00056 {xSec = x;}

void G4NeutronHPDataPoint::SetY ( G4double  x  )  [inline]

Definition at line 62 of file G4NeutronHPDataPoint.hh.

Referenced by G4NeutronHPVector::SetXsec(), and G4NeutronHPVector::SetY().

00062 {xSec = x;}


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:52:37 2013 for Geant4 by  doxygen 1.4.7