Geant4  10.02.p01
ptwXY_functions.cc File Reference
#include <cmath>
#include "ptwXY.h"
+ Include dependency graph for ptwXY_functions.cc:

Go to the source code of this file.

Functions

static nfu_status ptwXY_pow_callback (ptwXYPoint *point, void *argList)
 
static nfu_status ptwXY_exp_s (ptwXYPoints *ptwXY, double x1, double y1, double z1, double x2, double y2, double z2, int level)
 
static nfu_status ptwXY_convolution2 (ptwXYPoints *f1, ptwXYPoints *f2, double y, double yMin, double *c)
 
static nfu_status ptwXY_convolution3 (ptwXYPoints *convolute, ptwXYPoints *f1, ptwXYPoints *f2, double y1, double c1, double y2, double c2, double yMin)
 
nfu_status ptwXY_pow (ptwXYPoints *ptwXY, double v)
 
nfu_status ptwXY_exp (ptwXYPoints *ptwXY, double a)
 
ptwXYPoints * ptwXY_convolution (ptwXYPoints *ptwXY1, ptwXYPoints *ptwXY2, nfu_status *status, int mode)
 

Function Documentation

ptwXYPoints* ptwXY_convolution ( ptwXYPoints *  ptwXY1,
ptwXYPoints *  ptwXY2,
nfu_status *  status,
int  mode 
)

Definition at line 96 of file ptwXY_functions.cc.

References f1, f2, n, ptwXY_convolution2(), ptwXY_convolution3(), ptwXY_free(), ptwXY_new(), ptwXY_setValueAtX(), and ptwXY_simpleCoalescePoints().

+ Here is the call graph for this function:

static nfu_status ptwXY_convolution2 ( ptwXYPoints *  f1,
ptwXYPoints *  f2,
double  y,
double  yMin,
double *  c 
)
static

Definition at line 174 of file ptwXY_functions.cc.

References ptwXY_getPointsAroundX(), ptwXY_interpolatePoint(), and x.

Referenced by ptwXY_convolution(), and ptwXY_convolution3().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static nfu_status ptwXY_convolution3 ( ptwXYPoints *  convolute,
ptwXYPoints *  f1,
ptwXYPoints *  f2,
double  y1,
double  c1,
double  y2,
double  c2,
double  yMin 
)
static

Definition at line 294 of file ptwXY_functions.cc.

References ptwXY_convolution2(), ptwXY_getXMax(), ptwXY_getXMin(), and ptwXY_setValueAtX().

Referenced by ptwXY_convolution().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nfu_status ptwXY_exp ( ptwXYPoints *  ptwXY,
double  a 
)

Definition at line 43 of file ptwXY_functions.cc.

References G4Exp(), ptwXY_exp_s(), and ptwXY_simpleCoalescePoints().

+ Here is the call graph for this function:

static nfu_status ptwXY_exp_s ( ptwXYPoints *  ptwXY,
double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2,
int  level 
)
static

Definition at line 71 of file ptwXY_functions.cc.

References G4Exp(), ptwXY_setValueAtX(), s, x, and z.

Referenced by ptwXY_exp().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

nfu_status ptwXY_pow ( ptwXYPoints *  ptwXY,
double  v 
)

Definition at line 24 of file ptwXY_functions.cc.

References ptwXY_applyFunction(), and ptwXY_pow_callback().

+ Here is the call graph for this function:

static nfu_status ptwXY_pow_callback ( ptwXYPoint *  point,
void *  argList 
)
static

Definition at line 31 of file ptwXY_functions.cc.

References G4Pow::GetInstance(), and G4Pow::powA().

Referenced by ptwXY_pow().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: