Geant4  10.01.p02
tpia_frame.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tpia_target.h>
#include <tpia_misc.h>
#include "G4Types.hh"
+ Include dependency graph for tpia_frame.cc:

Go to the source code of this file.

Functions

int tpia_frame_clear (statusMessageReporting *, tpia_data_frame *frame)
 
int tpia_frame_setFromElement (statusMessageReporting *smr, xData_element *element, int dimension, tpia_data_frame *frame)
 
int tpia_frame_setFromString (statusMessageReporting *smr, const char *forItem, const char *value, int dimension, tpia_data_frame *frame)
 
int tpia_frame_getDimensions (statusMessageReporting *, tpia_data_frame *frame)
 
char * tpia_frame_toString (statusMessageReporting *smr, const char *, tpia_data_frame *frame)
 
int tpia_frame_setColumns (statusMessageReporting *smr, tpia_data_frame *frame, int nColumns, int *values)
 
int tpia_frame_setColumn (statusMessageReporting *smr, tpia_data_frame *frame, int column, int value)
 
int tpia_frame_getColumn (statusMessageReporting *smr, tpia_data_frame *frame, int column)
 

Variables

static G4ThreadLocal int nlab_Str = 0
 
static G4ThreadLocal int nCOM_Str = 0
 
static const char lab_Str [] = "lab"
 
static const char COM_Str [] = "centerOfMass"
 

Function Documentation

int tpia_frame_clear ( statusMessageReporting *  ,
tpia_data_frame *  frame 
)

Definition at line 54 of file tpia_frame.cc.

Referenced by tpia_frame_setColumns().

+ Here is the caller graph for this function:

int tpia_frame_getColumn ( statusMessageReporting *  smr,
tpia_data_frame *  frame,
int  column 
)

Definition at line 214 of file tpia_frame.cc.

References smr_setMessageError().

Referenced by tpia_frame_toString(), and tpia_kinetics_COMKineticEnergy2LabEnergyAndMomentum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_frame_getDimensions ( statusMessageReporting *  ,
tpia_data_frame *  frame 
)

Definition at line 122 of file tpia_frame.cc.

Referenced by tpia_frame_toString().

+ Here is the caller graph for this function:

int tpia_frame_setColumn ( statusMessageReporting *  smr,
tpia_data_frame *  frame,
int  column,
int  value 
)

Definition at line 191 of file tpia_frame.cc.

References smr_setMessageError().

Referenced by G4GIDI_target::getElasticFinalState(), G4GIDI_target::getFinalState(), tpia_frame_setColumns(), and tpia_frame_setFromString().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_frame_setColumns ( statusMessageReporting *  smr,
tpia_data_frame *  frame,
int  nColumns,
int *  values 
)

Definition at line 179 of file tpia_frame.cc.

References tpia_frame_clear(), and tpia_frame_setColumn().

Referenced by tpia_decayChannel_sampleProductsAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_frame_setFromElement ( statusMessageReporting *  smr,
xData_element *  element,
int  dimension,
tpia_data_frame *  frame 
)

Definition at line 62 of file tpia_frame.cc.

References tpia_frame_setFromString(), tpia_misc_setMessageError_Element(), and xData_getAttributesValueInElement().

Referenced by tpia_angular_getFromElement(), tpia_angularEnergy_getFromElement(), tpia_channel_getFromElement(), tpia_Legendre_getFromElement(), and tpia_multiplicity_getFromElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tpia_frame_setFromString ( statusMessageReporting *  smr,
const char *  forItem,
const char *  value,
int  dimension,
tpia_data_frame *  frame 
)

Definition at line 75 of file tpia_frame.cc.

References COM_Str, smr_isOk(), smr_setMessageError(), and tpia_frame_setColumn().

Referenced by tpia_angular_initialize(), tpia_angularEnergy_initialize(), tpia_frame_setFromElement(), tpia_Legendre_initialize(), and tpia_multiplicity_initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* tpia_frame_toString ( statusMessageReporting *  smr,
const char *  ,
tpia_data_frame *  frame 
)

Definition at line 138 of file tpia_frame.cc.

References COM_Str, n, nCOM_Str, nlab_Str, smr_setMessageError(), tpia_frame_getColumn(), and tpia_frame_getDimensions().

+ Here is the call graph for this function:

Variable Documentation

const char COM_Str[] = "centerOfMass"
static

Definition at line 49 of file tpia_frame.cc.

Referenced by tpia_frame_setFromString(), and tpia_frame_toString().

const char lab_Str[] = "lab"
static

Definition at line 49 of file tpia_frame.cc.

G4ThreadLocal int nCOM_Str = 0
static

Definition at line 48 of file tpia_frame.cc.

Referenced by tpia_frame_toString().

G4ThreadLocal int nlab_Str = 0
static

Definition at line 48 of file tpia_frame.cc.

Referenced by tpia_frame_toString().