Geant4-11
|
#include <G4AdjointCSMatrix.hh>
Public Member Functions | |
void | AddData (G4double aPrimEnergy, G4double aCS, std::vector< double > *aLogSecondEnergyVector, std::vector< double > *aLogProbVector, size_t n_pro_decade=0) |
void | Clear () |
G4AdjointCSMatrix (G4bool aBool) | |
G4bool | GetData (unsigned int i, G4double &aPrimEnergy, G4double &aCS, G4double &log0, std::vector< double > *&aLogSecondEnergyVector, std::vector< double > *&aLogProbVector, std::vector< size_t > *&aLogProbVectorIndex) |
std::vector< double > * | GetLogCrossSectionvector () |
std::vector< double > * | GetLogPrimEnergyVector () |
G4bool | IsScatProjToProj () |
void | Read (G4String file_name) |
void | Write (G4String file_name) |
~G4AdjointCSMatrix () | |
Private Attributes | |
std::vector< double > | fLog0Vector |
std::vector< double > | fLogCrossSectionVector |
std::vector< double > | fLogPrimEnergyVector |
std::vector< std::vector< double > * > | fLogProbMatrix |
std::vector< std::vector< size_t > * > | fLogProbMatrixIndex |
std::vector< std::vector< double > * > | fLogSecondEnergyMatrix |
size_t | fNbPrimEnergy = 0 |
G4bool | fScatProjToProj |
Definition at line 49 of file G4AdjointCSMatrix.hh.
G4AdjointCSMatrix::G4AdjointCSMatrix | ( | G4bool | aBool | ) |
Definition at line 36 of file G4AdjointCSMatrix.cc.
References fScatProjToProj.
G4AdjointCSMatrix::~G4AdjointCSMatrix | ( | ) |
Definition at line 39 of file G4AdjointCSMatrix.cc.
References fLogCrossSectionVector, fLogPrimEnergyVector, fLogProbMatrix, fLogProbMatrixIndex, and fLogSecondEnergyMatrix.
void G4AdjointCSMatrix::AddData | ( | G4double | aPrimEnergy, |
G4double | aCS, | ||
std::vector< double > * | aLogSecondEnergyVector, | ||
std::vector< double > * | aLogProbVector, | ||
size_t | n_pro_decade = 0 |
||
) |
Definition at line 81 of file G4AdjointCSMatrix.cc.
References G4AdjointInterpolator::FindPosition(), fLog0Vector, fLogCrossSectionVector, fLogPrimEnergyVector, fLogProbMatrix, fLogProbMatrixIndex, fLogSecondEnergyMatrix, fNbPrimEnergy, G4AdjointInterpolator::GetInstance(), and G4INCL::Math::min().
Referenced by G4AdjointCSManager::BuildCrossSectionsModelAndElement(), and G4AdjointCSManager::BuildCrossSectionsModelAndMaterial().
void G4AdjointCSMatrix::Clear | ( | ) |
Definition at line 69 of file G4AdjointCSMatrix.cc.
References fLog0Vector, fLogCrossSectionVector, fLogPrimEnergyVector, fLogProbMatrix, fLogProbMatrixIndex, fLogSecondEnergyMatrix, and fNbPrimEnergy.
G4bool G4AdjointCSMatrix::GetData | ( | unsigned int | i, |
G4double & | aPrimEnergy, | ||
G4double & | aCS, | ||
G4double & | log0, | ||
std::vector< double > *& | aLogSecondEnergyVector, | ||
std::vector< double > *& | aLogProbVector, | ||
std::vector< size_t > *& | aLogProbVectorIndex | ||
) |
Definition at line 122 of file G4AdjointCSMatrix.cc.
References fLog0Vector, fLogCrossSectionVector, fLogPrimEnergyVector, fLogProbMatrix, fLogProbMatrixIndex, fLogSecondEnergyMatrix, and fNbPrimEnergy.
Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
|
inline |
Definition at line 71 of file G4AdjointCSMatrix.hh.
References fLogCrossSectionVector.
|
inline |
Definition at line 66 of file G4AdjointCSMatrix.hh.
References fLogPrimEnergyVector.
Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
|
inline |
Definition at line 76 of file G4AdjointCSMatrix.hh.
References fScatProjToProj.
Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().
void G4AdjointCSMatrix::Read | ( | G4String | file_name | ) |
Definition at line 186 of file G4AdjointCSMatrix.cc.
References fLogCrossSectionVector, fLogPrimEnergyVector, fLogProbMatrix, and fLogSecondEnergyMatrix.
void G4AdjointCSMatrix::Write | ( | G4String | file_name | ) |
Definition at line 140 of file G4AdjointCSMatrix.cc.
References fLogCrossSectionVector, fLogPrimEnergyVector, fLogProbMatrix, fLogSecondEnergyMatrix, G4endl, and MeV.
|
private |
Definition at line 94 of file G4AdjointCSMatrix.hh.
|
private |
Definition at line 85 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), GetData(), GetLogCrossSectionvector(), Read(), Write(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 83 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), GetData(), GetLogPrimEnergyVector(), Read(), Write(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 88 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), GetData(), Read(), Write(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 93 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), GetData(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 87 of file G4AdjointCSMatrix.hh.
Referenced by AddData(), Clear(), GetData(), Read(), Write(), and ~G4AdjointCSMatrix().
|
private |
Definition at line 96 of file G4AdjointCSMatrix.hh.
|
private |
Definition at line 98 of file G4AdjointCSMatrix.hh.
Referenced by G4AdjointCSMatrix(), and IsScatProjToProj().