Geant4  10.00.p01
G4AdjointCSMatrix Class Reference

#include <G4AdjointCSMatrix.hh>

Public Member Functions

 G4AdjointCSMatrix (G4bool aBool)
 
 ~G4AdjointCSMatrix ()
 
void Clear ()
 
void AddData (G4double aPrimEnergy, G4double aCS, std::vector< double > *aLogSecondEnergyVector, std::vector< double > *aLogProbVector, size_t n_pro_decade=0)
 
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 > * GetLogPrimEnergyVector ()
 
std::vector< double > * GetLogCrossSectionvector ()
 
G4double GetDlog ()
 
G4bool IsScatProjToProjCase ()
 
void Write (G4String file_name)
 
void Read (G4String file_name)
 

Private Attributes

std::vector< double > theLogPrimEnergyVector
 
std::vector< double > theLogCrossSectionVector
 
std::vector< std::vector
< double > * > 
theLogSecondEnergyMatrix
 
std::vector< std::vector
< double > * > 
theLogProbMatrix
 
std::vector< std::vector
< size_t > * > 
theLogProbMatrixIndex
 
std::vector< double > log0Vector
 
unsigned int nb_of_PrimEnergy
 
G4bool is_scat_proj_to_proj_case
 
G4double dlog
 

Detailed Description

Definition at line 60 of file G4AdjointCSMatrix.hh.

Constructor & Destructor Documentation

G4AdjointCSMatrix::~G4AdjointCSMatrix ( )

Member Function Documentation

void G4AdjointCSMatrix::AddData ( G4double  aPrimEnergy,
G4double  aCS,
std::vector< double > *  aLogSecondEnergyVector,
std::vector< double > *  aLogProbVector,
size_t  n_pro_decade = 0 
)

Definition at line 71 of file G4AdjointCSMatrix.cc.

References dlog, G4AdjointInterpolator::FindPosition(), G4AdjointInterpolator::GetInstance(), log0Vector, G4INCL::Math::min(), nb_of_PrimEnergy, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, theLogProbMatrixIndex, and theLogSecondEnergyMatrix.

Referenced by G4AdjointCSManager::BuildCrossSectionsMatricesForAGivenModelAndElement(), and G4AdjointCSManager::BuildCrossSectionsMatricesForAGivenModelAndMaterial().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 108 of file G4AdjointCSMatrix.cc.

References log0Vector, nb_of_PrimEnergy, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, theLogProbMatrixIndex, and theLogSecondEnergyMatrix.

Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().

+ Here is the caller graph for this function:

G4double G4AdjointCSMatrix::GetDlog ( )
inline

Definition at line 82 of file G4AdjointCSMatrix.hh.

References dlog.

std::vector< double>* G4AdjointCSMatrix::GetLogCrossSectionvector ( )
inline

Definition at line 81 of file G4AdjointCSMatrix.hh.

References theLogCrossSectionVector.

std::vector< double>* G4AdjointCSMatrix::GetLogPrimEnergyVector ( )
inline

Definition at line 80 of file G4AdjointCSMatrix.hh.

References theLogPrimEnergyVector.

Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().

+ Here is the caller graph for this function:

G4bool G4AdjointCSMatrix::IsScatProjToProjCase ( )
inline

Definition at line 83 of file G4AdjointCSMatrix.hh.

References is_scat_proj_to_proj_case.

Referenced by G4AdjointCSManager::ComputeAdjointCS(), and G4VEmAdjointModel::SampleAdjSecEnergyFromCSMatrix().

+ Here is the caller graph for this function:

void G4AdjointCSMatrix::Read ( G4String  file_name)
void G4AdjointCSMatrix::Write ( G4String  file_name)

Member Data Documentation

G4double G4AdjointCSMatrix::dlog
private

Definition at line 101 of file G4AdjointCSMatrix.hh.

Referenced by AddData(), G4AdjointCSMatrix(), and GetDlog().

G4bool G4AdjointCSMatrix::is_scat_proj_to_proj_case
private

Definition at line 100 of file G4AdjointCSMatrix.hh.

Referenced by G4AdjointCSMatrix(), and IsScatProjToProjCase().

std::vector< double> G4AdjointCSMatrix::log0Vector
private

Definition at line 97 of file G4AdjointCSMatrix.hh.

Referenced by AddData(), Clear(), G4AdjointCSMatrix(), and GetData().

unsigned int G4AdjointCSMatrix::nb_of_PrimEnergy
private

Definition at line 99 of file G4AdjointCSMatrix.hh.

Referenced by AddData(), Clear(), G4AdjointCSMatrix(), and GetData().

std::vector< double> G4AdjointCSMatrix::theLogCrossSectionVector
private
std::vector< double> G4AdjointCSMatrix::theLogPrimEnergyVector
private
std::vector< std::vector< double>* > G4AdjointCSMatrix::theLogProbMatrix
private
std::vector< std::vector< size_t >* > G4AdjointCSMatrix::theLogProbMatrixIndex
private

Definition at line 96 of file G4AdjointCSMatrix.hh.

Referenced by AddData(), Clear(), G4AdjointCSMatrix(), and GetData().

std::vector< std::vector< double>* > G4AdjointCSMatrix::theLogSecondEnergyMatrix
private

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