Geant4  10.02.p01
MCGIDI_target_heated.cc File Reference
#include <map>
#include <string.h>
#include <cmath>
#include <xDataTOM.h>
#include "MCGIDI.h"
#include "MCGIDI_misc.h"
#include "MCGIDI_private.h"
+ Include dependency graph for MCGIDI_target_heated.cc:

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)
 

Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_target_heated_numberOfProductionReactions ( statusMessageReporting *  ,
MCGIDI_target_heated *   
)

Definition at line 394 of file MCGIDI_target_heated.cc.

Referenced by MCGIDI_target_numberOfProductionReactions().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

static int MCGIDI_target_heated_parseParticle ( statusMessageReporting *  smr,
MCGIDI_target_heated *  target,
xDataTOM_element *  element,
xDataTOM_element *  particleAliases 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int MCGIDI_target_heated_parseParticleGammas ( statusMessageReporting *  smr,
MCGIDI_target_heated *  target,
xDataTOM_element *  element,
char const *  name 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int MCGIDI_target_heated_parsePOPs ( statusMessageReporting *  smr,
MCGIDI_target_heated *  target,
xDataTOM_element *  element,
xDataTOM_element *  particleAliases 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int MCGIDI_target_heated_parseReaction ( statusMessageReporting *  smr,
xDataTOM_element *  child,
MCGIDI_target_heated *  target,
MCGIDI_POPs *  pops,
MCGIDI_reaction *  reaction 
)
static

Definition at line 372 of file MCGIDI_target_heated.cc.

References MCGIDI_reaction_parseFromTOM(), and xDataTOM_getAttributesValueInElement().

Referenced by MCGIDI_target_heated_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_target_heated_read ( statusMessageReporting *  smr,
MCGIDI_target_heated *  target,
const char *  fileName 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: