30 #ifndef G4GIDI_target_h_included 31 #define G4GIDI_target_h_included 1 50 #define channelID std::string 54 double kineticEnergy, px, py,
pz;
61 void init(
const char *fileName );
79 std::string *getFilename(
void );
83 double getMass(
void );
84 int getTemperatures(
double *temperatures );
85 int readTemperature(
int index );
86 std::string getEqualProbableBinSampleMethod(
void );
87 int setEqualProbableBinSampleMethod( std::string method );
89 int getNumberOfChannels(
void );
90 int getNumberOfProductionChannels(
void );
91 channelID getChannelsID(
int channelIndex );
92 std::vector<channelID> *getChannelIDs(
void );
93 std::vector<channelID> *getProductionChannelIDs(
void );
95 std::vector<double> *getEnergyGridAtTIndex(
int index );
97 double getTotalCrossSectionAtE(
double e_in,
double temperature );
98 double getElasticCrossSectionAtE(
double e_in,
double temperature );
99 double getCaptureCrossSectionAtE(
double e_in,
double temperature );
100 double getFissionCrossSectionAtE(
double e_in,
double temperature );
101 double getOthersCrossSectionAtE(
double e_in,
double temperature );
102 double sumChannelCrossSectionAtE(
int nIndices,
int *indices,
double e_in,
double temperature );
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 );
111 double getReactionsThreshold(
int index );
112 double getReactionsDomain(
int index,
double *EMin,
double *EMax );
115 #endif // End of G4GIDI_target_h_included
GIDI::statusMessageReporting smr
struct statusMessageReporting statusMessageReporting
std::string equalProbableBinSampleMethod
std::vector< double > crossSection
std::string sourceFilename
GIDI::MCGIDI_target * target
double A(double temperature)
struct MCGIDI_target_s MCGIDI_target
std::string getName(const ParticleType t)
Get the native INCL name of the particle.