Reworked Katrin Geometrics.

Added creation of T3+ clusters.
Added diss. recombination fo T3+ + e-
This commit is contained in:
Christian
2019-07-12 15:15:23 +02:00
parent 194d3eaf77
commit 6f288bb0c1
72 changed files with 811 additions and 589 deletions
+45
View File
@@ -0,0 +1,45 @@
//
// katrin_geo.h
// mc_electron
//
// Created by Christian Reiling on 11.07.19.
// Copyright © 2019 Christian Reiling. All rights reserved.
//
#ifndef katrin_geo_h
#define katrin_geo_h
#include "constants.h"
#include "kinematics.h"
inline bool in_WGTS(vec3 loc_m) {
double z_m = loc_m[2];
double r_m = sqrt(loc_m[0]*loc_m[0] + loc_m[1]*loc_m[1]);
if (z_m < z_WGTS_start_m) {
return false;
} else if (z_m > z_WGTS_end_m) {
return false;
} else if (r_m > r_WGTS_m) {
return false;
} else {
return true;
}
}
inline bool in_Katrin(vec3 loc_m) {
double z_m = loc_m[2];
double r_m = sqrt(loc_m[0]*loc_m[0] + loc_m[1]*loc_m[1]);
if (z_m < z_RW_m) {
return false;
} else if (z_m > z_DPS_end_m) {
return false;
} else if (r_m > r_WGTS_m) {
return false;
} else {
return true;
}
}
#endif /* katrin_geo_h */