// // parameter.hpp // mc_electron // // Created by Christian Reiling on 20.09.18. // Copyright © 2018 Christian Reiling. All rights reserved. // #ifndef parameter_hpp #define parameter_hpp #include class Parameter { public: Parameter(); protected: //Simulation Specs int seed ; long int numberTotalDecays; double dt_s; int injectionMethod; // 0 = Beta Decay, 1 = Delta, 2 = Maxwell Boltzmann double deltaKinEnergy_eV; double MBTemp_K; int elaOn; int ionOn; int propagationMethod; // 0 = Drift Approximation, 1 = Borispush // Cutoff int cutoffMode; // 0 = Energy from Parameter, 1 = WGTSTemperature*cutoffFactor double cutoffEnergySet_eV; double cutoffFactor; int maxNumberInteractionsPerElectron; //KATRIN Specs double wgtsMagField_T; double wgtsLength_m; double wgtsRadius_m; double wgtsT2Density_m3; double wgtsTemp_K; double wgtsT2FlowSpeed_ms; // Output int numberZBins; private: double getValue(std::string varName); }; #endif