Proper implementation
This commit is contained in:
@@ -60,7 +60,7 @@ inline double TI_e_Interaction_Base::calc_macro_sigma_m(const double &E_eV, cons
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline double TI_e_Interaction_Base::calc_microSigma_m2(const double &E2_eV, const int &Ee_bin) {
|
inline double TI_e_Interaction_Base::calc_microSigma_m2(const double &E2_eV, const int &Ee_bin) {
|
||||||
return get_microSigma_m2(Ee_mids[Ee_bin]); // No Integration... Only e- energy
|
//return get_microSigma_m2(Ee_mids[Ee_bin]); // No Integration... Only e- energy
|
||||||
double v1_ms = ve_mids[Ee_bin];
|
double v1_ms = ve_mids[Ee_bin];
|
||||||
double v2_ms = calc_v_ms_from_E_eV(E2_eV, m2_eV);
|
double v2_ms = calc_v_ms_from_E_eV(E2_eV, m2_eV);
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ inline double e_thermal_Interaction_Base::calc_macro_sigma_m(const double &E_eV,
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline double e_thermal_Interaction_Base::calc_microSigma_m2(const double &E_eV) {
|
inline double e_thermal_Interaction_Base::calc_microSigma_m2(const double &E_eV) {
|
||||||
return get_microSigma_m2(E_eV); //No Integration... Only e- energy
|
//return get_microSigma_m2(E_eV); //No Integration... Only e- energy
|
||||||
if (E_eV > E_limit) {
|
if (E_eV > E_limit) {
|
||||||
return get_microSigma_m2(E_eV);
|
return get_microSigma_m2(E_eV);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user