Geant4
10.02
|
#include <map>
#include <string.h>
#include <cmath>
#include <xDataTOM.h>
#include "MCGIDI.h"
#include "MCGIDI_misc.h"
#include "MCGIDI_private.h"
Go to the source code of this file.
Functions | |
static int | MCGIDI_target_heated_parsePOPs (statusMessageReporting *smr, MCGIDI_target_heated *target, xDataTOM_element *element, xDataTOM_element *particleAliases) |
static int | MCGIDI_target_heated_parseParticle (statusMessageReporting *smr, MCGIDI_target_heated *target, xDataTOM_element *element, xDataTOM_element *particleAliases) |
static int | MCGIDI_target_heated_parseParticleLevel (statusMessageReporting *smr, MCGIDI_target_heated *target, xDataTOM_element *element, MCGIDI_POP *parent, double mass_MeV, xDataTOM_element *particleAliases) |
static int | MCGIDI_target_heated_parseParticleGammas (statusMessageReporting *smr, MCGIDI_target_heated *target, xDataTOM_element *element, char const *name) |
static int | MCGIDI_target_heated_parseReaction (statusMessageReporting *smr, xDataTOM_element *child, MCGIDI_target_heated *target, MCGIDI_POPs *pops, MCGIDI_reaction *reaction) |
MCGIDI_target_heated * | MCGIDI_target_heated_new (statusMessageReporting *smr) |
int | MCGIDI_target_heated_initialize (statusMessageReporting *smr, MCGIDI_target_heated *target) |
MCGIDI_target_heated * | MCGIDI_target_heated_newRead (statusMessageReporting *smr, const char *fileName) |
MCGIDI_target_heated * | MCGIDI_target_heated_free (statusMessageReporting *smr, MCGIDI_target_heated *target) |
int | MCGIDI_target_heated_release (statusMessageReporting *, MCGIDI_target_heated *target) |
int | MCGIDI_target_heated_read (statusMessageReporting *smr, MCGIDI_target_heated *target, const char *fileName) |
int | MCGIDI_target_heated_numberOfReactions (statusMessageReporting *, MCGIDI_target_heated *target) |
int | MCGIDI_target_heated_numberOfProductionReactions (statusMessageReporting *, MCGIDI_target_heated *) |
MCGIDI_reaction * | MCGIDI_target_heated_getReactionAtIndex (MCGIDI_target_heated *target, int index) |
MCGIDI_reaction * | MCGIDI_target_heated_getReactionAtIndex_smr (statusMessageReporting *smr, MCGIDI_target_heated *target, int index) |
MCGIDI_POP * | MCGIDI_target_heated_getPOPForProjectile (statusMessageReporting *, MCGIDI_target_heated *target) |
MCGIDI_POP * | MCGIDI_target_heated_getPOPForTarget (statusMessageReporting *, MCGIDI_target_heated *target) |
double | MCGIDI_target_heated_getProjectileMass_MeV (statusMessageReporting *, MCGIDI_target_heated *target) |
double | MCGIDI_target_heated_getTargetMass_MeV (statusMessageReporting *, MCGIDI_target_heated *target) |
double | MCGIDI_target_heated_getTotalCrossSectionAtE (statusMessageReporting *smr, MCGIDI_target_heated *target, MCGIDI_quantitiesLookupModes &modes, bool sampling) |
double | MCGIDI_target_heated_getIndexReactionCrossSectionAtE (statusMessageReporting *smr, MCGIDI_target_heated *target, int index, MCGIDI_quantitiesLookupModes &modes, bool sampling) |
int | MCGIDI_target_heated_sampleIndexReactionProductsAtE (statusMessageReporting *smr, MCGIDI_target_heated *target, int index, MCGIDI_quantitiesLookupModes &modes, MCGIDI_decaySamplingInfo *decaySamplingInfo, MCGIDI_sampledProductsDatas *productDatas) |
double | MCGIDI_target_heated_getReactionsThreshold (statusMessageReporting *, MCGIDI_target_heated *target, int index) |
int | MCGIDI_target_heated_getReactionsDomain (statusMessageReporting *, MCGIDI_target_heated *target, int index, double *EMin, double *EMax) |
double | MCGIDI_target_heated_getIndexReactionFinalQ (statusMessageReporting *smr, MCGIDI_target_heated *target, int index, MCGIDI_quantitiesLookupModes &modes) |
std::map< int, enum MCGIDI_transportability > const * | MCGIDI_target_heated_getUniqueProducts (statusMessageReporting *, MCGIDI_target_heated *target) |
int | MCGIDI_target_heated_recast (statusMessageReporting *smr, MCGIDI_target_heated *target, GIDI_settings &settings) |
MCGIDI_target_heated* MCGIDI_target_heated_free | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target | ||
) |
Definition at line 64 of file MCGIDI_target_heated.cc.
References MCGIDI_target_heated_release(), and smr_freeMemory().
Referenced by MCGIDI_target_release().
double MCGIDI_target_heated_getIndexReactionCrossSectionAtE | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target, | ||
int | index, | ||
MCGIDI_quantitiesLookupModes & | modes, | ||
bool | sampling | ||
) |
Definition at line 496 of file MCGIDI_target_heated.cc.
References MCGIDI_reaction_getCrossSectionAtE(), and MCGIDI_target_heated_getReactionAtIndex_smr().
Referenced by MCGIDI_target_getIndexReactionCrossSectionAtE().
double MCGIDI_target_heated_getIndexReactionFinalQ | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target, | ||
int | index, | ||
MCGIDI_quantitiesLookupModes & | modes | ||
) |
Definition at line 542 of file MCGIDI_target_heated.cc.
References MCGIDI_reaction_getFinalQ(), and MCGIDI_target_heated_getReactionAtIndex_smr().
Referenced by MCGIDI_target_getIndexReactionFinalQ().
MCGIDI_POP* MCGIDI_target_heated_getPOPForProjectile | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target | ||
) |
Definition at line 433 of file MCGIDI_target_heated.cc.
Referenced by MCGIDI_KalbachMann_parseFromTOM().
MCGIDI_POP* MCGIDI_target_heated_getPOPForTarget | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target | ||
) |
Definition at line 440 of file MCGIDI_target_heated.cc.
Referenced by MCGIDI_KalbachMann_parseFromTOM().
double MCGIDI_target_heated_getProjectileMass_MeV | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target | ||
) |
Definition at line 447 of file MCGIDI_target_heated.cc.
References MCGIDI_POP_getMass_MeV().
Referenced by MCGIDI_reaction_getProjectileMass_MeV().
MCGIDI_reaction* MCGIDI_target_heated_getReactionAtIndex | ( | MCGIDI_target_heated * | target, |
int | index | ||
) |
Definition at line 401 of file MCGIDI_target_heated.cc.
Referenced by G4GIDI_target::getChannelIDs(), G4GIDI_target::init(), MCGIDI_target_getReactionAtIndex(), MCGIDI_target_heated_getReactionAtIndex_smr(), MCGIDI_target_heated_getReactionsDomain(), MCGIDI_target_heated_getReactionsThreshold(), and MCGIDI_target_sampleReaction().
MCGIDI_reaction* MCGIDI_target_heated_getReactionAtIndex_smr | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target, | ||
int | index | ||
) |
Definition at line 409 of file MCGIDI_target_heated.cc.
References MCGIDI_target_heated_getReactionAtIndex().
Referenced by G4GIDI_target::getChannelsID(), G4GIDI_target::getElasticFinalState(), MCGIDI_target_getReactionAtIndex_smr(), MCGIDI_target_getReactionTypeAtIndex(), MCGIDI_target_heated_getIndexReactionCrossSectionAtE(), MCGIDI_target_heated_getIndexReactionFinalQ(), and MCGIDI_target_heated_sampleIndexReactionProductsAtE().
int MCGIDI_target_heated_getReactionsDomain | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target, | ||
int | index, | ||
double * | EMin, | ||
double * | EMax | ||
) |
Definition at line 530 of file MCGIDI_target_heated.cc.
References MCGIDI_target_heated_getReactionAtIndex().
Referenced by G4GIDI_target::getReactionsDomain(), and MCGIDI_target_getDomain().
double MCGIDI_target_heated_getReactionsThreshold | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target, | ||
int | index | ||
) |
Definition at line 520 of file MCGIDI_target_heated.cc.
References MCGIDI_target_heated_getReactionAtIndex().
Referenced by G4GIDI_target::getReactionsThreshold().
double MCGIDI_target_heated_getTargetMass_MeV | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target | ||
) |
Definition at line 454 of file MCGIDI_target_heated.cc.
References MCGIDI_POP_getMass_MeV().
Referenced by MCGIDI_reaction_getTargetMass_MeV().
double MCGIDI_target_heated_getTotalCrossSectionAtE | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target, | ||
MCGIDI_quantitiesLookupModes & | modes, | ||
bool | sampling | ||
) |
Definition at line 461 of file MCGIDI_target_heated.cc.
References ptwX_getPointAtIndex(), ptwX_length(), and ptwXY_getValueAtX().
Referenced by MCGIDI_target_getTotalCrossSectionAtTAndE().
std::map<int, enum MCGIDI_transportability> const* MCGIDI_target_heated_getUniqueProducts | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target | ||
) |
Definition at line 553 of file MCGIDI_target_heated.cc.
Referenced by MCGIDI_target_getUniqueProducts().
int MCGIDI_target_heated_initialize | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target | ||
) |
Definition at line 43 of file MCGIDI_target_heated.cc.
References MCGIDI_POPs_initial().
Referenced by MCGIDI_target_heated_new().
MCGIDI_target_heated* MCGIDI_target_heated_new | ( | statusMessageReporting * | smr | ) |
Definition at line 32 of file MCGIDI_target_heated.cc.
References MCGIDI_target_heated_initialize(), and smr_freeMemory().
Referenced by MCGIDI_target_heated_newRead().
MCGIDI_target_heated* MCGIDI_target_heated_newRead | ( | statusMessageReporting * | smr, |
const char * | fileName | ||
) |
Definition at line 53 of file MCGIDI_target_heated.cc.
References MCGIDI_target_heated_new(), MCGIDI_target_heated_read(), and smr_freeMemory().
Referenced by MCGIDI_target_readHeatedTarget().
int MCGIDI_target_heated_numberOfProductionReactions | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | |||
) |
Definition at line 394 of file MCGIDI_target_heated.cc.
Referenced by MCGIDI_target_numberOfProductionReactions().
int MCGIDI_target_heated_numberOfReactions | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target | ||
) |
Definition at line 387 of file MCGIDI_target_heated.cc.
Referenced by MCGIDI_target_numberOfReactions().
|
static |
Definition at line 235 of file MCGIDI_target_heated.cc.
References MCGIDI_misc_PQUStringToDouble(), MCGIDI_POPs_addParticleIfNeeded(), MCGIDI_target_heated_parseParticleLevel(), name, xDataTOM_getAttributesValueInElement(), xDataTOME_getFirstElement(), and xDataTOME_getNextElement().
Referenced by MCGIDI_target_heated_parsePOPs().
|
static |
Definition at line 331 of file MCGIDI_target_heated.cc.
References MCGIDI_POPs_findParticle(), smr_freeMemory(), xDataTOM_getAttributesValueInElement(), xDataTOME_convertAttributeToDouble(), xDataTOME_getFirstElement(), and xDataTOME_getNextElement().
Referenced by MCGIDI_target_heated_parseParticleLevel().
|
static |
Definition at line 296 of file MCGIDI_target_heated.cc.
References MCGIDI_misc_PQUStringToDoubleInUnitOf(), MCGIDI_POPs_addParticleIfNeeded(), MCGIDI_target_heated_parseParticleGammas(), name, xDataTOM_getAttributesValueInElement(), xDataTOME_getFirstElement(), and xDataTOME_getNextElement().
Referenced by MCGIDI_target_heated_parseParticle().
|
static |
Definition at line 215 of file MCGIDI_target_heated.cc.
References MCGIDI_target_heated_parseParticle(), xDataTOME_getFirstElement(), and xDataTOME_getNextElement().
Referenced by MCGIDI_target_heated_read().
|
static |
Definition at line 372 of file MCGIDI_target_heated.cc.
References MCGIDI_reaction_parseFromTOM(), and xDataTOM_getAttributesValueInElement().
Referenced by MCGIDI_target_heated_read().
int MCGIDI_target_heated_read | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target, | ||
const char * | fileName | ||
) |
Definition at line 92 of file MCGIDI_target_heated.cc.
References e1, MCGIDI_misc_getUnitConversionFactor(), MCGIDI_misc_updateTransportabilitiesMap(), MCGIDI_POPs_findParticle(), MCGIDI_reaction_fixDomains(), MCGIDI_reaction_getDomain(), MCGIDI_target_heated_parsePOPs(), MCGIDI_target_heated_parseReaction(), MCGIDI_target_heated_release(), n, name, nfu_statusMessage(), ptwXY_add_ptwXY(), ptwXY_create(), ptwXY_free(), smr_isOk(), xDataTOM_freeTOM(), xDataTOM_getAttributesValueInElement(), xDataTOM_getDocumentsElement(), xDataTOM_importFile(), xDataTOM_numberOfElementsByName(), xDataTOMAL_copyAttributionList(), xDataTOME_getFirstElement(), xDataTOME_getNextElement(), xDataTOME_getOneElementByName(), and xDataTOMMisc_getAbsPath().
Referenced by MCGIDI_target_heated_newRead().
int MCGIDI_target_heated_recast | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target, | ||
GIDI_settings & | settings | ||
) |
Definition at line 560 of file MCGIDI_target_heated.cc.
References GIDI_settings_particle::getNumberOfGroups(), GIDI_settings::getParticle(), GIDI_settings_particle::isEnergyMode_grouped(), MCGIDI_reaction_recast(), nfu_statusMessage(), ptwX_clone(), ptwX_createLine(), ptwX_free(), ptwX_getPointAtIndex_Unsafely(), and ptwX_setPointAtIndex().
Referenced by MCGIDI_target_recast().
int MCGIDI_target_heated_release | ( | statusMessageReporting * | , |
MCGIDI_target_heated * | target | ||
) |
Definition at line 73 of file MCGIDI_target_heated.cc.
References MCGIDI_POPs_release(), MCGIDI_reaction_release(), ptwX_free(), ptwXY_free(), smr_freeMemory(), and xDataTOMAL_release().
Referenced by MCGIDI_target_heated_free(), and MCGIDI_target_heated_read().
int MCGIDI_target_heated_sampleIndexReactionProductsAtE | ( | statusMessageReporting * | smr, |
MCGIDI_target_heated * | target, | ||
int | index, | ||
MCGIDI_quantitiesLookupModes & | modes, | ||
MCGIDI_decaySamplingInfo * | decaySamplingInfo, | ||
MCGIDI_sampledProductsDatas * | productDatas | ||
) |
Definition at line 508 of file MCGIDI_target_heated.cc.
References MCGIDI_outputChannel_sampleProductsAtE(), and MCGIDI_target_heated_getReactionAtIndex_smr().
Referenced by G4GIDI_target::getFinalState(), and MCGIDI_target_sampleIndexReactionProductsAtE().