Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
tpia_misc.cc File Reference
#include "Randomize.hh"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cmath>
#include <tpia_target.h>
#include <tpia_misc.h>
#include <string>
Include dependency graph for tpia_misc.cc:

Go to the source code of this file.

Classes

struct  ZSymbol
 

Functions

int tpia_misc_NumberOfZSymbols (void)
 
const char * tpia_misc_ZToSymbol (int iZ)
 
int tpia_misc_symbolToZ (const char *Z)
 
int tpia_miscNameToZAm (statusMessageReporting *smr, const char *name, int *Z, int *A, int *m)
 
char * tpia_misc_pointerToAttributeIfAllOk (statusMessageReporting *smr, xData_element *element, const char *path, int required, xData_attributionList *attributes, const char *name, const char *file, int line)
 
int tpia_misc_setMessageError_Element (statusMessageReporting *smr, void *userInterface, xData_element *element, const char *file, int line, int code, const char *fmt,...)
 
xData_Int tpia_misc_binarySearch (xData_Int n, double *ds, double d)
 
double * tpia_misc_get2dx_y_data (statusMessageReporting *smr, xData_element *element, xData_Int *length)
 
double * tpia_misc_get2dxindex_y_data (statusMessageReporting *smr, xData_element *element, xData_Int *start, xData_Int *end, double *xValues)
 
double * tpia_misc_get2d_xShared_yHistogram_data (statusMessageReporting *smr, xData_element *element, xData_Int *start, xData_Int *end, xData_Int *length)
 
int tpia_misc_get2d_xShared_yHistogram_data_Grouped (statusMessageReporting *smr, xData_element *element, tpia_1dData *group)
 
double tpia_misc_getPointwiseCrossSectionAtE (statusMessageReporting *, tpia_1dData *crossSection, double *energyGrid, xData_Int index, double e_in)
 
tpia_EqualProbableBinSpectrumtpia_misc_getEqualProbableBin (statusMessageReporting *smr, xData_element *parent, xData_Int *n, xData_Int *nBins)
 
tpia_EqualProbableBinSpectrumtpia_misc_getEqualProbableBins (statusMessageReporting *smr, xData_element *parent, const char *name, xData_Int nBins, xData_Int *n)
 
double tpia_misc_drng (double(*rng)(void *), void *rngState)
 
int tpia_misc_sampleEqualProbableBin (statusMessageReporting *, tpia_decaySamplingInfo *decaySamplingInfo, double e_in, int nBins, tpia_EqualProbableBinSpectra *binned, double *value_)
 

Function Documentation

xData_Int tpia_misc_binarySearch ( xData_Int  n,
double *  ds,
double  d 
)

Definition at line 208 of file tpia_misc.cc.

Here is the caller graph for this function:

double tpia_misc_drng ( double(*)(void *)  rng,
void rngState 
)

Definition at line 403 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

double* tpia_misc_get2d_xShared_yHistogram_data ( statusMessageReporting smr,
xData_element element,
xData_Int start,
xData_Int end,
xData_Int length 
)

Definition at line 268 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int tpia_misc_get2d_xShared_yHistogram_data_Grouped ( statusMessageReporting smr,
xData_element element,
tpia_1dData group 
)

Definition at line 289 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

double* tpia_misc_get2dx_y_data ( statusMessageReporting smr,
xData_element element,
xData_Int length 
)

Definition at line 228 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

double* tpia_misc_get2dxindex_y_data ( statusMessageReporting smr,
xData_element element,
xData_Int start,
xData_Int end,
double *  xValues 
)

Definition at line 248 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

tpia_EqualProbableBinSpectrum* tpia_misc_getEqualProbableBin ( statusMessageReporting smr,
xData_element parent,
xData_Int n,
xData_Int nBins 
)

Definition at line 317 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

tpia_EqualProbableBinSpectrum* tpia_misc_getEqualProbableBins ( statusMessageReporting smr,
xData_element parent,
const char *  name,
xData_Int  nBins,
xData_Int n 
)

Definition at line 333 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

double tpia_misc_getPointwiseCrossSectionAtE ( statusMessageReporting ,
tpia_1dData crossSection,
double *  energyGrid,
xData_Int  index,
double  e_in 
)

Definition at line 298 of file tpia_misc.cc.

Here is the caller graph for this function:

int tpia_misc_NumberOfZSymbols ( void  )

Definition at line 76 of file tpia_misc.cc.

Here is the caller graph for this function:

char* tpia_misc_pointerToAttributeIfAllOk ( statusMessageReporting smr,
xData_element element,
const char *  path,
int  required,
xData_attributionList attributes,
const char *  name,
const char *  file,
int  line 
)

Definition at line 163 of file tpia_misc.cc.

Here is the call graph for this function:

int tpia_misc_sampleEqualProbableBin ( statusMessageReporting ,
tpia_decaySamplingInfo decaySamplingInfo,
double  e_in,
int  nBins,
tpia_EqualProbableBinSpectra binned,
double *  value_ 
)

Definition at line 420 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int tpia_misc_setMessageError_Element ( statusMessageReporting smr,
void userInterface,
xData_element element,
const char *  file,
int  line,
int  code,
const char *  fmt,
  ... 
)

Definition at line 183 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int tpia_misc_symbolToZ ( const char *  Z)

Definition at line 92 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* tpia_misc_ZToSymbol ( int  iZ)

Definition at line 83 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int tpia_miscNameToZAm ( statusMessageReporting smr,
const char *  name,
int Z,
int A,
int m 
)

Definition at line 105 of file tpia_misc.cc.

Here is the call graph for this function:

Here is the caller graph for this function: