42#ifndef G4PhysicsVector_hh
43#define G4PhysicsVector_hh 1
191 void ComputeSecDerivative0();
192 void ComputeSecDerivative1();
193 void ComputeSecDerivative2(
const G4double firstPointDerivative,
198 inline G4double Interpolation(
const std::size_t idx,
202 inline std::size_t LogBin(
const G4double energy,
const G4double loge)
const;
203 inline std::size_t BinaryBin(
const G4double energy)
const;
204 inline std::size_t GetBin(
const G4double energy)
const;
236#include "G4PhysicsVector.icc"
void SetVerboseLevel(G4int value)
G4bool operator==(const G4PhysicsVector &right) const =delete
G4double Value(const G4double energy) const
virtual ~G4PhysicsVector()=default
G4double GetEnergy(const G4double value) const
G4PhysicsVector & operator=(const G4PhysicsVector &&)=delete
G4double GetMinValue() const
G4PhysicsVector(const G4PhysicsVector &&)=delete
G4double GetLowEdgeEnergy(const std::size_t index) const
void PutValue(const std::size_t index, const G4double value)
void PrintPutValueError(std::size_t index, G4double value, const G4String &text)
G4double GetMaxEnergy() const
G4double operator[](const std::size_t index) const
std::size_t ComputeLogVectorBin(const G4double logenergy) const
void ScaleVector(const G4double factorE, const G4double factorV)
G4double GetValue(const G4double energy, G4bool &isOutRange) const
friend std::ostream & operator<<(std::ostream &, const G4PhysicsVector &)
G4bool Store(std::ofstream &fOut, G4bool ascii=false) const
G4PhysicsVector(const G4PhysicsVector &)=default
G4double GetMaxValue() const
G4double Energy(const std::size_t index) const
std::size_t numberOfNodes
G4double LogFreeVectorValue(const G4double energy, const G4double theLogEnergy) const
G4double LogVectorValue(const G4double energy, const G4double theLogEnergy) const
G4PhysicsVectorType GetType() const
std::vector< G4double > secDerivative
G4double operator()(const std::size_t index) const
G4PhysicsVector(G4bool spline=false)
G4bool Retrieve(std::ifstream &fIn, G4bool ascii=false)
G4double Value(const G4double energy, std::size_t &lastidx) const
std::vector< G4double > dataVector
std::vector< G4double > binVector
G4double GetMinEnergy() const
virtual void Initialise()
std::size_t GetVectorLength() const
G4bool operator!=(const G4PhysicsVector &right) const =delete
void FillSecondDerivatives(const G4SplineType=G4SplineType::Base, const G4double dir1=0.0, const G4double dir2=0.0)
std::vector< std::size_t > scale
G4double FindLinearEnergy(const G4double rand) const
G4PhysicsVector & operator=(const G4PhysicsVector &)=default
void DumpValues(G4double unitE=1.0, G4double unitV=1.0) const
std::size_t FindBin(const G4double energy, std::size_t idx) const