- Added individul operators for species and better selecting process. - Switched to C arrays for main loop operations and calculating array indizes using knowledge of binning instead of doing sorted search - Added Recombination - Reworked elastic scattering kinematics - Added inelastic scattering kinematics
33 lines
725 B
C++
33 lines
725 B
C++
//
|
|
// population3_container.hpp
|
|
// mc_electron
|
|
//
|
|
// Created by Christian Reiling on 24.05.19.
|
|
// Copyright © 2019 Christian Reiling. All rights reserved.
|
|
//
|
|
|
|
#ifndef population3_container_hpp
|
|
#define population3_container_hpp
|
|
|
|
#include "linScale.h"
|
|
#include "katrin_geo.hpp"
|
|
#include "timer.hpp"
|
|
|
|
class Pop3_Container {
|
|
double ***data;
|
|
Lin_Scale z_scale;
|
|
Lin_Scale r_scale;
|
|
Lin_Scale phi_scale;
|
|
|
|
public:
|
|
~Pop3_Container();
|
|
Pop3_Container(int num_z_bins, int num_r_bins, int num_phi_bins);
|
|
void increase_value(const double &value, const vec3 &loc_m);
|
|
void increase_value(const double &value, const vec3 &loc1_m, const vec3 &loc2_m);
|
|
double get_value (vec3 loc_m);
|
|
|
|
};
|
|
|
|
|
|
#endif /* population3_container_hpp */
|