Geant4  10.02.p01
MCGIDI_fromTOM.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cmath>
#include "MCGIDI_fromTOM.h"
#include "MCGIDI_misc.h"
+ Include dependency graph for MCGIDI_fromTOM.cc:

Go to the source code of this file.

Functions

static int MCGIDI_fromTOM_pdfOfXGivenW (statusMessageReporting *smr, ptwXYPoints *pdfXY, MCGIDI_pdfsOfXGivenW *dists, int i, double *norm)
 
int MCGIDI_fromTOM_pdfsOfXGivenW (statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_pdfsOfXGivenW *dists, ptwXYPoints *norms, char const *toUnits[3])
 
int MCGIDI_fromTOM_pdfOfX (statusMessageReporting *smr, ptwXYPoints *pdfXY, MCGIDI_pdfOfX *dist, double *norm)
 
int MCGIDI_fromTOM_interpolation (statusMessageReporting *smr, xDataTOM_element *element, int index, ptwXY_interpolation *interpolation)
 

Function Documentation

int MCGIDI_fromTOM_interpolation ( statusMessageReporting *  smr,
xDataTOM_element *  element,
int  index,
ptwXY_interpolation *  interpolation 
)

Definition at line 143 of file MCGIDI_fromTOM.cc.

References xDataTOME_getInterpolation().

Referenced by MCGIDI_angular_parseFromTOM(), MCGIDI_angularEnergy_parsePointwiseFromTOM(), MCGIDI_energyAngular_linear_parseFromTOM(), MCGIDI_fromTOM_pdfsOfXGivenW(), MCGIDI_KalbachMann_parseFromTOM(), MCGIDI_LLNL_angularEnergy_parsePointwiseFromTOM(), and MCGIDI_misc_dataFromElement2ptwXYPointsInUnitsOf().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_fromTOM_pdfOfX ( statusMessageReporting *  smr,
ptwXYPoints *  pdfXY,
MCGIDI_pdfOfX *  dist,
double *  norm 
)

Definition at line 90 of file MCGIDI_fromTOM.cc.

References nfu_statusMessage(), ptwX_free(), ptwX_getPointAtIndex_Unsafely(), ptwXY_getPointAtIndex_Unsafely(), ptwXY_length(), ptwXY_runningIntegral(), ptwXY_simpleCoalescePoints(), and smr_freeMemory().

Referenced by MCGIDI_angularEnergy_parsePointwiseFromTOM(), MCGIDI_energy_parseGeneralEvaporationFromTOM(), MCGIDI_energy_parseNBodyPhaseSpaceFromTOM(), MCGIDI_energyAngular_linear_parseFromTOM(), MCGIDI_fromTOM_pdfOfXGivenW(), and MCGIDI_LLNL_angularEnergy_parsePointwiseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int MCGIDI_fromTOM_pdfOfXGivenW ( statusMessageReporting *  smr,
ptwXYPoints *  pdfXY,
MCGIDI_pdfsOfXGivenW *  dists,
int  i,
double *  norm 
)
static

Definition at line 81 of file MCGIDI_fromTOM.cc.

References MCGIDI_fromTOM_pdfOfX().

Referenced by MCGIDI_fromTOM_pdfsOfXGivenW().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_fromTOM_pdfsOfXGivenW ( statusMessageReporting *  smr,
xDataTOM_element *  element,
MCGIDI_pdfsOfXGivenW *  dists,
ptwXYPoints *  norms,
char const *  toUnits[3] 
)

Definition at line 26 of file MCGIDI_fromTOM.cc.

References MCGIDI_fromTOM_interpolation(), MCGIDI_fromTOM_pdfOfXGivenW(), MCGIDI_misc_dataFromXYs2ptwXYPointsInUnitsOf(), MCGIDI_misc_getUnitConversionFactor(), ptwXY_free(), ptwXY_setValueAtX(), smr_isOk(), xDataTOM_axes_getUnit(), and xDataTOME_getXDataIfID().

Referenced by MCGIDI_energy_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: