Geant4  10.00.p03
tpia_target_heated.cc File Reference
#include <string.h>
#include <tpia_target.h>
#include <tpia_misc.h>
+ Include dependency graph for tpia_target_heated.cc:

Go to the source code of this file.

Functions

static void _tpia_target_heated_getEnergyGridAndAllocateTotalCrossSections (statusMessageReporting *smr, tpia_target_heated *target, xData_element *element)
 
static int _tpia_target_heated_releaseAndReturnOne (statusMessageReporting *smr, xData_document *doc, tpia_target_heated *target)
 
static int _tpia_target_heated_checkElememtsForAccess (statusMessageReporting *smr, xData_document *doc)
 
static int _tpia_target_heated_checkElememtsForAccess2 (statusMessageReporting *smr, xData_element *element)
 
tpia_target_heated * tpia_target_heated_create (statusMessageReporting *smr)
 
int tpia_target_heated_initialize (statusMessageReporting *, tpia_target_heated *target)
 
tpia_target_heated * tpia_target_heated_createRead (statusMessageReporting *smr, const char *fileName, int checkElememtsForAccess)
 
tpia_target_heated * tpia_target_heated_free (statusMessageReporting *smr, tpia_target_heated *target)
 
int tpia_target_heated_release (statusMessageReporting *smr, tpia_target_heated *target)
 
int tpia_target_heated_read (statusMessageReporting *smr, tpia_target_heated *target, const char *fileName, int checkElememtsForAccess)
 
int tpia_target_heated_numberOfChannels (statusMessageReporting *, tpia_target_heated *target)
 
int tpia_target_heated_numberOfProductionChannels (statusMessageReporting *, tpia_target_heated *target)
 
tpia_channel * tpia_target_heated_getChannelAtIndex (tpia_target_heated *target, int index)
 
tpia_channel * tpia_target_heated_getChannelAtIndex_smr (statusMessageReporting *smr, tpia_target_heated *target, int index)
 
tpia_channel * tpia_target_heated_getProductionChannelAtIndex (tpia_target_heated *target, int index)
 
xData_Int tpia_target_heated_getEnergyGrid (statusMessageReporting *, tpia_target_heated *target, double **energyGrid)
 
xData_Int tpia_target_heated_getEIndex (tpia_target_heated *target, double e_in)
 
double tpia_target_heated_getTotalCrossSectionAtE (statusMessageReporting *smr, tpia_target_heated *target, xData_Int, double e_in, int crossSectionType)
 
double tpia_target_heated_getIndexChannelCrossSectionAtE (statusMessageReporting *smr, tpia_target_heated *target, int index, xData_Int iEg, double e_in, int crossSectionType)
 
int tpia_target_heated_sampleIndexChannelProductsAtE (statusMessageReporting *smr, tpia_target_heated *target, int index, tpia_decaySamplingInfo *decaySamplingInfo, int nProductData, tpia_productOutgoingData *productDatas)
 

Function Documentation

static int _tpia_target_heated_checkElememtsForAccess ( statusMessageReporting *  smr,
xData_document *  doc 
)
static

Definition at line 361 of file tpia_target_heated.cc.

References _tpia_target_heated_checkElememtsForAccess2(), and xData_getDocumentsElement().

Referenced by tpia_target_heated_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int _tpia_target_heated_checkElememtsForAccess2 ( statusMessageReporting *  smr,
xData_element *  element 
)
static

Definition at line 371 of file tpia_target_heated.cc.

References xData_getAccessed(), xData_getFirstElement(), and xData_getNextElement().

Referenced by _tpia_target_heated_checkElememtsForAccess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void _tpia_target_heated_getEnergyGridAndAllocateTotalCrossSections ( statusMessageReporting *  smr,
tpia_target_heated *  target,
xData_element *  element 
)
static

Definition at line 209 of file tpia_target_heated.cc.

References smr_isOk(), xData_1d_x_allocateCopyData(), xData_addToAccessed(), xData_getCommonData(), xData_getElements_xDataElement(), and xData_getOneElementByTagName().

Referenced by tpia_target_heated_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int _tpia_target_heated_releaseAndReturnOne ( statusMessageReporting *  smr,
xData_document *  doc,
tpia_target_heated *  target 
)
static

Definition at line 352 of file tpia_target_heated.cc.

References tpia_target_heated_release(), and xData_parseFree().

Referenced by tpia_target_heated_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_target_heated* tpia_target_heated_create ( statusMessageReporting *  smr)

Definition at line 52 of file tpia_target_heated.cc.

References tpia_target_heated_initialize(), and xData_free().

Referenced by tpia_target_heated_createRead().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_target_heated* tpia_target_heated_createRead ( statusMessageReporting *  smr,
const char *  fileName,
int  checkElememtsForAccess 
)

Definition at line 74 of file tpia_target_heated.cc.

References tpia_target_heated_create(), tpia_target_heated_read(), and xData_free().

Referenced by tpia_target_readHeatedTarget().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_target_heated* tpia_target_heated_free ( statusMessageReporting *  smr,
tpia_target_heated *  target 
)

Definition at line 86 of file tpia_target_heated.cc.

References tpia_target_heated_release(), and xData_free().

Referenced by tpia_target_release().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_channel* tpia_target_heated_getChannelAtIndex ( tpia_target_heated *  target,
int  index 
)

Definition at line 263 of file tpia_target_heated.cc.

Referenced by G4GIDI_target::init(), and tpia_target_heated_getChannelAtIndex_smr().

+ Here is the caller graph for this function:

tpia_channel* tpia_target_heated_getChannelAtIndex_smr ( statusMessageReporting *  smr,
tpia_target_heated *  target,
int  index 
)

Definition at line 273 of file tpia_target_heated.cc.

References smr_setMessageError(), and tpia_target_heated_getChannelAtIndex().

Referenced by G4GIDI_target::getElasticFinalState(), tpia_target_heated_getIndexChannelCrossSectionAtE(), and tpia_target_heated_sampleIndexChannelProductsAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

xData_Int tpia_target_heated_getEIndex ( tpia_target_heated *  target,
double  e_in 
)

Definition at line 305 of file tpia_target_heated.cc.

References tpia_misc_binarySearch().

Referenced by tpia_channel_getCrossSectionAtE(), and tpia_target_heated_getTotalCrossSectionAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

xData_Int tpia_target_heated_getEnergyGrid ( statusMessageReporting *  ,
tpia_target_heated *  target,
double **  energyGrid 
)

Definition at line 297 of file tpia_target_heated.cc.

Referenced by tpia_target_getEnergyGridAtTIndex().

+ Here is the caller graph for this function:

double tpia_target_heated_getIndexChannelCrossSectionAtE ( statusMessageReporting *  smr,
tpia_target_heated *  target,
int  index,
xData_Int  iEg,
double  e_in,
int  crossSectionType 
)

Definition at line 329 of file tpia_target_heated.cc.

References tpia_channel_getCrossSectionAtE(), and tpia_target_heated_getChannelAtIndex_smr().

Referenced by tpia_target_getIndexChannelCrossSectionAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_channel* tpia_target_heated_getProductionChannelAtIndex ( tpia_target_heated *  target,
int  index 
)

Definition at line 286 of file tpia_target_heated.cc.

double tpia_target_heated_getTotalCrossSectionAtE ( statusMessageReporting *  smr,
tpia_target_heated *  target,
xData_Int  ,
double  e_in,
int  crossSectionType 
)

Definition at line 313 of file tpia_target_heated.cc.

References tpia_misc_getPointwiseCrossSectionAtE(), and tpia_target_heated_getEIndex().

Referenced by tpia_target_getTotalCrossSectionAtTAndE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_target_heated_initialize ( statusMessageReporting *  ,
tpia_target_heated *  target 
)

Definition at line 66 of file tpia_target_heated.cc.

Referenced by tpia_target_heated_create(), and tpia_target_heated_read().

+ Here is the caller graph for this function:

int tpia_target_heated_numberOfChannels ( statusMessageReporting *  ,
tpia_target_heated *  target 
)

Definition at line 248 of file tpia_target_heated.cc.

Referenced by tpia_target_numberOfChannels().

+ Here is the caller graph for this function:

int tpia_target_heated_numberOfProductionChannels ( statusMessageReporting *  ,
tpia_target_heated *  target 
)

Definition at line 256 of file tpia_target_heated.cc.

Referenced by tpia_target_numberOfProductionChannels().

+ Here is the caller graph for this function:

int tpia_target_heated_read ( statusMessageReporting *  smr,
tpia_target_heated *  target,
const char *  fileName,
int  checkElememtsForAccess 
)
int tpia_target_heated_release ( statusMessageReporting *  smr,
tpia_target_heated *  target 
)

Definition at line 95 of file tpia_target_heated.cc.

References tpia_channel_free(), xData_free(), and xData_releaseAttributionList().

Referenced by _tpia_target_heated_releaseAndReturnOne(), tpia_target_heated_free(), and tpia_target_heated_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_target_heated_sampleIndexChannelProductsAtE ( statusMessageReporting *  smr,
tpia_target_heated *  target,
int  index,
tpia_decaySamplingInfo *  decaySamplingInfo,
int  nProductData,
tpia_productOutgoingData *  productDatas 
)

Definition at line 341 of file tpia_target_heated.cc.

References tpia_decayChannel_sampleProductsAtE(), and tpia_target_heated_getChannelAtIndex_smr().

Referenced by G4GIDI_target::getFinalState(), and tpia_target_sampleIndexChannelProductsAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: