Reworked Katrin Geometrics.
Added creation of T3+ clusters. Added diss. recombination fo T3+ + e-
This commit is contained in:
@@ -25,7 +25,7 @@ class eT2_Elastic : public Sub_Interaction_Base {
|
||||
public:
|
||||
eT2_Elastic(Population_Base *T2Population, UniRNG *rngUni, DCS_Base *dcs_gen) : Sub_Interaction_Base(T2Population, rngUni),
|
||||
tcs_data(scale_start, scale_end, 1e3, get_data_path() + "eT2_ela_TCS.dat"),
|
||||
kinematics(me_eV, mT2_eV) {
|
||||
kinematics(me_eV, 2*mT_eV) {
|
||||
this->dcs_gen = dcs_gen;
|
||||
}
|
||||
|
||||
@@ -35,19 +35,19 @@ public:
|
||||
|
||||
|
||||
inline double eT2_Elastic::get_macroSigma_m2(const Particle &interPart) {
|
||||
double Ekin_eV = interPart.get_EKin_eV();
|
||||
double microSigma_m2 = tcs_data.get_value(Ekin_eV);
|
||||
vec3 loc_m = interPart.get_Location_m();
|
||||
double E_eV = interPart.get_E_eV();
|
||||
double microSigma_m2 = tcs_data.get_value(E_eV);
|
||||
vec3 loc_m = interPart.get_x_m();
|
||||
double nT2_m3 = Population->get_density_m3(loc_m);
|
||||
return microSigma_m2*nT2_m3;
|
||||
}
|
||||
|
||||
inline InteractionOut eT2_Elastic::do_Interaction (Particle *interPart) {
|
||||
// Here theta and phi are COM-Angles.... prob not correct. For m1 << m2 COM - Angle ~ Lab Angle
|
||||
vec3 v1_ms = interPart->get_Speed_ms();
|
||||
vec3 vOff_ms = Population->roll_speed_ms(interPart->get_Location_m());
|
||||
vec3 v1_ms = interPart->get_v_ms();
|
||||
vec3 vOff_ms = Population->roll_v_ms(interPart->get_x_m());
|
||||
vec3 vLab_ms = v1_ms - vOff_ms;
|
||||
double T_eV = calc_Ekin_eV_from_speed(vLab_ms, me_eV);
|
||||
double T_eV = calc_E_eV_from_v_ms(vLab_ms, me_eV);
|
||||
double theta_lab = dcs_gen->get_theta(T_eV);
|
||||
double phi_lab = rngUni->random() * 2 * pi;
|
||||
kinematics.doKinematics(interPart, vOff_ms, theta_lab, phi_lab);
|
||||
@@ -65,7 +65,7 @@ class eT2_Elastic_Analytic : public Sub_Interaction_Base {
|
||||
Elastic_Kinematic_Base kinematics;
|
||||
public:
|
||||
eT2_Elastic_Analytic(Population_Base *T2Population, UniRNG *rngUni) : Sub_Interaction_Base(T2Population, rngUni) {
|
||||
kinematics = Elastic_Kinematic_Base(me_eV, mT2_eV);
|
||||
kinematics = Elastic_Kinematic_Base(me_eV, 2*mT_eV);
|
||||
};
|
||||
|
||||
double get_macroSigma_m2(const Particle &interPart);
|
||||
@@ -74,19 +74,19 @@ public:
|
||||
|
||||
|
||||
inline double eT2_Elastic_Analytic::get_macroSigma_m2(const Particle &interPart) {
|
||||
double Ekin_eV = interPart.get_EKin_eV();
|
||||
double microSigma_m2 = Uehara_eT2_ElasticScattering::calc_TCS(Ekin_eV);
|
||||
vec3 loc_m = interPart.get_Location_m();
|
||||
double E_eV = interPart.get_E_eV();
|
||||
double microSigma_m2 = Uehara_eT2_ElasticScattering::calc_TCS(E_eV);
|
||||
vec3 loc_m = interPart.get_x_m();
|
||||
double nT2_m3 = Population->get_density_m3(loc_m);
|
||||
return microSigma_m2*nT2_m3;
|
||||
}
|
||||
|
||||
inline InteractionOut eT2_Elastic_Analytic::do_Interaction (Particle *interPart) {
|
||||
// Here theta and phi are COM-Angles.... prob not correct. For m1 << m2 COM - Angle ~ Lab Angle
|
||||
vec3 v1_ms = interPart->get_Speed_ms();
|
||||
vec3 vOff_ms = Population->roll_speed_ms(interPart->get_Location_m());
|
||||
vec3 v1_ms = interPart->get_v_ms();
|
||||
vec3 vOff_ms = Population->roll_v_ms(interPart->get_x_m());
|
||||
vec3 vLab_ms = v1_ms - vOff_ms;
|
||||
double T_eV = calc_Ekin_eV_from_speed(vLab_ms, me_eV);
|
||||
double T_eV = calc_E_eV_from_v_ms(vLab_ms, me_eV);
|
||||
double theta_lab = Uehara_eT2_ElasticScattering::roll_theta(T_eV, rngUni);
|
||||
double phi_lab = rngUni->random() * 2 * pi;
|
||||
kinematics.doKinematics(interPart, vOff_ms, theta_lab, phi_lab);
|
||||
|
||||
Reference in New Issue
Block a user