Commit Graph
55 Commits
Author SHA1 Message Date
Christian 62772f8477 Restructuring Code. Removed some small classes which provided only 1 function, like parameter. Now each class calls it own parameters and stores them as static const.
Merged function containers.

Added HDF5 output and reworked Logger class into Base class and 2 derived classes ASCI_Logger and H5_Logger
2019-04-02 10:44:33 +02:00
Christian 3c94d9083e Added Parameter maxNumberInteractionsPerElectron. 2019-03-20 15:58:00 +01:00
Christian 63470ac340 Added termination of Electrons after 100 Interactions 2019-03-20 15:48:24 +01:00
Christian 3d4d2d3a1f Change in Parameter: input parameter numTotalElectrons changed to numberTotalDecays. Now running until number of decays happend, for better time scale. 2019-03-19 15:51:56 +01:00
Christian 74b45bb88d Bug fixed, where check_EnergyTermination was used instead of check_Termination.
Changed check_EnergyTermination and check_WallTermination to private methods.
Minor change for status updater: Set updater Rate to 1% steps.
2019-03-18 14:13:59 +01:00
Christian e77176cc76 Multiple Changes:
Conceptional Change, where terminated Particles were set to Energy = 0. Now Particles are just moved within mover and termination detects, position and starts Interaction only if particle remains in tank.

Added function_container: Filled with anker points and get values corresponding to input by interpolation. 2D Interpolation needs improvement. CSV-Read in function needs error checks of input file.
Changes in katrin class: Boris Push and Drift Approximation improved.
Minor Renamings.
2019-03-18 13:51:41 +01:00
Christian 0c722147f5 Slight changes in Driftapproximation:
1) Spectrometer will reflect electrons.
2) Taking into account radial movement leading to smaller delta z.
2019-03-11 16:00:49 +01:00
Christian 0c8d7f35e1 Removed elastic.cpp and ionization.cpp 2019-03-01 13:04:57 +01:00
Christian b19c03f524 Added myexeption to throw errors and show using MyExeption class. 2019-03-01 11:12:44 +01:00
Christian c0c6bf63a0 bug fix for kalinka. 2019-03-01 10:41:41 +01:00
Christian 58a5340585 bug fix for kalinka 2019-03-01 10:40:27 +01:00
Christian 139b2a859c bug fix for kalinka 2019-03-01 10:38:56 +01:00
Christian d8a51d9014 Removed hardshell class. 2019-03-01 10:31:54 +01:00
Christian a20aa7a071 Minor Changes 2019-03-01 10:29:17 +01:00
Christian 96e9ee4f2b Changed Ionization to BED-Model Kim et al 1994.
ome minor reorganizing changes.

Changed Ionization to BED-Model Kim et al 1994.
Some minor reorganizing changes.
2019-02-28 17:06:30 +01:00
Christian ef33e77184 Screenshot with working ionization function.
Ionization will be changed to BED model.
2019-02-22 14:14:14 +01:00
Christian dd483c13f2 Added Ionization 2019-01-25 14:16:20 +01:00
Christian 0534f00fbd Working change, before making some adjustments in classes, structure. 2019-01-15 09:49:36 +01:00
Christian Reiling ae5546a3ed Using stringstream and bugfixing using c_str(). Compatible with kalinka now 2018-11-27 11:11:19 +01:00
Christian 2cf9bc6c23 Removed std:: and using namespace std 2018-11-27 10:22:56 +01:00
Christian 6b7eeac0bb Removed c++11 only functions 2018-11-27 10:14:15 +01:00
Christian 67f3419048 removed clock 2018-11-22 09:41:03 +01:00
Christian 7be3c92a15 Fixed MB-Generator. Slight changes 2018-11-22 09:37:06 +01:00
Christian 147ba3fe0c Try c++17 2018-11-19 14:47:28 +01:00
Christian abf2d2eddf Added parameters.cat 2018-11-19 14:27:27 +01:00
Christian 70fad56cdd makefile somehow removed. 2018-11-19 14:25:14 +01:00
Christian e1a1a6c299 Bug fixes. 2018-11-19 14:14:31 +01:00
Christian 15851a540a Added new test class, reworked some code
Started Implementing Ionization
2018-11-07 12:11:24 +01:00
Christian cf7ac857d2 Added Testsimulation to test and validate Code.
Added Elastic Scattering.
Corrected Injection.
2018-10-22 14:56:23 +02:00
Christian cf5cff083d File Tracking Added. 2018-10-11 14:00:40 +02:00
Christian ab2bc174af Added constants.h: declaring global variables there and passign to parameters, particles. Included Elastic Scattering 2018-10-11 10:00:30 +02:00
fspanier 3a2a9e6a9d Added physconst to the katrin git 2018-09-28 22:12:59 +02:00
Christian bc6eb5cfbf Aktuelle Stand 2018-09-26 15:12:27 +02:00
Christian b702929cf7 Change of variable names 2018-09-21 15:31:55 +02:00
Christian 9fffe0265f removed setenv passage in main. 2018-09-20 21:10:01 +02:00
Christian 95aaaf3d07 Changed main function to only def poub and pname if not declared. 2018-09-20 20:54:18 +02:00
Christian b3b914f0b4 Changes in general code and added class energyhisto for 2018-09-20 18:43:32 +02:00
fspanier 7f53fb2bef return statements corrected in katrin.cpp 2018-09-18 18:17:49 +02:00
Christian c5c0d9c229 update 2018-09-18 18:08:29 +02:00
fspanier 10e848d277 makefile2 for mc_electron debugged 2018-09-18 17:55:54 +02:00
Christian bf244e4a87 updated version 2018-09-18 17:48:31 +02:00
fspanier 8ba4b869cb New makefile system for mc_electron 2018-09-18 17:14:28 +02:00
fspanier a0be58374b Makefile for Darwin 2018-09-18 16:00:23 +02:00
fspanier 02a1bd5547 The makefile system! 2018-09-18 15:46:56 +02:00
fspanier a482552637 Makefiles for Blitz using the new (very old...) makefile system 2018-09-18 15:44:53 +02:00
fspanier b37e085106 Added zipped version of blitz 2018-09-18 15:07:25 +02:00
Felix Spanier 35dbdd4b44 Ausgepacktes Blitz entfernt 2018-09-18 15:03:46 +02:00
Christian 855130be0a Also removing mcelectron. 2018-09-18 12:58:42 +02:00
Christian 2b702fac2d Removed *.o, include, lib. 2018-09-18 12:53:59 +02:00
Christian bd644ee60c Added blitz 2018-09-17 14:30:47 +02:00