Geant4  10.02
MCGIDI_angularEnergy.cc File Reference
#include <string.h>
#include "MCGIDI.h"
#include "MCGIDI_fromTOM.h"
#include "MCGIDI_misc.h"
#include "MCGIDI_private.h"
+ Include dependency graph for MCGIDI_angularEnergy.cc:

Go to the source code of this file.

Functions

static int MCGIDI_angularEnergy_parsePointwiseFromTOM (statusMessageReporting *smr, xDataTOM_element *pointwise, MCGIDI_distribution *distribution)
 
MCGIDI_angularEnergy * MCGIDI_angularEnergy_new (statusMessageReporting *smr)
 
int MCGIDI_angularEnergy_initialize (statusMessageReporting *, MCGIDI_angularEnergy *angularEnergy)
 
MCGIDI_angularEnergy * MCGIDI_angularEnergy_free (statusMessageReporting *smr, MCGIDI_angularEnergy *angularEnergy)
 
int MCGIDI_angularEnergy_release (statusMessageReporting *smr, MCGIDI_angularEnergy *angularEnergy)
 
int MCGIDI_angularEnergy_parseFromTOM (statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_distribution *distribution)
 
int MCGIDI_angularEnergy_sampleDistribution (statusMessageReporting *smr, MCGIDI_angularEnergy *angularEnergy, MCGIDI_quantitiesLookupModes &modes, MCGIDI_decaySamplingInfo *decaySamplingInfo)
 

Function Documentation

MCGIDI_angularEnergy* MCGIDI_angularEnergy_free ( statusMessageReporting *  smr,
MCGIDI_angularEnergy *  angularEnergy 
)

Definition at line 40 of file MCGIDI_angularEnergy.cc.

References MCGIDI_angularEnergy_release(), and smr_freeMemory().

Referenced by MCGIDI_angularEnergy_new(), MCGIDI_angularEnergy_parsePointwiseFromTOM(), and MCGIDI_distribution_release().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_angularEnergy_initialize ( statusMessageReporting *  ,
MCGIDI_angularEnergy *  angularEnergy 
)

Definition at line 32 of file MCGIDI_angularEnergy.cc.

Referenced by MCGIDI_angularEnergy_new(), and MCGIDI_angularEnergy_release().

+ Here is the caller graph for this function:

MCGIDI_angularEnergy* MCGIDI_angularEnergy_new ( statusMessageReporting *  smr)

Definition at line 21 of file MCGIDI_angularEnergy.cc.

References MCGIDI_angularEnergy_free(), and MCGIDI_angularEnergy_initialize().

Referenced by MCGIDI_angularEnergy_parsePointwiseFromTOM(), and MCGIDI_LLNL_angularEnergy_parsePointwiseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_angularEnergy_parseFromTOM ( statusMessageReporting *  smr,
xDataTOM_element *  element,
MCGIDI_distribution *  distribution 
)

Definition at line 65 of file MCGIDI_angularEnergy.cc.

References MCGIDI_angularEnergy_parsePointwiseFromTOM(), xDataTOM_getAttributesValueInElement(), and xDataTOME_getOneElementByName().

Referenced by MCGIDI_distribution_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int MCGIDI_angularEnergy_parsePointwiseFromTOM ( statusMessageReporting *  smr,
xDataTOM_element *  pointwise,
MCGIDI_distribution *  distribution 
)
static

Definition at line 91 of file MCGIDI_angularEnergy.cc.

References MCGIDI_angularEnergy_free(), MCGIDI_angularEnergy_new(), MCGIDI_fromTOM_interpolation(), MCGIDI_fromTOM_pdfOfX(), MCGIDI_misc_dataFromXYs2ptwXYPointsInUnitsOf(), MCGIDI_misc_getProductFrame(), MCGIDI_misc_getUnitConversionFactor(), nfu_statusMessage(), ptwXY_add_double(), ptwXY_free(), ptwXY_integrateDomain(), ptwXY_new(), ptwXY_setValueAtX(), smr_isOk(), xDataTOM_subAxes_getUnit(), and xDataTOME_getXDataIfID().

Referenced by MCGIDI_angularEnergy_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_angularEnergy_release ( statusMessageReporting *  smr,
MCGIDI_angularEnergy *  angularEnergy 
)

Definition at line 49 of file MCGIDI_angularEnergy.cc.

References MCGIDI_angularEnergy_initialize(), MCGIDI_sampling_pdfsOfXGivenW_release(), and smr_freeMemory().

Referenced by MCGIDI_angularEnergy_free().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_angularEnergy_sampleDistribution ( statusMessageReporting *  smr,
MCGIDI_angularEnergy *  angularEnergy,
MCGIDI_quantitiesLookupModes &  modes,
MCGIDI_decaySamplingInfo *  decaySamplingInfo 
)

Definition at line 175 of file MCGIDI_angularEnergy.cc.

References MCGIDI_sampling_doubleDistribution().

Referenced by MCGIDI_outputChannel_sampleProductsAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: