ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4AdjointCSMatrix Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/adjoint/include/G4AdjointCSMatrix.hh>

+ Collaboration diagram for G4AdjointCSMatrix:

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 59 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 59 of file G4AdjointCSMatrix.hh

Constructor & Destructor Documentation

G4AdjointCSMatrix::G4AdjointCSMatrix ( G4bool  aBool)
G4AdjointCSMatrix::~G4AdjointCSMatrix ( )

Definition at line 50 of file G4AdjointCSMatrix.cc.

View newest version in sPHENIX GitHub at line 50 of file G4AdjointCSMatrix.cc

References theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, and theLogSecondEnergyMatrix.

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

View newest version in sPHENIX GitHub at line 70 of file G4AdjointCSMatrix.cc

References dlog, G4AdjointInterpolator::FindPosition(), G4AdjointInterpolator::GetInstance(), int(), log0Vector, 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:

void G4AdjointCSMatrix::Clear ( )
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.

View newest version in sPHENIX GitHub 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 81 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 81 of file G4AdjointCSMatrix.hh

References dlog.

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

Definition at line 80 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 80 of file G4AdjointCSMatrix.hh

References theLogCrossSectionVector.

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

Definition at line 79 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 79 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 82 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 82 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)

Definition at line 161 of file G4AdjointCSMatrix.cc.

View newest version in sPHENIX GitHub at line 161 of file G4AdjointCSMatrix.cc

References E, in, n1, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, and theLogSecondEnergyMatrix.

void G4AdjointCSMatrix::Write ( G4String  file_name)

Definition at line 123 of file G4AdjointCSMatrix.cc.

View newest version in sPHENIX GitHub at line 123 of file G4AdjointCSMatrix.cc

References G4endl, MeV, theLogCrossSectionVector, theLogPrimEnergyVector, theLogProbMatrix, and theLogSecondEnergyMatrix.

Member Data Documentation

G4double G4AdjointCSMatrix::dlog
private

Definition at line 100 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 100 of file G4AdjointCSMatrix.hh

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

G4bool G4AdjointCSMatrix::is_scat_proj_to_proj_case
private

Definition at line 99 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 99 of file G4AdjointCSMatrix.hh

Referenced by G4AdjointCSMatrix(), and IsScatProjToProjCase().

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

Definition at line 96 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 96 of file G4AdjointCSMatrix.hh

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

unsigned int G4AdjointCSMatrix::nb_of_PrimEnergy
private

Definition at line 98 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 98 of file G4AdjointCSMatrix.hh

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

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

Definition at line 91 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 91 of file G4AdjointCSMatrix.hh

Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), GetLogCrossSectionvector(), Read(), Write(), and ~G4AdjointCSMatrix().

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

Definition at line 90 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 90 of file G4AdjointCSMatrix.hh

Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), GetLogPrimEnergyVector(), Read(), Write(), and ~G4AdjointCSMatrix().

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

Definition at line 93 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 93 of file G4AdjointCSMatrix.hh

Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), Read(), Write(), and ~G4AdjointCSMatrix().

std::vector< std::vector< size_t >* > G4AdjointCSMatrix::theLogProbMatrixIndex
private

Definition at line 95 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 95 of file G4AdjointCSMatrix.hh

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

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

Definition at line 92 of file G4AdjointCSMatrix.hh.

View newest version in sPHENIX GitHub at line 92 of file G4AdjointCSMatrix.hh

Referenced by AddData(), Clear(), G4AdjointCSMatrix(), GetData(), Read(), Write(), and ~G4AdjointCSMatrix().


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