Geant4-11
|
#include <G4GIDI_target.hh>
Public Member Functions | |
G4GIDI_target (const char *fileName) | |
G4GIDI_target (std::string const &fileName) | |
int | getA (void) |
double | getCaptureCrossSectionAtE (double e_in, double temperature) |
std::vector< G4GIDI_Product > * | getCaptureFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState) |
std::vector< channelID > * | getChannelIDs (void) |
channelID | getChannelsID (int channelIndex) |
double | getElasticCrossSectionAtE (double e_in, double temperature) |
double | getElasticFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState) |
std::vector< double > * | getEnergyGridAtTIndex (int index) |
std::string | getEqualProbableBinSampleMethod (void) |
std::string * | getFilename (void) |
std::vector< G4GIDI_Product > * | getFinalState (int nIndices, int *indices, double e_in, double temperature, double(*rng)(void *), void *rngState) |
double | getFissionCrossSectionAtE (double e_in, double temperature) |
std::vector< G4GIDI_Product > * | getFissionFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState) |
int | getM (void) |
double | getMass (void) |
std::string * | getName (void) |
int | getNumberOfChannels (void) |
int | getNumberOfProductionChannels (void) |
double | getOthersCrossSectionAtE (double e_in, double temperature) |
std::vector< G4GIDI_Product > * | getOthersFinalState (double e_in, double temperature, double(*rng)(void *), void *rngState) |
std::vector< channelID > * | getProductionChannelIDs (void) |
double | getReactionsDomain (int index, double *EMin, double *EMax) |
double | getReactionsThreshold (int index) |
int | getTemperatures (double *temperatures) |
double | getTotalCrossSectionAtE (double e_in, double temperature) |
int | getZ (void) |
void | init (const char *fileName) |
int | readTemperature (int index) |
int | sampleChannelCrossSectionAtE (int nIndices, int *indices, double e_in, double temperature, double(*rng)(void *), void *rngState) |
int | setEqualProbableBinSampleMethod (std::string method) |
double | sumChannelCrossSectionAtE (int nIndices, int *indices, double e_in, double temperature) |
~G4GIDI_target () | |
Data Fields | |
int * | captureIndices |
int * | elasticIndices |
std::string | equalProbableBinSampleMethod |
int * | fissionIndices |
double | mass |
std::string | name |
int | nCaptureIndices |
int | nElasticIndices |
int | nFissionIndices |
int | nOthersIndices |
int * | othersIndices |
int | projectilesPOPID |
GIDI::statusMessageReporting | smr |
std::string | sourceFilename |
GIDI::MCGIDI_target * | target |
Definition at line 58 of file G4GIDI_target.hh.
G4GIDI_target::G4GIDI_target | ( | const char * | fileName | ) |
G4GIDI_target::G4GIDI_target | ( | std::string const & | fileName | ) |
Definition at line 51 of file G4GIDI_target.cc.
References init().
G4GIDI_target::~G4GIDI_target | ( | ) |
Definition at line 134 of file G4GIDI_target.cc.
References elasticIndices, MCGIDI_target_free(), smr, smr_freeMemory(), smr_release(), and target.
int G4GIDI_target::getA | ( | void | ) |
Definition at line 158 of file G4GIDI_target.cc.
References target.
double G4GIDI_target::getCaptureCrossSectionAtE | ( | double | e_in, |
double | temperature | ||
) |
Definition at line 284 of file G4GIDI_target.cc.
References captureIndices, nCaptureIndices, and sumChannelCrossSectionAtE().
Referenced by G4LENDCaptureCrossSection::getLENDCrossSection().
vector< G4GIDI_Product > * G4GIDI_target::getCaptureFinalState | ( | double | e_in, |
double | temperature, | ||
double(*)(void *) | rng, | ||
void * | rngState | ||
) |
Definition at line 371 of file G4GIDI_target.cc.
References captureIndices, getFinalState(), and nCaptureIndices.
Referenced by G4LENDCapture::ApplyYourself().
vector< channelID > * G4GIDI_target::getChannelIDs | ( | void | ) |
Definition at line 241 of file G4GIDI_target.cc.
References MCGIDI_target_heated_getReactionAtIndex(), MCGIDI_target_numberOfReactions(), CLHEP::detail::n, MCGIDI_reaction_s::outputChannelStr, smr, and target.
channelID G4GIDI_target::getChannelsID | ( | int | channelIndex | ) |
Definition at line 228 of file G4GIDI_target.cc.
References MCGIDI_target_heated_getReactionAtIndex_smr(), MCGIDI_reaction_s::outputChannelStr, smr, smr_print(), and target.
double G4GIDI_target::getElasticCrossSectionAtE | ( | double | e_in, |
double | temperature | ||
) |
Definition at line 277 of file G4GIDI_target.cc.
References elasticIndices, nElasticIndices, and sumChannelCrossSectionAtE().
Referenced by G4LENDElasticCrossSection::getLENDCrossSection().
double G4GIDI_target::getElasticFinalState | ( | double | e_in, |
double | temperature, | ||
double(*)(void *) | rng, | ||
void * | rngState | ||
) |
Definition at line 342 of file G4GIDI_target.cc.
References elasticIndices, MCGIDI_decaySamplingInfo_s::isVelocity, MCGIDI_outputChannel_getProductAtIndex(), MCGIDI_product_sampleMu(), MCGIDI_quantityLookupMode_pointwise, MCGIDI_target_heated_getReactionAtIndex_smr(), MCGIDI_decaySamplingInfo_s::mu, MCGIDI_reaction_s::outputChannel, projectilesPOPID, MCGIDI_decaySamplingInfo_s::rng, MCGIDI_decaySamplingInfo_s::rngState, MCGIDI_quantitiesLookupModes::setCrossSectionMode(), MCGIDI_quantitiesLookupModes::setProjectileEnergy(), MCGIDI_quantitiesLookupModes::setTemperature(), smr, smr_print(), and target.
Referenced by G4LENDElastic::ApplyYourself(), and G4LENDModel::ApplyYourself().
std::vector< double > * G4GIDI_target::getEnergyGridAtTIndex | ( | int | index | ) |
string G4GIDI_target::getEqualProbableBinSampleMethod | ( | void | ) |
Definition at line 193 of file G4GIDI_target.cc.
References equalProbableBinSampleMethod.
string * G4GIDI_target::getFilename | ( | void | ) |
vector< G4GIDI_Product > * G4GIDI_target::getFinalState | ( | int | nIndices, |
int * | indices, | ||
double | e_in, | ||
double | temperature, | ||
double(*)(void *) | rng, | ||
void * | rngState | ||
) |
Definition at line 392 of file G4GIDI_target.cc.
References MCGIDI_POP_s::A, MCGIDI_sampledProductsData_s::birthTimeSec, MCGIDI_decaySamplingInfo_s::isVelocity, MCGIDI_sampledProductsData_s::kineticEnergy, MCGIDI_POP_s::m, MCGIDI_quantityLookupMode_pointwise, MCGIDI_sampledProducts_initialize(), MCGIDI_sampledProducts_release(), MCGIDI_target_heated_sampleIndexReactionProductsAtE(), CLHEP::detail::n, MCGIDI_sampledProductsData_s::pop, MCGIDI_sampledProductsDatas_s::products, projectilesPOPID, MCGIDI_sampledProductsData_s::px_vx, MCGIDI_sampledProductsData_s::py_vy, MCGIDI_sampledProductsData_s::pz_vz, MCGIDI_decaySamplingInfo_s::rng, MCGIDI_decaySamplingInfo_s::rngState, sampleChannelCrossSectionAtE(), MCGIDI_quantitiesLookupModes::setCrossSectionMode(), MCGIDI_quantitiesLookupModes::setProjectileEnergy(), MCGIDI_quantitiesLookupModes::setTemperature(), smr, smr_isOk(), smr_print(), target, and MCGIDI_POP_s::Z.
Referenced by getCaptureFinalState(), getFissionFinalState(), and getOthersFinalState().
double G4GIDI_target::getFissionCrossSectionAtE | ( | double | e_in, |
double | temperature | ||
) |
Definition at line 291 of file G4GIDI_target.cc.
References fissionIndices, nFissionIndices, and sumChannelCrossSectionAtE().
Referenced by G4LENDFissionCrossSection::getLENDCrossSection().
vector< G4GIDI_Product > * G4GIDI_target::getFissionFinalState | ( | double | e_in, |
double | temperature, | ||
double(*)(void *) | rng, | ||
void * | rngState | ||
) |
Definition at line 378 of file G4GIDI_target.cc.
References fissionIndices, getFinalState(), and nFissionIndices.
Referenced by G4LENDFission::ApplyYourself().
int G4GIDI_target::getM | ( | void | ) |
Definition at line 165 of file G4GIDI_target.cc.
References target.
double G4GIDI_target::getMass | ( | void | ) |
Definition at line 172 of file G4GIDI_target.cc.
References mass.
string * G4GIDI_target::getName | ( | void | ) |
int G4GIDI_target::getNumberOfChannels | ( | void | ) |
Definition at line 214 of file G4GIDI_target.cc.
References MCGIDI_target_numberOfReactions(), smr, and target.
int G4GIDI_target::getNumberOfProductionChannels | ( | void | ) |
Definition at line 221 of file G4GIDI_target.cc.
References MCGIDI_target_numberOfProductionReactions(), smr, and target.
double G4GIDI_target::getOthersCrossSectionAtE | ( | double | e_in, |
double | temperature | ||
) |
Definition at line 298 of file G4GIDI_target.cc.
References nOthersIndices, othersIndices, and sumChannelCrossSectionAtE().
Referenced by G4LENDInelasticCrossSection::getLENDCrossSection().
vector< G4GIDI_Product > * G4GIDI_target::getOthersFinalState | ( | double | e_in, |
double | temperature, | ||
double(*)(void *) | rng, | ||
void * | rngState | ||
) |
Definition at line 385 of file G4GIDI_target.cc.
References getFinalState(), nOthersIndices, and othersIndices.
Referenced by G4LENDInelastic::ApplyYourself().
vector< channelID > * G4GIDI_target::getProductionChannelIDs | ( | void | ) |
Definition at line 257 of file G4GIDI_target.cc.
double G4GIDI_target::getReactionsDomain | ( | int | index, |
double * | EMin, | ||
double * | EMax | ||
) |
Definition at line 461 of file G4GIDI_target.cc.
References MCGIDI_target_heated_getReactionsDomain(), smr, and target.
double G4GIDI_target::getReactionsThreshold | ( | int | index | ) |
Definition at line 454 of file G4GIDI_target.cc.
References MCGIDI_target_heated_getReactionsThreshold(), smr, and target.
int G4GIDI_target::getTemperatures | ( | double * | temperatures | ) |
Definition at line 179 of file G4GIDI_target.cc.
References MCGIDI_target_getTemperatures(), smr, and target.
double G4GIDI_target::getTotalCrossSectionAtE | ( | double | e_in, |
double | temperature | ||
) |
Definition at line 264 of file G4GIDI_target.cc.
References MCGIDI_quantityLookupMode_pointwise, MCGIDI_target_getTotalCrossSectionAtTAndE(), projectilesPOPID, MCGIDI_quantitiesLookupModes::setCrossSectionMode(), MCGIDI_quantitiesLookupModes::setProjectileEnergy(), MCGIDI_quantitiesLookupModes::setTemperature(), and target.
int G4GIDI_target::getZ | ( | void | ) |
Definition at line 151 of file G4GIDI_target.cc.
References target.
void G4GIDI_target::init | ( | const char * | fileName | ) |
Definition at line 58 of file G4GIDI_target.cc.
References captureIndices, elasticIndices, equalProbableBinSampleMethod, fissionIndices, G4GIDI_targetMass(), mass, MCGIDI_reaction_getENDF_MTNumber(), MCGIDI_target_heated_getReactionAtIndex(), MCGIDI_target_newRead(), MCGIDI_target_numberOfReactions(), CLHEP::detail::n, name, nCaptureIndices, nElasticIndices, nFissionIndices, nOthersIndices, othersIndices, projectilesPOPID, smr, smr_initialize(), smr_isOk(), smr_malloc2, smr_print(), smr_status_Ok, sourceFilename, and target.
Referenced by demo.App::__init__(), testem0.App::__init__(), Lesson1.App::__init__(), ExN03.App::__init__(), and G4GIDI_target().
int G4GIDI_target::readTemperature | ( | int | index | ) |
Definition at line 186 of file G4GIDI_target.cc.
References MCGIDI_target_readHeatedTarget(), smr, and target.
int G4GIDI_target::sampleChannelCrossSectionAtE | ( | int | nIndices, |
int * | indices, | ||
double | e_in, | ||
double | temperature, | ||
double(*)(void *) | rng, | ||
void * | rngState | ||
) |
Definition at line 322 of file G4GIDI_target.cc.
References MCGIDI_quantityLookupMode_pointwise, MCGIDI_target_getIndexReactionCrossSectionAtE(), projectilesPOPID, MCGIDI_quantitiesLookupModes::setCrossSectionMode(), MCGIDI_quantitiesLookupModes::setProjectileEnergy(), MCGIDI_quantitiesLookupModes::setTemperature(), smr, sumChannelCrossSectionAtE(), and target.
Referenced by getFinalState().
int G4GIDI_target::setEqualProbableBinSampleMethod | ( | std::string | method | ) |
Definition at line 200 of file G4GIDI_target.cc.
References equalProbableBinSampleMethod.
double G4GIDI_target::sumChannelCrossSectionAtE | ( | int | nIndices, |
int * | indices, | ||
double | e_in, | ||
double | temperature | ||
) |
Definition at line 305 of file G4GIDI_target.cc.
References MCGIDI_quantityLookupMode_pointwise, MCGIDI_target_getIndexReactionCrossSectionAtE(), projectilesPOPID, MCGIDI_quantitiesLookupModes::setCrossSectionMode(), MCGIDI_quantitiesLookupModes::setProjectileEnergy(), MCGIDI_quantitiesLookupModes::setTemperature(), smr, and target.
Referenced by getCaptureCrossSectionAtE(), getElasticCrossSectionAtE(), getFissionCrossSectionAtE(), getOthersCrossSectionAtE(), and sampleChannelCrossSectionAtE().
int * G4GIDI_target::captureIndices |
Definition at line 64 of file G4GIDI_target.hh.
Referenced by getCaptureCrossSectionAtE(), getCaptureFinalState(), and init().
int* G4GIDI_target::elasticIndices |
Definition at line 64 of file G4GIDI_target.hh.
Referenced by getElasticCrossSectionAtE(), getElasticFinalState(), init(), and ~G4GIDI_target().
std::string G4GIDI_target::equalProbableBinSampleMethod |
Definition at line 62 of file G4GIDI_target.hh.
Referenced by getEqualProbableBinSampleMethod(), init(), and setEqualProbableBinSampleMethod().
int * G4GIDI_target::fissionIndices |
Definition at line 64 of file G4GIDI_target.hh.
Referenced by getFissionCrossSectionAtE(), getFissionFinalState(), and init().
double G4GIDI_target::mass |
Definition at line 71 of file G4GIDI_target.hh.
std::string G4GIDI_target::name |
Definition at line 69 of file G4GIDI_target.hh.
Referenced by source.g4viscp.G4Scene::create_scene(), getName(), init(), mcscore.MCParticle::printout(), and source.g4viscp.G4Scene::update_scene().
int G4GIDI_target::nCaptureIndices |
Definition at line 63 of file G4GIDI_target.hh.
Referenced by getCaptureCrossSectionAtE(), getCaptureFinalState(), and init().
int G4GIDI_target::nElasticIndices |
Definition at line 63 of file G4GIDI_target.hh.
Referenced by getElasticCrossSectionAtE(), and init().
int G4GIDI_target::nFissionIndices |
Definition at line 63 of file G4GIDI_target.hh.
Referenced by getFissionCrossSectionAtE(), getFissionFinalState(), and init().
int G4GIDI_target::nOthersIndices |
Definition at line 63 of file G4GIDI_target.hh.
Referenced by getOthersCrossSectionAtE(), getOthersFinalState(), and init().
int * G4GIDI_target::othersIndices |
Definition at line 64 of file G4GIDI_target.hh.
Referenced by getOthersCrossSectionAtE(), getOthersFinalState(), and init().
int G4GIDI_target::projectilesPOPID |
Definition at line 68 of file G4GIDI_target.hh.
Referenced by getElasticFinalState(), getFinalState(), getTotalCrossSectionAtE(), init(), sampleChannelCrossSectionAtE(), and sumChannelCrossSectionAtE().
GIDI::statusMessageReporting G4GIDI_target::smr |
Definition at line 67 of file G4GIDI_target.hh.
Referenced by getChannelIDs(), getChannelsID(), getElasticFinalState(), getFinalState(), getNumberOfChannels(), getNumberOfProductionChannels(), getReactionsDomain(), getReactionsThreshold(), getTemperatures(), init(), readTemperature(), sampleChannelCrossSectionAtE(), sumChannelCrossSectionAtE(), and ~G4GIDI_target().
std::string G4GIDI_target::sourceFilename |
Definition at line 70 of file G4GIDI_target.hh.
Referenced by getFilename(), and init().
GIDI::MCGIDI_target* G4GIDI_target::target |
Definition at line 72 of file G4GIDI_target.hh.
Referenced by getA(), getChannelIDs(), getChannelsID(), getElasticFinalState(), getFinalState(), getM(), getNumberOfChannels(), getNumberOfProductionChannels(), getReactionsDomain(), getReactionsThreshold(), getTemperatures(), getTotalCrossSectionAtE(), getZ(), init(), readTemperature(), sampleChannelCrossSectionAtE(), sumChannelCrossSectionAtE(), and ~G4GIDI_target().