Geant4  10.01.p02
G4GIDI_target Class Reference

#include <G4GIDI_target.hh>

+ Collaboration diagram for G4GIDI_target:

Public Member Functions

void init (const char *fileName)
 
 G4GIDI_target (const char *fileName)
 
 G4GIDI_target (std::string &fileName)
 
 ~G4GIDI_target ()
 
std::string * getName (void)
 
std::string * getFilename (void)
 
int getZ (void)
 
int getA (void)
 
int getM (void)
 
double getMass (void)
 
int getTemperatures (double *temperatures)
 
int readTemperature (int index)
 
std::string getEqualProbableBinSampleMethod (void)
 
int setEqualProbableBinSampleMethod (std::string method)
 
int getNumberOfChannels (void)
 
int getNumberOfProductionChannels (void)
 
std::vector< channelID > * getChannelIDs (void)
 
std::vector< channelID > * getProductionChannelIDs (void)
 
std::vector< channelID > * getChannelIDs2 (GIDI::tpia_channel **channels, int n)
 
std::vector< double > * getEnergyGridAtTIndex (int index)
 
double getTotalCrossSectionAtE (double e_in, double temperature)
 
double getElasticCrossSectionAtE (double e_in, double temperature)
 
double getCaptureCrossSectionAtE (double e_in, double temperature)
 
double getFissionCrossSectionAtE (double e_in, double temperature)
 
double getOthersCrossSectionAtE (double e_in, double temperature)
 
double sumChannelCrossSectionAtE (int nIndices, int *indices, double e_in, double temperature)
 
int sampleChannelCrossSectionAtE (int nIndices, int *indices, double e_in, double temperature, double(*rng)(void *), void *rngState)
 
double getElasticFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState)
 
std::vector< G4GIDI_Product > * getCaptureFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState)
 
std::vector< G4GIDI_Product > * getFissionFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState)
 
std::vector< G4GIDI_Product > * getOthersFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState)
 
std::vector< G4GIDI_Product > * getFinalState (int nIndices, int *indices, double e_in, double temperature, double(*rng)(void *), void *rngState)
 

Public Attributes

std::string equalProbableBinSampleMethod
 
int nElasticIndices
 
int nCaptureIndices
 
int nFissionIndices
 
int nOthersIndices
 
int * elasticIndices
 
int * captureIndices
 
int * fissionIndices
 
int * othersIndices
 
GIDI::statusMessageReporting smr
 
std::string name
 
std::string sourceFilename
 
double mass
 
GIDI::tpia_target * target
 

Detailed Description

Definition at line 88 of file G4GIDI_target.hh.

Constructor & Destructor Documentation

G4GIDI_target::G4GIDI_target ( const char *  fileName)

Definition at line 75 of file G4GIDI_target.cc.

G4GIDI_target::G4GIDI_target ( std::string &  fileName)

Definition at line 82 of file G4GIDI_target.cc.

G4GIDI_target::~G4GIDI_target ( )

Definition at line 150 of file G4GIDI_target.cc.

References smr_release(), tpia_target_free(), and xData_free().

+ Here is the call graph for this function:

Member Function Documentation

int G4GIDI_target::getA ( void  )

Definition at line 174 of file G4GIDI_target.cc.

double G4GIDI_target::getCaptureCrossSectionAtE ( double  e_in,
double  temperature 
)

Definition at line 300 of file G4GIDI_target.cc.

Referenced by G4LENDCaptureCrossSection::getLENDCrossSection().

+ Here is the caller graph for this function:

vector< G4GIDI_Product > * G4GIDI_target::getCaptureFinalState ( double  e_in,
double  temperature,
double(*)(void *)  rng,
void *  rngState 
)

Definition at line 369 of file G4GIDI_target.cc.

Referenced by G4LENDCapture::ApplyYourself().

+ Here is the caller graph for this function:

vector< channelID > * G4GIDI_target::getChannelIDs ( void  )

Definition at line 244 of file G4GIDI_target.cc.

References tpia_target_numberOfChannels().

+ Here is the call graph for this function:

vector< channelID > * G4GIDI_target::getChannelIDs2 ( GIDI::tpia_channel **  channels,
int  n 
)

Definition at line 258 of file G4GIDI_target.cc.

References n.

double G4GIDI_target::getElasticCrossSectionAtE ( double  e_in,
double  temperature 
)

Definition at line 293 of file G4GIDI_target.cc.

Referenced by G4LENDElasticCrossSection::getLENDCrossSection().

+ Here is the caller graph for this function:

double G4GIDI_target::getElasticFinalState ( double  e_in,
double  temperature,
double(*)(void *)  rng,
void *  rngState 
)

Definition at line 349 of file G4GIDI_target.cc.

References tpia_angular_SampleMu(), tpia_decayChannel_getFirstProduct(), tpia_frame_setColumn(), and tpia_target_heated_getChannelAtIndex_smr().

Referenced by G4LENDModel::ApplyYourself(), and G4LENDElastic::ApplyYourself().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

vector< double > * G4GIDI_target::getEnergyGridAtTIndex ( int  index)

Definition at line 270 of file G4GIDI_target.cc.

References n, and tpia_target_getEnergyGridAtTIndex().

+ Here is the call graph for this function:

string G4GIDI_target::getEqualProbableBinSampleMethod ( void  )

Definition at line 209 of file G4GIDI_target.cc.

string * G4GIDI_target::getFilename ( void  )

Definition at line 163 of file G4GIDI_target.cc.

vector< G4GIDI_Product > * G4GIDI_target::getFinalState ( int  nIndices,
int *  indices,
double  e_in,
double  temperature,
double(*)(void *)  rng,
void *  rngState 
)

Definition at line 390 of file G4GIDI_target.cc.

References n, nProductsMax, tpia_frame_setColumn(), and tpia_target_heated_sampleIndexChannelProductsAtE().

+ Here is the call graph for this function:

double G4GIDI_target::getFissionCrossSectionAtE ( double  e_in,
double  temperature 
)

Definition at line 307 of file G4GIDI_target.cc.

Referenced by G4LENDFissionCrossSection::getLENDCrossSection().

+ Here is the caller graph for this function:

vector< G4GIDI_Product > * G4GIDI_target::getFissionFinalState ( double  e_in,
double  temperature,
double(*)(void *)  rng,
void *  rngState 
)

Definition at line 376 of file G4GIDI_target.cc.

Referenced by G4LENDFission::ApplyYourself().

+ Here is the caller graph for this function:

int G4GIDI_target::getM ( void  )

Definition at line 181 of file G4GIDI_target.cc.

double G4GIDI_target::getMass ( void  )

Definition at line 188 of file G4GIDI_target.cc.

References ZAMass::mass.

string * G4GIDI_target::getName ( void  )

Definition at line 159 of file G4GIDI_target.cc.

References name.

int G4GIDI_target::getNumberOfChannels ( void  )

Definition at line 230 of file G4GIDI_target.cc.

References tpia_target_numberOfChannels().

+ Here is the call graph for this function:

int G4GIDI_target::getNumberOfProductionChannels ( void  )

Definition at line 237 of file G4GIDI_target.cc.

References tpia_target_numberOfProductionChannels().

+ Here is the call graph for this function:

double G4GIDI_target::getOthersCrossSectionAtE ( double  e_in,
double  temperature 
)

Definition at line 314 of file G4GIDI_target.cc.

Referenced by G4LENDInelasticCrossSection::getLENDCrossSection().

+ Here is the caller graph for this function:

vector< G4GIDI_Product > * G4GIDI_target::getOthersFinalState ( double  e_in,
double  temperature,
double(*)(void *)  rng,
void *  rngState 
)

Definition at line 383 of file G4GIDI_target.cc.

Referenced by G4LENDInelastic::ApplyYourself().

+ Here is the caller graph for this function:

vector< channelID > * G4GIDI_target::getProductionChannelIDs ( void  )

Definition at line 251 of file G4GIDI_target.cc.

References tpia_target_numberOfProductionChannels().

+ Here is the call graph for this function:

int G4GIDI_target::getTemperatures ( double *  temperatures)

Definition at line 195 of file G4GIDI_target.cc.

References tpia_target_getTemperatures().

+ Here is the call graph for this function:

double G4GIDI_target::getTotalCrossSectionAtE ( double  e_in,
double  temperature 
)

Definition at line 286 of file G4GIDI_target.cc.

References tpia_target_getTotalCrossSectionAtTAndE().

+ Here is the call graph for this function:

int G4GIDI_target::getZ ( void  )

Definition at line 167 of file G4GIDI_target.cc.

void G4GIDI_target::init ( const char *  fileName)

Definition at line 89 of file G4GIDI_target.cc.

References G4GIDI_targetMass(), ZAMass::mass, n, name, smr_initialize(), smr_isOk(), smr_print(), tpia_target_createRead(), tpia_target_heated_getChannelAtIndex(), and tpia_target_numberOfChannels().

+ Here is the call graph for this function:

int G4GIDI_target::readTemperature ( int  index)

Definition at line 202 of file G4GIDI_target.cc.

References tpia_target_readHeatedTarget().

+ Here is the call graph for this function:

int G4GIDI_target::sampleChannelCrossSectionAtE ( int  nIndices,
int *  indices,
double  e_in,
double  temperature,
double(*)(void *)  rng,
void *  rngState 
)

Definition at line 333 of file G4GIDI_target.cc.

References tpia_misc_drng(), and tpia_target_getIndexChannelCrossSectionAtE().

+ Here is the call graph for this function:

int G4GIDI_target::setEqualProbableBinSampleMethod ( std::string  method)

Definition at line 216 of file G4GIDI_target.cc.

double G4GIDI_target::sumChannelCrossSectionAtE ( int  nIndices,
int *  indices,
double  e_in,
double  temperature 
)

Definition at line 321 of file G4GIDI_target.cc.

References tpia_target_getIndexChannelCrossSectionAtE().

+ Here is the call graph for this function:

Member Data Documentation

int * G4GIDI_target::captureIndices

Definition at line 94 of file G4GIDI_target.hh.

int* G4GIDI_target::elasticIndices

Definition at line 94 of file G4GIDI_target.hh.

std::string G4GIDI_target::equalProbableBinSampleMethod

Definition at line 92 of file G4GIDI_target.hh.

int * G4GIDI_target::fissionIndices

Definition at line 94 of file G4GIDI_target.hh.

double G4GIDI_target::mass

Definition at line 100 of file G4GIDI_target.hh.

std::string G4GIDI_target::name

Definition at line 98 of file G4GIDI_target.hh.

int G4GIDI_target::nCaptureIndices

Definition at line 93 of file G4GIDI_target.hh.

int G4GIDI_target::nElasticIndices

Definition at line 93 of file G4GIDI_target.hh.

int G4GIDI_target::nFissionIndices

Definition at line 93 of file G4GIDI_target.hh.

int G4GIDI_target::nOthersIndices

Definition at line 93 of file G4GIDI_target.hh.

int * G4GIDI_target::othersIndices

Definition at line 94 of file G4GIDI_target.hh.

GIDI::statusMessageReporting G4GIDI_target::smr

Definition at line 97 of file G4GIDI_target.hh.

std::string G4GIDI_target::sourceFilename

Definition at line 99 of file G4GIDI_target.hh.

GIDI::tpia_target* G4GIDI_target::target

Definition at line 101 of file G4GIDI_target.hh.


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