30 #ifndef G4GIDI_target_h_included
31 #define G4GIDI_target_h_included 1
50 #define channelID std::string
61 void init(
const char *fileName );
103 int sampleChannelCrossSectionAtE(
int nIndices,
int *indices,
double e_in,
double temperature,
double (*rng)(
void * ),
void *rngState );
105 double getElasticFinalState(
double e_in,
double temperature,
double (*rng)(
void * ),
void *rngState );
106 std::vector<G4GIDI_Product> *
getCaptureFinalState(
double e_in,
double temperature,
double (*rng)(
void * ),
void *rngState );
107 std::vector<G4GIDI_Product> *
getFissionFinalState(
double e_in,
double temperature,
double (*rng)(
void * ),
void *rngState );
108 std::vector<G4GIDI_Product> *
getOthersFinalState(
double e_in,
double temperature,
double (*rng)(
void * ),
void *rngState );
109 std::vector<G4GIDI_Product> *
getFinalState(
int nIndices,
int *indices,
double e_in,
double temperature,
double (*rng)(
void * ),
void *rngState );
115 #endif // End of G4GIDI_target_h_included
double getOthersCrossSectionAtE(double e_in, double temperature)
double sumChannelCrossSectionAtE(int nIndices, int *indices, double e_in, double temperature)
std::vector< double > crossSection
std::string * getName(void)
std::vector< channelID > * getProductionChannelIDs(void)
std::string getEqualProbableBinSampleMethod(void)
struct MCGIDI_target_s MCGIDI_target
std::vector< G4GIDI_Product > * getCaptureFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
std::vector< G4GIDI_Product > * getFinalState(int nIndices, int *indices, double e_in, double temperature, double(*rng)(void *), void *rngState)
int readTemperature(int index)
std::string equalProbableBinSampleMethod
GIDI::statusMessageReporting smr
struct statusMessageReporting statusMessageReporting
int getNumberOfChannels(void)
int sampleChannelCrossSectionAtE(int nIndices, int *indices, double e_in, double temperature, double(*rng)(void *), void *rngState)
G4GIDI_target(const char *fileName)
double getReactionsThreshold(int index)
void init(const char *fileName)
double getReactionsDomain(int index, double *EMin, double *EMax)
std::vector< double > * getEnergyGridAtTIndex(int index)
double getElasticFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
std::vector< G4GIDI_Product > * getFissionFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
int setEqualProbableBinSampleMethod(std::string method)
double getFissionCrossSectionAtE(double e_in, double temperature)
std::string * getFilename(void)
int getNumberOfProductionChannels(void)
std::vector< G4GIDI_Product > * getOthersFinalState(double e_in, double temperature, double(*rng)(void *), void *rngState)
int getTemperatures(double *temperatures)
double getElasticCrossSectionAtE(double e_in, double temperature)
double getTotalCrossSectionAtE(double e_in, double temperature)
GIDI::MCGIDI_target * target
double getCaptureCrossSectionAtE(double e_in, double temperature)
std::string sourceFilename
std::vector< channelID > * getChannelIDs(void)
channelID getChannelsID(int channelIndex)