Geant4
10.00.p01
|
#include <string.h>
#include <tpia_target.h>
#include <tpia_misc.h>
Go to the source code of this file.
Functions | |
static int | _tpia_target_releaseAndReturnOne (statusMessageReporting *smr, tpia_target *target) |
tpia_target * | tpia_target_create (statusMessageReporting *smr) |
int | tpia_target_initialize (statusMessageReporting *smr, tpia_target *target) |
tpia_target * | tpia_target_createRead (statusMessageReporting *smr, const char *fileName) |
int | tpia_target_readFromMap (statusMessageReporting *smr, tpia_target *target, tpia_map *map, const char *evaluation, const char *projectileName, const char *targetName) |
tpia_target * | tpia_target_createReadFromMap (statusMessageReporting *smr, tpia_map *map, const char *evaluation, const char *projectileName, const char *targetName) |
tpia_target * | tpia_target_free (statusMessageReporting *smr, tpia_target *target) |
int | tpia_target_release (statusMessageReporting *smr, tpia_target *target) |
int | tpia_target_read (statusMessageReporting *smr, tpia_target *target, const char *fileName) |
char * | tpia_target_getAttributesValue (statusMessageReporting *, tpia_target *target, char const *name) |
int | tpia_target_getTemperatures (statusMessageReporting *, tpia_target *target, double *temperatures) |
int | tpia_target_readHeatedTarget (statusMessageReporting *smr, tpia_target *target, int index, int checkElememtsForAccess) |
tpia_target_heated * | tpia_target_getHeatedTargetAtIndex_ReadIfNeeded (statusMessageReporting *smr, tpia_target *target, int index) |
tpia_target_heated * | tpia_target_getHeatedTargetAtTIndex (statusMessageReporting *smr, tpia_target *target, int index) |
int | tpia_target_numberOfChannels (statusMessageReporting *smr, tpia_target *target) |
int | tpia_target_numberOfProductionChannels (statusMessageReporting *smr, tpia_target *target) |
xData_Int | tpia_target_getEnergyGridAtTIndex (statusMessageReporting *smr, tpia_target *target, int index, double **energyGrid) |
tpia_1dData * | tpia_target_getTotalCrossSectionAtTIndex (statusMessageReporting *smr, tpia_target *target, int index, int crossSectionType) |
double | tpia_target_getTotalCrossSectionAtTAndE (statusMessageReporting *smr, tpia_target *target, double T, xData_Int iEg, double e_in, int crossSectionType) |
double | tpia_target_getIndexChannelCrossSectionAtE (statusMessageReporting *smr, tpia_target *target, int index, double T, xData_Int iEg, double e_in, int crossSectionType) |
int | tpia_target_sampleIndexChannelProductsAtE (statusMessageReporting *smr, tpia_target *target, int index, double, tpia_decaySamplingInfo *decaySamplingInfo, int nProductData, tpia_productOutgoingData *productData) |
|
static |
Definition at line 413 of file tpia_target.cc.
References tpia_target_release().
Referenced by tpia_target_read().
tpia_target* tpia_target_create | ( | statusMessageReporting * | smr | ) |
Definition at line 49 of file tpia_target.cc.
References tpia_target_free(), and tpia_target_initialize().
Referenced by tpia_target_createRead().
tpia_target* tpia_target_createRead | ( | statusMessageReporting * | smr, |
const char * | fileName | ||
) |
Definition at line 70 of file tpia_target.cc.
References tpia_target_create(), tpia_target_read(), and xData_free().
Referenced by G4GIDI_target::init(), and tpia_target_createReadFromMap().
tpia_target* tpia_target_createReadFromMap | ( | statusMessageReporting * | smr, |
tpia_map * | map, | ||
const char * | evaluation, | ||
const char * | projectileName, | ||
const char * | targetName | ||
) |
Definition at line 93 of file tpia_target.cc.
References tpia_map_findTarget(), tpia_target_createRead(), and xData_free().
Referenced by tpia_depot_addTargetFromMap().
tpia_target* tpia_target_free | ( | statusMessageReporting * | smr, |
tpia_target * | target | ||
) |
Definition at line 108 of file tpia_target.cc.
References tpia_target_release(), and xData_free().
Referenced by tpia_depot_release(), tpia_target_create(), and G4GIDI_target::~G4GIDI_target().
char* tpia_target_getAttributesValue | ( | statusMessageReporting * | , |
tpia_target * | target, | ||
char const * | name | ||
) |
Definition at line 248 of file tpia_target.cc.
References xData_getAttributesValue().
xData_Int tpia_target_getEnergyGridAtTIndex | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
int | index, | ||
double ** | energyGrid | ||
) |
Definition at line 331 of file tpia_target.cc.
References smr_isOk(), tpia_target_getHeatedTargetAtTIndex(), and tpia_target_heated_getEnergyGrid().
Referenced by G4GIDI_target::getEnergyGridAtTIndex().
tpia_target_heated* tpia_target_getHeatedTargetAtIndex_ReadIfNeeded | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
int | index | ||
) |
Definition at line 290 of file tpia_target.cc.
References smr_setMessageError(), and tpia_target_readHeatedTarget().
tpia_target_heated* tpia_target_getHeatedTargetAtTIndex | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
int | index | ||
) |
Definition at line 302 of file tpia_target.cc.
References smr_setMessageError().
Referenced by tpia_target_getEnergyGridAtTIndex(), and tpia_target_getTotalCrossSectionAtTIndex().
double tpia_target_getIndexChannelCrossSectionAtE | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
int | index, | ||
double | T, | ||
xData_Int | iEg, | ||
double | e_in, | ||
int | crossSectionType | ||
) |
Definition at line 380 of file tpia_target.cc.
References tpia_target_heated_getIndexChannelCrossSectionAtE().
Referenced by G4GIDI_target::sampleChannelCrossSectionAtE(), and G4GIDI_target::sumChannelCrossSectionAtE().
int tpia_target_getTemperatures | ( | statusMessageReporting * | , |
tpia_target * | target, | ||
double * | temperatures | ||
) |
Definition at line 256 of file tpia_target.cc.
Referenced by G4GIDI_target::getTemperatures().
double tpia_target_getTotalCrossSectionAtTAndE | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
double | T, | ||
xData_Int | iEg, | ||
double | e_in, | ||
int | crossSectionType | ||
) |
Definition at line 357 of file tpia_target.cc.
References tpia_target_heated_getTotalCrossSectionAtE().
Referenced by G4GIDI_target::getTotalCrossSectionAtE().
tpia_1dData* tpia_target_getTotalCrossSectionAtTIndex | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
int | index, | ||
int | crossSectionType | ||
) |
Definition at line 341 of file tpia_target.cc.
References smr_isOk(), smr_setMessageError(), and tpia_target_getHeatedTargetAtTIndex().
int tpia_target_initialize | ( | statusMessageReporting * | smr, |
tpia_target * | target | ||
) |
Definition at line 61 of file tpia_target.cc.
References tpia_samplingMethods_initialize().
Referenced by tpia_target_create(), tpia_target_read(), and tpia_target_release().
int tpia_target_numberOfChannels | ( | statusMessageReporting * | smr, |
tpia_target * | target | ||
) |
Definition at line 317 of file tpia_target.cc.
References tpia_target_heated_numberOfChannels().
Referenced by G4GIDI_target::getChannelIDs(), G4GIDI_target::getNumberOfChannels(), and G4GIDI_target::init().
int tpia_target_numberOfProductionChannels | ( | statusMessageReporting * | smr, |
tpia_target * | target | ||
) |
Definition at line 324 of file tpia_target.cc.
References tpia_target_heated_numberOfProductionChannels().
Referenced by G4GIDI_target::getNumberOfProductionChannels(), and G4GIDI_target::getProductionChannelIDs().
int tpia_target_read | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
const char * | fileName | ||
) |
Definition at line 143 of file tpia_target.cc.
References _tpia_target_releaseAndReturnOne(), name, smr_isOk(), smr_setMessageError(), tpia_misc_setMessageError_Element(), tpia_particle_getInternalID(), tpia_target_initialize(), tpia_target_readHeatedTarget(), tpia_target_release(), xData_convertAttributeToDouble(), xData_copyAttributionList(), xData_getAttributesValueInElement(), xData_getDocumentsElement(), xData_getFirstElement(), xData_getNextElement(), xData_parseFree(), xData_parseReadFile(), and xDataMisc_getAbsPath().
Referenced by tpia_target_createRead(), and tpia_target_readFromMap().
int tpia_target_readFromMap | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
tpia_map * | map, | ||
const char * | evaluation, | ||
const char * | projectileName, | ||
const char * | targetName | ||
) |
Definition at line 82 of file tpia_target.cc.
References tpia_map_findTarget(), and tpia_target_read().
int tpia_target_readHeatedTarget | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
int | index, | ||
int | checkElememtsForAccess | ||
) |
Definition at line 266 of file tpia_target.cc.
References smr_setMessageError(), and tpia_target_heated_createRead().
Referenced by G4GIDI_target::readTemperature(), tpia_target_getHeatedTargetAtIndex_ReadIfNeeded(), and tpia_target_read().
int tpia_target_release | ( | statusMessageReporting * | smr, |
tpia_target * | target | ||
) |
Definition at line 117 of file tpia_target.cc.
References tpia_target_heated_free(), tpia_target_initialize(), xData_free(), and xData_releaseAttributionList().
Referenced by _tpia_target_releaseAndReturnOne(), tpia_target_free(), and tpia_target_read().
int tpia_target_sampleIndexChannelProductsAtE | ( | statusMessageReporting * | smr, |
tpia_target * | target, | ||
int | index, | ||
double | , | ||
tpia_decaySamplingInfo * | decaySamplingInfo, | ||
int | nProductData, | ||
tpia_productOutgoingData * | productData | ||
) |
Definition at line 404 of file tpia_target.cc.
References tpia_target_heated_sampleIndexChannelProductsAtE().