Files
katrin-plasma/src/mc_electron/katrin_geo.hpp
T

40 lines
908 B
C++

//
// katrin_geo.hpp
// mc_electron
//
// Created by Christian Reiling on 03.05.19.
// Copyright © 2019 Christian Reiling. All rights reserved.
//
#ifndef katrin_geo_hpp
#define katrin_geo_hpp
#include "kinematics.h"
class Katrin_Geo {
static const double rearwallZ_m;
static const double wgtsStartZ_m;
static const double wgtsEndZ_m;
static const double wgtsRadius_m;
public:
Katrin_Geo() {};
static double get_z_RW_m() {return(rearwallZ_m);};
static double get_z_WGTSstart_m() {return(wgtsStartZ_m);};
static double get_z_WGTSend_m() {return(wgtsEndZ_m);};
static double get_radius_m() {return(wgtsRadius_m);};
static void check_inWGTS(vec3 loc_m);
static void check_inKatrin(vec3 loc_m);
static bool inWGTS(vec3 loc_m);
static bool inKatrin(vec3 loc_m);
static double get_wgtsLength_m() {return (get_z_WGTSend_m() - get_z_WGTSstart_m());};
};
#endif /* katrin_geo_hpp */