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

Go to the source code of this file.

Functions

MCGIDI_outputChannel * MCGIDI_outputChannel_new (statusMessageReporting *smr)
 
int MCGIDI_outputChannel_initialize (statusMessageReporting *, MCGIDI_outputChannel *outputChannel)
 
MCGIDI_outputChannel * MCGIDI_outputChannel_free (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel)
 
int MCGIDI_outputChannel_release (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel)
 
int MCGIDI_outputChannel_parseFromTOM (statusMessageReporting *smr, xDataTOM_element *element, MCGIDI_POPs *pops, MCGIDI_outputChannel *outputChannel, MCGIDI_reaction *reaction, MCGIDI_product *parent)
 
int MCGIDI_outputChannel_numberOfProducts (MCGIDI_outputChannel *outputChannel)
 
MCGIDI_product * MCGIDI_outputChannel_getProductAtIndex (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel, int i)
 
int MCGIDI_outputChannel_getDomain (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel, double *EMin, double *EMax)
 
MCGIDI_target_heated * MCGIDI_outputChannel_getTargetHeated (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel)
 
double MCGIDI_outputChannel_getProjectileMass_MeV (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel)
 
double MCGIDI_outputChannel_getTargetMass_MeV (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel)
 
double MCGIDI_outputChannel_getQ_MeV (statusMessageReporting *, MCGIDI_outputChannel *outputChannel, double)
 
double MCGIDI_outputChannel_getFinalQ (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel, double e_in)
 
int MCGIDI_outputChannel_sampleProductsAtE (statusMessageReporting *smr, MCGIDI_outputChannel *outputChannel, MCGIDI_quantitiesLookupModes &modes, MCGIDI_decaySamplingInfo *decaySamplingInfo, MCGIDI_sampledProductsDatas *productDatas, double *masses_)
 

Function Documentation

MCGIDI_outputChannel* MCGIDI_outputChannel_free ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel 
)

Definition at line 39 of file MCGIDI_outputChannel.cc.

References MCGIDI_outputChannel_release(), and smr_freeMemory().

Referenced by MCGIDI_outputChannel_new().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_outputChannel_getDomain ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel,
double *  EMin,
double *  EMax 
)

Definition at line 144 of file MCGIDI_outputChannel.cc.

References MCGIDI_product_getDomain(), and MCGIDI_reaction_getDomain().

Referenced by MCGIDI_product_getDomain().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double MCGIDI_outputChannel_getFinalQ ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel,
double  e_in 
)

Definition at line 183 of file MCGIDI_outputChannel.cc.

References Q, and smr_isOk().

+ Here is the call graph for this function:

MCGIDI_product* MCGIDI_outputChannel_getProductAtIndex ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel,
int  i 
)

Definition at line 133 of file MCGIDI_outputChannel.cc.

Referenced by G4GIDI_target::getElasticFinalState(), and MCGIDI_reaction_ParseDetermineReactionProducts().

+ Here is the caller graph for this function:

double MCGIDI_outputChannel_getProjectileMass_MeV ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel 
)

Definition at line 160 of file MCGIDI_outputChannel.cc.

References MCGIDI_product_getProjectileMass_MeV(), and MCGIDI_reaction_getProjectileMass_MeV().

Referenced by MCGIDI_product_getProjectileMass_MeV().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double MCGIDI_outputChannel_getQ_MeV ( statusMessageReporting *  ,
MCGIDI_outputChannel *  outputChannel,
double   
)

Definition at line 176 of file MCGIDI_outputChannel.cc.

Referenced by MCGIDI_energy_parseNBodyPhaseSpaceFromTOM(), and MCGIDI_reaction_ParseDetermineReactionProducts().

+ Here is the caller graph for this function:

MCGIDI_target_heated* MCGIDI_outputChannel_getTargetHeated ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel 
)

Definition at line 152 of file MCGIDI_outputChannel.cc.

References MCGIDI_product_getTargetHeated(), and MCGIDI_reaction_getTargetHeated().

Referenced by MCGIDI_product_getTargetHeated().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double MCGIDI_outputChannel_getTargetMass_MeV ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel 
)

Definition at line 168 of file MCGIDI_outputChannel.cc.

References MCGIDI_product_getTargetMass_MeV(), and MCGIDI_reaction_getTargetMass_MeV().

Referenced by MCGIDI_product_getTargetMass_MeV().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_outputChannel_initialize ( statusMessageReporting *  ,
MCGIDI_outputChannel *  outputChannel 
)

Definition at line 31 of file MCGIDI_outputChannel.cc.

Referenced by MCGIDI_outputChannel_new(), MCGIDI_outputChannel_parseFromTOM(), and MCGIDI_outputChannel_release().

+ Here is the caller graph for this function:

MCGIDI_outputChannel* MCGIDI_outputChannel_new ( statusMessageReporting *  smr)

Definition at line 20 of file MCGIDI_outputChannel.cc.

References MCGIDI_outputChannel_free(), and MCGIDI_outputChannel_initialize().

+ Here is the call graph for this function:

int MCGIDI_outputChannel_numberOfProducts ( MCGIDI_outputChannel *  outputChannel)

Definition at line 126 of file MCGIDI_outputChannel.cc.

Referenced by MCGIDI_reaction_ParseDetermineReactionProducts().

+ Here is the caller graph for this function:

int MCGIDI_outputChannel_parseFromTOM ( statusMessageReporting *  smr,
xDataTOM_element *  element,
MCGIDI_POPs *  pops,
MCGIDI_outputChannel *  outputChannel,
MCGIDI_reaction *  reaction,
MCGIDI_product *  parent 
)

Definition at line 61 of file MCGIDI_outputChannel.cc.

References MCGIDI_misc_PQUStringToDoubleInUnitOf(), MCGIDI_outputChannel_initialize(), MCGIDI_outputChannel_release(), MCGIDI_product_getMass_MeV(), MCGIDI_product_parseFromTOM(), MCGIDI_product_setTwoBodyMasses(), MCGIDI_reaction_getProjectileMass_MeV(), MCGIDI_reaction_getTargetMass_MeV(), n, Q, xDataTOM_getAttributesValueInElement(), xDataTOM_numberOfElementsByName(), xDataTOME_getFirstElement(), and xDataTOME_getNextElement().

Referenced by MCGIDI_product_parseFromTOM(), and MCGIDI_reaction_parseFromTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_outputChannel_release ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel 
)

Definition at line 48 of file MCGIDI_outputChannel.cc.

References MCGIDI_outputChannel_initialize(), MCGIDI_product_release(), and smr_freeMemory().

Referenced by MCGIDI_outputChannel_free(), MCGIDI_outputChannel_parseFromTOM(), MCGIDI_product_release(), and MCGIDI_reaction_release().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int MCGIDI_outputChannel_sampleProductsAtE ( statusMessageReporting *  smr,
MCGIDI_outputChannel *  outputChannel,
MCGIDI_quantitiesLookupModes &  modes,
MCGIDI_decaySamplingInfo *  decaySamplingInfo,
MCGIDI_sampledProductsDatas *  productDatas,
double *  masses_ 
)

Definition at line 199 of file MCGIDI_outputChannel.cc.

References G4Log(), MCGIDI_angular_sampleMu(), MCGIDI_angularEnergy_sampleDistribution(), MCGIDI_energyAngular_sampleDistribution(), MCGIDI_KalbachMann_sampleEp(), MCGIDI_kinetics_2BodyReaction(), MCGIDI_kinetics_COM2Lab(), MCGIDI_product_getMass_MeV(), MCGIDI_product_sampleMultiplicity(), MCGIDI_reaction_getProjectileMass_MeV(), MCGIDI_reaction_getTargetMass_MeV(), MCGIDI_sampledProducts_addProduct(), MCGIDI_uncorrelated_sampleDistribution(), and smr_isOk().

Referenced by MCGIDI_target_heated_sampleIndexReactionProductsAtE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: