Reworked Logging class.
Added Populations for individual Species.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// 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 <blitz/tinyvec2.h>
|
||||
|
||||
typedef blitz::TinyVector<double,3> vec3;
|
||||
|
||||
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);
|
||||
|
||||
private:
|
||||
static double wgtsLength_m() {return (get_z_WGTSend_m() - get_z_WGTSstart_m());};
|
||||
};
|
||||
|
||||
|
||||
#endif /* katrin_geo_hpp */
|
||||
Reference in New Issue
Block a user