Geant4  10.03
MCGIDI_KalbachMann.cc File Reference
#include <string.h>
#include <cmath>
#include "MCGIDI_fromTOM.h"
#include "MCGIDI_misc.h"
#include "MCGIDI_private.h"
+ Include dependency graph for MCGIDI_KalbachMann.cc:

Go to the source code of this file.

Functions

static int MCGIDI_KalbachMann_parseFromTOM2 (statusMessageReporting *smr, int dataPerEout, int index, xDataTOM_KalbachMannCoefficients *coefficientsXData, double energyInFactor, double energyOutFactor, MCGIDI_KalbachMann *KalbachMann)
 
static double MCGIDI_KalbachMann_S_a_or_b (double Z_AB, double N_AB, double Z_C, double N_C, double I_ab)
 
MCGIDI_KalbachMann * MCGIDI_KalbachMann_new (statusMessageReporting *smr, ptwXY_interpolation interpolationWY, ptwXY_interpolation interpolationXY)
 
int MCGIDI_KalbachMann_initialize (statusMessageReporting *, MCGIDI_KalbachMann *KalbachMann, ptwXY_interpolation interpolationWY, ptwXY_interpolation interpolationXY)
 
MCGIDI_KalbachMann * MCGIDI_KalbachMann_free (statusMessageReporting *smr, MCGIDI_KalbachMann *KalbachMann)
 
int MCGIDI_KalbachMann_release (statusMessageReporting *smr, MCGIDI_KalbachMann *KalbachMann)
 
int MCGIDI_KalbachMann_parseFromTOM (statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_distribution *distribution)
 
int MCGIDI_KalbachMann_sampleEp (statusMessageReporting *smr, MCGIDI_KalbachMann *KalbachMann, MCGIDI_quantitiesLookupModes &modes, MCGIDI_decaySamplingInfo *decaySamplingInfo)
 

Variables

const double C1 = 0.04
 
const double C2 = 1.8e-6
 

Function Documentation

MCGIDI_KalbachMann* MCGIDI_KalbachMann_free ( statusMessageReporting *  smr,
MCGIDI_KalbachMann *  KalbachMann 
)

Definition at line 61 of file MCGIDI_KalbachMann.cc.

References MCGIDI_KalbachMann_release(), and smr_freeMemory().

Referenced by MCGIDI_distribution_release(), MCGIDI_KalbachMann_new(), and MCGIDI_KalbachMann_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_KalbachMann_initialize ( statusMessageReporting *  ,
MCGIDI_KalbachMann *  KalbachMann,
ptwXY_interpolation  interpolationWY,
ptwXY_interpolation  interpolationXY 
)

Definition at line 51 of file MCGIDI_KalbachMann.cc.

Referenced by MCGIDI_KalbachMann_new(), and MCGIDI_KalbachMann_release().

+ Here is the caller graph for this function:

MCGIDI_KalbachMann* MCGIDI_KalbachMann_new ( statusMessageReporting *  smr,
ptwXY_interpolation  interpolationWY,
ptwXY_interpolation  interpolationXY 
)

Definition at line 39 of file MCGIDI_KalbachMann.cc.

References MCGIDI_KalbachMann_free(), and MCGIDI_KalbachMann_initialize().

Referenced by MCGIDI_KalbachMann_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 89 of file MCGIDI_KalbachMann.cc.

References MCGIDI_fromTOM_interpolation(), MCGIDI_KalbachMann_free(), MCGIDI_KalbachMann_new(), MCGIDI_KalbachMann_parseFromTOM2(), MCGIDI_KalbachMann_S_a_or_b(), MCGIDI_misc_getProductFrame(), MCGIDI_misc_getUnitConversionFactor(), MCGIDI_product_getTargetHeated(), MCGIDI_target_heated_getPOPForProjectile(), MCGIDI_target_heated_getPOPForTarget(), smr_isOk(), xDataTOM_axes_getUnit(), and xDataTOME_getOneElementByName().

Referenced by MCGIDI_energyAngular_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int MCGIDI_KalbachMann_parseFromTOM2 ( statusMessageReporting *  smr,
int  dataPerEout,
int  index,
xDataTOM_KalbachMannCoefficients *  coefficientsXData,
double  energyInFactor,
double  energyOutFactor,
MCGIDI_KalbachMann *  KalbachMann 
)
static

Definition at line 207 of file MCGIDI_KalbachMann.cc.

References n, nfu_statusMessage(), ptwX_free(), ptwX_getPointAtIndex_Unsafely(), ptwXY_free(), ptwXY_getPointAtIndex_Unsafely(), ptwXY_new(), ptwXY_runningIntegral(), ptwXY_setValueAtX(), and smr_freeMemory().

Referenced by MCGIDI_KalbachMann_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_KalbachMann_release ( statusMessageReporting *  smr,
MCGIDI_KalbachMann *  KalbachMann 
)

Definition at line 70 of file MCGIDI_KalbachMann.cc.

References MCGIDI_KalbachMann_initialize(), and smr_freeMemory().

Referenced by MCGIDI_KalbachMann_free().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static double MCGIDI_KalbachMann_S_a_or_b ( double  Z_AB,
double  N_AB,
double  Z_C,
double  N_C,
double  I_ab 
)
static

Definition at line 279 of file MCGIDI_KalbachMann.cc.

References G4Pow::A13(), G4Pow::GetInstance(), and S().

Referenced by MCGIDI_KalbachMann_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_KalbachMann_sampleEp ( statusMessageReporting *  smr,
MCGIDI_KalbachMann *  KalbachMann,
MCGIDI_quantitiesLookupModes &  modes,
MCGIDI_decaySamplingInfo *  decaySamplingInfo 
)

Definition at line 294 of file MCGIDI_KalbachMann.cc.

References a, C1, C2, G4Exp(), G4Log(), MCGIDI_sampling_sampleX_from_pdfsOfXGivenW(), and smr_isOk().

Referenced by MCGIDI_outputChannel_sampleProductsAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation