Geant4  10.01.p02
tpia_channel.cc File Reference
#include <string.h>
#include <tpia_target.h>
#include <tpia_misc.h>
+ Include dependency graph for tpia_channel.cc:

Go to the source code of this file.

Functions

static int _tpia_channel_getProductData (statusMessageReporting *smr, xData_element *channelElement, tpia_channel *channel)
 
tpia_channel * tpia_channel_create (statusMessageReporting *smr)
 
int tpia_channel_initialize (statusMessageReporting *, tpia_channel *channel)
 
tpia_channel * tpia_channel_createGetFromElement (statusMessageReporting *smr, tpia_target_heated *target, xData_element *channelElement, int pointwiseRequired)
 
tpia_channel * tpia_channel_free (statusMessageReporting *smr, tpia_channel *channel)
 
int tpia_channel_release (statusMessageReporting *smr, tpia_channel *channel)
 
int tpia_channel_getFromElement (statusMessageReporting *smr, tpia_target_heated *target, xData_element *channelElement, tpia_channel *channel, int pointwiseRequired)
 
tpia_product * tpia_channel_getFirstProduct (tpia_channel *channel)
 
tpia_product * tpia_channel_getProductByIndex (statusMessageReporting *, tpia_channel *channel, int index)
 
int tpia_channel_numberOfProducts (statusMessageReporting *, tpia_channel *channel)
 
int tpia_channel_isProduction (statusMessageReporting *, tpia_channel *channel)
 
double tpia_channel_getCrossSectionAtE (statusMessageReporting *smr, tpia_channel *channel, xData_Int, double e_in, int crossSectionType)
 

Function Documentation

static int _tpia_channel_getProductData ( statusMessageReporting *  smr,
xData_element *  channelElement,
tpia_channel *  channel 
)
static

Definition at line 178 of file tpia_channel.cc.

References tpia_product_getDecayChannelFromElement().

Referenced by tpia_channel_getFromElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_channel* tpia_channel_create ( statusMessageReporting *  smr)

Definition at line 50 of file tpia_channel.cc.

References tpia_channel_free(), and tpia_channel_initialize().

Referenced by tpia_channel_createGetFromElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_channel* tpia_channel_createGetFromElement ( statusMessageReporting *  smr,
tpia_target_heated *  target,
xData_element *  channelElement,
int  pointwiseRequired 
)

Definition at line 71 of file tpia_channel.cc.

References tpia_channel_create(), tpia_channel_free(), and tpia_channel_getFromElement().

Referenced by tpia_target_heated_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_channel* tpia_channel_free ( statusMessageReporting *  smr,
tpia_channel *  channel 
)

Definition at line 83 of file tpia_channel.cc.

References tpia_channel_release(), and xData_free().

Referenced by tpia_channel_create(), tpia_channel_createGetFromElement(), and tpia_target_heated_release().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double tpia_channel_getCrossSectionAtE ( statusMessageReporting *  smr,
tpia_channel *  channel,
xData_Int  ,
double  e_in,
int  crossSectionType 
)

Definition at line 222 of file tpia_channel.cc.

References tpia_misc_getPointwiseCrossSectionAtE(), and tpia_target_heated_getEIndex().

Referenced by tpia_target_heated_getIndexChannelCrossSectionAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_product* tpia_channel_getFirstProduct ( tpia_channel *  channel)

Definition at line 185 of file tpia_channel.cc.

References tpia_decayChannel_getFirstProduct().

Referenced by G4GIDI_Misc_channelProductsCompare(), and tpia_channel_getProductByIndex().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_channel_getFromElement ( statusMessageReporting *  smr,
tpia_target_heated *  target,
xData_element *  channelElement,
tpia_channel *  channel,
int  pointwiseRequired 
)

Definition at line 114 of file tpia_channel.cc.

References _tpia_channel_getProductData(), smr_isOk(), tpia_channel_isProduction(), tpia_frame_setFromElement(), tpia_misc_get2d_xShared_yHistogram_data_Grouped(), tpia_misc_get2dxindex_y_data(), xData_addToAccessed(), xData_convertAttributeTo_xData_Int(), xData_copyAttributionList(), and xData_getOneElementByTagName().

Referenced by tpia_channel_createGetFromElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tpia_product* tpia_channel_getProductByIndex ( statusMessageReporting *  ,
tpia_channel *  channel,
int  index 
)

Definition at line 193 of file tpia_channel.cc.

References tpia_channel_getFirstProduct(), and tpia_decayChannel_getNextProduct().

+ Here is the call graph for this function:

int tpia_channel_initialize ( statusMessageReporting *  ,
tpia_channel *  channel 
)

Definition at line 63 of file tpia_channel.cc.

Referenced by tpia_channel_create().

+ Here is the caller graph for this function:

int tpia_channel_isProduction ( statusMessageReporting *  ,
tpia_channel *  channel 
)

Definition at line 214 of file tpia_channel.cc.

Referenced by tpia_channel_getFromElement().

+ Here is the caller graph for this function:

int tpia_channel_numberOfProducts ( statusMessageReporting *  ,
tpia_channel *  channel 
)

Definition at line 206 of file tpia_channel.cc.

int tpia_channel_release ( statusMessageReporting *  smr,
tpia_channel *  channel 
)

Definition at line 92 of file tpia_channel.cc.

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

Referenced by tpia_channel_free().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: