Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cmath>
#include <ctype.h>
#include <unistd.h>
#include <ptwXY.h>
#include <xDataTOM_importXML_private.h>
#include "MCGIDI.h"
#include "MCGIDI_misc.h"
#include "MCGIDI_fromTOM.h"
Go to the source code of this file.
Classes | |
struct | ZSymbol |
xDataTOM_Int MCGIDI_misc_binarySearch | ( | xDataTOM_Int | n, |
double * | ds, | ||
double | d ) |
Definition at line 228 of file MCGIDI_misc.cc.
Referenced by MCGIDI_sampling_doubleDistribution(), MCGIDI_sampling_sampleX_from_pdfOfX(), and MCGIDI_sampling_sampleX_from_pdfsOfXGivenW().
int MCGIDI_misc_copyXMLAttributesToTOM | ( | statusMessageReporting * | smr, |
xDataTOM_attributionList * | TOM, | ||
xDataXML_attributionList * | XML ) |
Definition at line 296 of file MCGIDI_misc.cc.
ptwXYPoints * MCGIDI_misc_dataFromElement2ptwXYPointsInUnitsOf | ( | statusMessageReporting * | smr, |
xDataTOM_element * | linear, | ||
char const * | toUnits[2] ) |
Definition at line 424 of file MCGIDI_misc.cc.
Referenced by MCGIDI_product_parseFromTOM(), and MCGIDI_reaction_parseFromTOM().
ptwXYPoints * MCGIDI_misc_dataFromXYs2ptwXYPointsInUnitsOf | ( | statusMessageReporting * | smr, |
xDataTOM_XYs * | XYs, | ||
ptwXY_interpolation | interpolation, | ||
char const * | toUnits[2] ) |
Definition at line 405 of file MCGIDI_misc.cc.
Referenced by MCGIDI_angular_parseFromTOM(), and MCGIDI_fromTOM_pdfsOfXGivenW().
char * MCGIDI_misc_getAbsPath | ( | statusMessageReporting * | smr, |
const char * | fileName ) |
Definition at line 250 of file MCGIDI_misc.cc.
Referenced by MCGIDI_target_read().
enum xDataTOM_frame MCGIDI_misc_getProductFrame | ( | statusMessageReporting * | smr, |
xDataTOM_element * | frameElement ) |
Definition at line 315 of file MCGIDI_misc.cc.
Referenced by MCGIDI_angular_parseFromTOM(), MCGIDI_energy_parseFromTOM(), and MCGIDI_KalbachMann_parseFromTOM().
double MCGIDI_misc_getUnitConversionFactor | ( | statusMessageReporting * | smr, |
char const * | fromUnit, | ||
char const * | toUnit ) |
Definition at line 381 of file MCGIDI_misc.cc.
Referenced by MCGIDI_angular_parseFromTOM(), MCGIDI_fromTOM_pdfsOfXGivenW(), MCGIDI_KalbachMann_parseFromTOM(), MCGIDI_misc_PQUStringToDoubleInUnitOf(), and MCGIDI_target_heated_read().
int MCGIDI_misc_NumberOfZSymbols | ( | void | ) |
Definition at line 54 of file MCGIDI_misc.cc.
Referenced by MCGIDI_misc_symbolToZ(), and MCGIDI_misc_ZToSymbol().
char const * MCGIDI_misc_pointerToAttributeIfAllOk | ( | statusMessageReporting * | smr, |
xDataXML_element * | element, | ||
const char * | path, | ||
int | required, | ||
xDataTOM_attributionList * | attributes, | ||
const char * | name, | ||
const char * | file, | ||
int | line ) |
Definition at line 184 of file MCGIDI_misc.cc.
char const * MCGIDI_misc_pointerToTOMAttributeIfAllOk | ( | statusMessageReporting * | smr, |
const char * | path, | ||
int | required, | ||
xDataTOM_attributionList * | attributes, | ||
const char * | name, | ||
const char * | file, | ||
int | line ) |
Definition at line 168 of file MCGIDI_misc.cc.
int MCGIDI_misc_PQUStringToDouble | ( | statusMessageReporting * | smr, |
char const * | str, | ||
char const * | unit, | ||
double | conversion, | ||
double * | value ) |
Definition at line 330 of file MCGIDI_misc.cc.
int MCGIDI_misc_PQUStringToDoubleInUnitOf | ( | statusMessageReporting * | smr, |
char const * | str, | ||
char const * | toUnit, | ||
double * | value ) |
Definition at line 356 of file MCGIDI_misc.cc.
Referenced by MCGIDI_distribution_parseFromTOM(), MCGIDI_outputChannel_parseFromTOM(), and MCGIDI_product_parseFromTOM().
int MCGIDI_misc_setMessageError_Element | ( | statusMessageReporting * | smr, |
void * | userInterface, | ||
xDataXML_element * | element, | ||
const char * | file, | ||
int | line, | ||
int | code, | ||
const char * | fmt, | ||
... ) |
Definition at line 204 of file MCGIDI_misc.cc.
Referenced by MCGIDI_misc_pointerToAttributeIfAllOk(), and MCGIDI_target_read().
int MCGIDI_misc_symbolToZ | ( | const char * | Z | ) |
Definition at line 69 of file MCGIDI_misc.cc.
Referenced by MCGIDI_miscNameToZAm().
void MCGIDI_misc_updateTransportabilitiesMap | ( | transportabilitiesMap * | transportabilities, |
int | PoPID, | ||
enum MCGIDI_transportability | transportability ) |
Definition at line 482 of file MCGIDI_misc.cc.
Referenced by MCGIDI_misc_updateTransportabilitiesMap2(), and MCGIDI_target_heated_read().
void MCGIDI_misc_updateTransportabilitiesMap2 | ( | transportabilitiesMap * | transportabilities, |
int | PoPID, | ||
int | transportable ) |
Definition at line 524 of file MCGIDI_misc.cc.
const char * MCGIDI_misc_ZToSymbol | ( | int | iZ | ) |
Definition at line 61 of file MCGIDI_misc.cc.
Referenced by G4GIDI_Misc_Z_A_m_ToName().
int MCGIDI_miscNameToZAm | ( | statusMessageReporting * | smr, |
const char * | name, | ||
int * | Z, | ||
int * | A, | ||
int * | m, | ||
int * | level ) |
Definition at line 81 of file MCGIDI_misc.cc.
Referenced by G4GIDI_Misc_channelCompound(), MCGIDI_particle_getInternalID(), and MCGIDI_POP_new().