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
+5 -5
View File
@@ -10,7 +10,7 @@
#include <sstream>
#include "katrin_geo.hpp"
#include "katrin_geo.h"
#include "error_types.h"
@@ -42,12 +42,12 @@ ASCI_Logger::ASCI_Logger() {
void ASCI_Logger::set_zLogValues() {
zLogValues.clear();
if (logging) {
double start_m = Katrin_Geo::get_z_RW_m();
double length_m = Katrin_Geo::get_z_WGTSend_m() - start_m;
double start_m = z_RW_m;
double length_m = z_WGTS_end_m - start_m;
double stepLength_m = length_m/(numberZBins-1);
double z_m;
for (int i = 0;i<numberZBins;i++) {
z_m = Katrin_Geo::get_z_RW_m() + stepLength_m*i;
z_m = z_RW_m + stepLength_m*i;
zLogValues.push_back(z_m);
}
}
@@ -82,7 +82,7 @@ void ASCI_Logger::log_Particle(Particle *logPart, blitz::TinyVector<double,3> ol
outStream[0]<<*logPart<<endl;
} else {
double zold = oldLoc_m[2];
double znew = logPart->get_Location_m()[2];
double znew = logPart->get_x_m()[2];
double zmin = min(zold,znew);
double zmax = max(zold,znew);