G4PhysicsVector Class Reference

#include <G4PhysicsVector.hh>

Inheritance diagram for G4PhysicsVector:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 67 of file G4PhysicsVector.hh.

Public Member Functions

 G4PhysicsVector ()
 G4PhysicsVector (const G4PhysicsVector &)
G4PhysicsVectoroperator= (const G4PhysicsVector &)
virtual ~G4PhysicsVector ()
G4double GetValue (G4double theEnergy, G4bool &isOutRange)
G4int operator== (const G4PhysicsVector &right) const
G4int operator!= (const G4PhysicsVector &right) const
G4double operator[] (const size_t binNumber) const
G4double operator() (const size_t binNumber) const
void PutValue (size_t binNumber, G4double theValue)
virtual G4double GetLowEdgeEnergy (size_t binNumber) const
size_t GetVectorLength () const
G4bool IsFilledVectorExist () const
void PutComment (const G4String &theComment)
const G4StringGetComment () const
G4PhysicsVectorType GetType () const
virtual G4bool Store (std::ofstream &fOut, G4bool ascii=false)
virtual G4bool Retrieve (std::ifstream &fIn, G4bool ascii=false)

Protected Types

typedef std::vector< G4doubleG4PVDataVector

Protected Member Functions

G4double LinearInterpolation (G4double theEnergy, size_t theLocBin)
virtual size_t FindBinLocation (G4double theEnergy) const =0

Protected Attributes

G4PhysicsVectorType type
G4double edgeMin
G4double edgeMax
size_t numberOfBin
G4double lastEnergy
G4double lastValue
size_t lastBin
G4PVDataVector dataVector
G4PVDataVector binVector

Private Attributes

G4String comment

Friends

std::ostream & operator<< (std::ostream &, const G4PhysicsVector &)


Member Typedef Documentation

typedef std::vector<G4double> G4PhysicsVector::G4PVDataVector [protected]

Definition at line 146 of file G4PhysicsVector.hh.


Constructor & Destructor Documentation

G4PhysicsVector::G4PhysicsVector (  ) 

Definition at line 49 of file G4PhysicsVector.cc.

G4PhysicsVector::G4PhysicsVector ( const G4PhysicsVector  ) 

Definition at line 63 of file G4PhysicsVector.cc.

G4PhysicsVector::~G4PhysicsVector (  )  [virtual]

Definition at line 56 of file G4PhysicsVector.cc.

References binVector, dataVector, T_G4PhysicsVector, and type.


Member Function Documentation

virtual size_t G4PhysicsVector::FindBinLocation ( G4double  theEnergy  )  const [protected, pure virtual]

Implemented in G4LPhysicsFreeVector, G4PhysicsFreeVector, G4PhysicsLinearVector, G4PhysicsLnVector, G4PhysicsLogVector, and G4PhysicsOrderedFreeVector.

const G4String& G4PhysicsVector::GetComment (  )  const [inline]

G4double G4PhysicsVector::GetLowEdgeEnergy ( size_t  binNumber  )  const [virtual]

Reimplemented in G4PhysicsOrderedFreeVector.

Definition at line 96 of file G4PhysicsVector.cc.

References binVector.

Referenced by G4EmCorrections::AddStoppingData(), G4DiffuseElastic::BuildAngleTable(), G4VXTRenergyLoss::BuildAngleTable(), G4PolarizedCompton::BuildAsymmetryTable(), G4eplusPolarizedAnnihilation::BuildAsymmetryTable(), G4hLowEnergyIonisation::BuildDataForFluorescence(), G4LossTableBuilder::BuildDEDXTable(), G4VXTRenergyLoss::BuildGlobalAngleTable(), G4VeLowEnergyLoss::BuildInverseRangeTable(), G4hLowEnergyLoss::BuildInverseRangeTable(), G4VEnergyLoss::BuildLabTimeVector(), G4VeLowEnergyLoss::BuildLabTimeVector(), G4hLowEnergyLoss::BuildLabTimeVector(), G4LowEnergyIonisation::BuildLossTable(), G4VRangeToEnergyConverter::BuildLossTable(), G4PAIPhotonModel::BuildPAIonisationTable(), G4PAIModel::BuildPAIonisationTable(), G4RadioactiveDecay::BuildPhysicsTable(), G4MuNuclearInteraction::BuildPhysicsTable(), G4ComptonScattering52::BuildPhysicsTable(), G4ePolarizedIonisation::BuildPhysicsTable(), G4PenelopeAnnihilation::BuildPhysicsTable(), G4VEnergyLoss::BuildProperTimeVector(), G4VeLowEnergyLoss::BuildProperTimeVector(), G4hLowEnergyLoss::BuildProperTimeVector(), G4VEnergyLoss::BuildRangeVector(), G4VeLowEnergyLoss::BuildRangeVector(), G4hLowEnergyLoss::BuildRangeVector(), G4VRangeToEnergyConverter::BuildRangeVector(), G4MuMscModel::BuildTables(), G4ForwardXrayTR::BuildXrayTRtables(), G4eeToHadronsModel::ComputeCMCrossSectionPerElectron(), G4eCoulombScatteringModel::ComputeCrossSectionPerAtom(), G4EnergyLossForExtrapolator::ComputeElectronDEDX(), G4EnergyLossForExtrapolator::ComputeMuonDEDX(), G4EnergyLossForExtrapolator::ComputeProtonDEDX(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4VEmProcess::FindLambdaMax(), G4PAIPhotonModel::GetAlongStepTransfer(), G4ForwardXrayTR::GetEnergyTR(), G4VXTRenergyLoss::GetMeanFreePath(), G4PAIPhotonModel::GetPostStepTransfer(), G4PAIModel::GetPostStepTransfer(), G4VXTRenergyLoss::GetXTRrandomEnergy(), G4BetheHeitlerModel::Initialise(), G4eeToHadronsModel::Initialise(), G4EmCorrections::InitialiseMaterial(), G4InitXscPAI::IntegralCherenkov(), G4InitXscPAI::IntegralPAIdEdx(), G4InitXscPAI::IntegralPAIxSection(), G4InitXscPAI::IntegralPlasmon(), G4VEnergyLoss::InvertRangeVector(), G4VeLowEnergyLoss::InvertRangeVector(), G4hLowEnergyLoss::InvertRangeVector(), G4MuonNucleusInteractionModel::makePhysicsVector(), G4ForwardXrayTR::PostStepDoIt(), G4XnpTotalLowE::Print(), G4XnpElasticLowE::Print(), G4XNNElasticLowE::Print(), G4PAIModel::SampleFluctuations(), G4DiffuseElastic::SampleTableThetaCMS(), G4VEnergyLossProcess::ScaledKinEnergyForLoss(), and G4VEnergyLossProcess::SetLambdaTable().

G4PhysicsVectorType G4PhysicsVector::GetType (  )  const [inline]

G4double G4PhysicsVector::GetValue ( G4double  theEnergy,
G4bool isOutRange 
) [inline]

Reimplemented in G4LPhysicsFreeVector.

Referenced by G4EmCorrections::AddStoppingData(), G4VEnergyLoss::BuildLabTimeVector(), G4VeLowEnergyLoss::BuildLabTimeVector(), G4hLowEnergyLoss::BuildLabTimeVector(), G4VEnergyLoss::BuildProperTimeVector(), G4VeLowEnergyLoss::BuildProperTimeVector(), G4hLowEnergyLoss::BuildProperTimeVector(), G4VEnergyLoss::BuildRangeCoeffATable(), G4VeLowEnergyLoss::BuildRangeCoeffATable(), G4hLowEnergyLoss::BuildRangeCoeffATable(), G4VEnergyLoss::BuildRangeCoeffBTable(), G4VeLowEnergyLoss::BuildRangeCoeffBTable(), G4hLowEnergyLoss::BuildRangeCoeffBTable(), G4VEnergyLoss::BuildRangeCoeffCTable(), G4VeLowEnergyLoss::BuildRangeCoeffCTable(), G4hLowEnergyLoss::BuildRangeCoeffCTable(), G4VEnergyLoss::BuildRangeVector(), G4VeLowEnergyLoss::BuildRangeVector(), G4hLowEnergyLoss::BuildRangeVector(), G4eeToHadronsModel::ComputeCMCrossSectionPerElectron(), G4eeToHadronsModel::ComputeCrossSectionPerElectron(), G4VRangeToEnergyConverter::ConvertCutToKineticEnergy(), G4XResonance::CrossSection(), G4XnpTotalLowE::CrossSection(), G4XnpElasticLowE::CrossSection(), G4XNNElasticLowE::CrossSection(), G4PartialWidthTable::Dump(), G4EmCorrections::EffectiveChargeCorrection(), G4VEmProcess::FindLambdaMax(), G4eeToHadronsModel::GenerateCMPhoton(), G4PolarizedCompton::GetMeanFreePath(), G4ChargeExchangeProcess::GetMicroscopicCrossSection(), G4NeutronHPJENDLHEData::getXSfromThisIsotope(), G4eeToHadronsModel::Initialise(), G4EmCorrections::InitialiseMaterial(), G4VEnergyLoss::LabTimeIntLog(), G4VeLowEnergyLoss::LabTimeIntLog(), G4hLowEnergyLoss::LabTimeIntLog(), G4PolarizedCompton::PostStepGetPhysicalInteractionLength(), G4XnpTotalLowE::Print(), G4XnpElasticLowE::Print(), G4XNNElasticLowE::Print(), G4VEnergyLoss::ProperTimeIntLog(), G4VeLowEnergyLoss::ProperTimeIntLog(), G4hLowEnergyLoss::ProperTimeIntLog(), G4VEnergyLoss::RangeIntLin(), G4VeLowEnergyLoss::RangeIntLin(), G4hLowEnergyLoss::RangeIntLin(), G4VEnergyLoss::RangeIntLog(), G4VeLowEnergyLoss::RangeIntLog(), G4hLowEnergyLoss::RangeIntLog(), G4VEnergyLossProcess::SampleRange(), G4VEnergyLossProcess::ScaledKinEnergyForLoss(), G4VEnergyLossProcess::SetCSDARangeTable(), G4VEnergyLossProcess::SetDEDXTable(), G4VEnergyLossProcess::SetLambdaTable(), G4XAnnihilationChannel::VariablePartialWidth(), and G4XAnnihilationChannel::VariableWidth().

size_t G4PhysicsVector::GetVectorLength (  )  const [inline]

Referenced by G4EmCorrections::AddStoppingData(), G4LossTableBuilder::BuildDEDXTable(), G4SPSEneDistribution::ConvertEPNToEnergy(), G4SPSEneDistribution::ExpInterpolation(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4VEmProcess::FindLambdaMax(), G4SPSEneDistribution::GenArbPointEnergies(), G4SPSEneDistribution::GenEpnHistEnergies(), G4SPSAngDistribution::GenerateUserDefPhi(), G4SPSAngDistribution::GenerateUserDefTheta(), G4SPSRandomGenerator::GenRandEnergy(), G4SPSRandomGenerator::GenRandPhi(), G4SPSRandomGenerator::GenRandPosPhi(), G4SPSRandomGenerator::GenRandPosTheta(), G4SPSRandomGenerator::GenRandTheta(), G4SPSRandomGenerator::GenRandX(), G4SPSRandomGenerator::GenRandY(), G4SPSRandomGenerator::GenRandZ(), G4SPSEneDistribution::GenUserHistEnergies(), G4eeToHadronsModel::Initialise(), G4EmCorrections::InitialiseMaterial(), G4SPSEneDistribution::LinearInterpolation(), G4SPSEneDistribution::LogInterpolation(), G4VEnergyLossProcess::SetLambdaTable(), and G4SPSEneDistribution::SplineInterpolation().

G4bool G4PhysicsVector::IsFilledVectorExist (  )  const [inline]

Referenced by G4Cerenkov::GetAverageNumberOfPhotons().

G4double G4PhysicsVector::LinearInterpolation ( G4double  theEnergy,
size_t  theLocBin 
) [inline, protected]

G4int G4PhysicsVector::operator!= ( const G4PhysicsVector right  )  const

Definition at line 91 of file G4PhysicsVector.cc.

G4double G4PhysicsVector::operator() ( const size_t  binNumber  )  const [inline]

G4PhysicsVector & G4PhysicsVector::operator= ( const G4PhysicsVector  ) 

Definition at line 68 of file G4PhysicsVector.cc.

References binVector, comment, dataVector, edgeMax, edgeMin, lastBin, lastEnergy, lastValue, numberOfBin, and type.

G4int G4PhysicsVector::operator== ( const G4PhysicsVector right  )  const

Definition at line 86 of file G4PhysicsVector.cc.

G4double G4PhysicsVector::operator[] ( const size_t  binNumber  )  const [inline]

void G4PhysicsVector::PutComment ( const G4String theComment  )  [inline]

void G4PhysicsVector::PutValue ( size_t  binNumber,
G4double  theValue 
) [inline]

Referenced by G4PolarizedCompton::BuildAsymmetryTable(), G4eplusPolarizedAnnihilation::BuildAsymmetryTable(), G4LossTableBuilder::BuildDEDXTable(), G4VXTRenergyLoss::BuildGlobalAngleTable(), G4VeLowEnergyLoss::BuildInverseRangeTable(), G4hLowEnergyLoss::BuildInverseRangeTable(), G4VEnergyLoss::BuildLabTimeVector(), G4VeLowEnergyLoss::BuildLabTimeVector(), G4hLowEnergyLoss::BuildLabTimeVector(), G4PAIPhotonModel::BuildLambdaVector(), G4PAIModel::BuildLambdaVector(), G4VRangeToEnergyConverter::BuildLossTable(), G4PAIPhotonModel::BuildPAIonisationTable(), G4PAIModel::BuildPAIonisationTable(), G4RadioactiveDecay::BuildPhysicsTable(), G4MuNuclearInteraction::BuildPhysicsTable(), G4ChargeExchangeProcess::BuildPhysicsTable(), G4ComptonScattering52::BuildPhysicsTable(), G4ePolarizedIonisation::BuildPhysicsTable(), G4PenelopeAnnihilation::BuildPhysicsTable(), G4VEnergyLoss::BuildProperTimeVector(), G4VeLowEnergyLoss::BuildProperTimeVector(), G4hLowEnergyLoss::BuildProperTimeVector(), G4VEnergyLoss::BuildRangeCoeffATable(), G4VeLowEnergyLoss::BuildRangeCoeffATable(), G4hLowEnergyLoss::BuildRangeCoeffATable(), G4VEnergyLoss::BuildRangeCoeffBTable(), G4VeLowEnergyLoss::BuildRangeCoeffBTable(), G4hLowEnergyLoss::BuildRangeCoeffBTable(), G4VEnergyLoss::BuildRangeCoeffCTable(), G4VeLowEnergyLoss::BuildRangeCoeffCTable(), G4hLowEnergyLoss::BuildRangeCoeffCTable(), G4LossTableBuilder::BuildRangeTable(), G4VEnergyLoss::BuildRangeVector(), G4VeLowEnergyLoss::BuildRangeVector(), G4hLowEnergyLoss::BuildRangeVector(), G4VRangeToEnergyConverter::BuildRangeVector(), G4VXTRenergyLoss::BuildTable(), G4MuMscModel::BuildTables(), G4ForwardXrayTR::BuildXrayTRtables(), G4eeToHadronsModel::ComputeCMCrossSectionPerElectron(), G4eCoulombScatteringModel::ComputeCrossSectionPerAtom(), G4EnergyLossForExtrapolator::ComputeElectronDEDX(), G4EnergyLossForExtrapolator::ComputeMuonDEDX(), G4EnergyLossForExtrapolator::ComputeProtonDEDX(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4XNNElasticLowE::G4XNNElasticLowE(), G4XnpElasticLowE::G4XnpElasticLowE(), G4XnpTotalLowE::G4XnpTotalLowE(), G4BetheHeitlerModel::Initialise(), G4eeToHadronsModel::Initialise(), G4EmCorrections::InitialiseMaterial(), G4InitXscPAI::IntegralCherenkov(), G4InitXscPAI::IntegralPAIdEdx(), G4InitXscPAI::IntegralPAIxSection(), G4InitXscPAI::IntegralPlasmon(), G4VEnergyLoss::InvertRangeVector(), G4VeLowEnergyLoss::InvertRangeVector(), G4hLowEnergyLoss::InvertRangeVector(), and G4MuonNucleusInteractionModel::makePhysicsVector().

G4bool G4PhysicsVector::Retrieve ( std::ifstream &  fIn,
G4bool  ascii = false 
) [virtual]

Reimplemented in G4PhysicsLinearVector, G4PhysicsLnVector, and G4PhysicsLogVector.

Definition at line 132 of file G4PhysicsVector.cc.

References binVector, comment, dataVector, edgeMax, edgeMin, lastBin, lastEnergy, lastValue, and numberOfBin.

Referenced by G4PhysicsLogVector::Retrieve(), G4PhysicsLnVector::Retrieve(), G4PhysicsLinearVector::Retrieve(), and G4PhysicsTable::RetrievePhysicsTable().

G4bool G4PhysicsVector::Store ( std::ofstream &  fOut,
G4bool  ascii = false 
) [virtual]

Definition at line 101 of file G4PhysicsVector.cc.

References binVector, dataVector, edgeMax, edgeMin, and numberOfBin.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const G4PhysicsVector pv 
) [friend]

Definition at line 193 of file G4PhysicsVector.cc.


Member Data Documentation

G4PVDataVector G4PhysicsVector::binVector [protected]

Definition at line 159 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::DumpValues(), G4PhysicsFreeVector::FindBinLocation(), G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), GetLowEdgeEnergy(), G4PhysicsOrderedFreeVector::GetLowEdgeEnergy(), G4PhysicsOrderedFreeVector::InsertValues(), G4PhysicsOrderedFreeVector::LinearInterpolationOfEnergy(), operator<<(), operator=(), G4PhysicsFreeVector::PutValue(), Retrieve(), G4PhysicsLogVector::Retrieve(), G4PhysicsLnVector::Retrieve(), G4PhysicsLinearVector::Retrieve(), Store(), and ~G4PhysicsVector().

G4String G4PhysicsVector::comment [private]

Definition at line 163 of file G4PhysicsVector.hh.

Referenced by operator=(), and Retrieve().

G4PVDataVector G4PhysicsVector::dataVector [protected]

Definition at line 158 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::DumpValues(), G4PhysicsOrderedFreeVector::FindValueBinLocation(), G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), G4PhysicsOrderedFreeVector::InsertValues(), G4PhysicsOrderedFreeVector::LinearInterpolationOfEnergy(), operator<<(), operator=(), G4PhysicsFreeVector::PutValue(), Retrieve(), Store(), and ~G4PhysicsVector().

G4double G4PhysicsVector::edgeMax [protected]

Definition at line 151 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), G4PhysicsOrderedFreeVector::InsertValues(), operator<<(), operator=(), G4PhysicsFreeVector::PutValue(), Retrieve(), and Store().

G4double G4PhysicsVector::edgeMin [protected]

Definition at line 150 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), G4PhysicsOrderedFreeVector::InsertValues(), operator<<(), operator=(), G4PhysicsFreeVector::PutValue(), Retrieve(), and Store().

size_t G4PhysicsVector::lastBin [protected]

Definition at line 156 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), operator=(), and Retrieve().

G4double G4PhysicsVector::lastEnergy [protected]

Definition at line 154 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), operator=(), and Retrieve().

G4double G4PhysicsVector::lastValue [protected]

Definition at line 155 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), operator=(), and Retrieve().

size_t G4PhysicsVector::numberOfBin [protected]

Definition at line 152 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::DumpValues(), G4PhysicsFreeVector::FindBinLocation(), G4PhysicsOrderedFreeVector::FindValueBinLocation(), G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), G4PhysicsOrderedFreeVector::InsertValues(), operator<<(), operator=(), G4PhysicsFreeVector::PutValue(), Retrieve(), and Store().

G4PhysicsVectorType G4PhysicsVector::type [protected]

Definition at line 148 of file G4PhysicsVector.hh.

Referenced by G4LPhysicsFreeVector::G4LPhysicsFreeVector(), G4PhysicsFreeVector::G4PhysicsFreeVector(), G4PhysicsLinearVector::G4PhysicsLinearVector(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4PhysicsOrderedFreeVector::G4PhysicsOrderedFreeVector(), operator=(), and ~G4PhysicsVector().


The documentation for this class was generated from the following files:
Generated on Sat Apr 12 06:36:42 2008 for Geant4 by  doxygen 1.4.7