From d2bf32953fafb04fcf463b30361ad31394fe2a3d Mon Sep 17 00:00:00 2001 From: Peter DeRosa <54421997+MagnusSnowleopard@users.noreply.github.com> Date: Mon, 22 Aug 2022 12:05:21 -0400 Subject: [PATCH] General documentation update --- .AD.cxx.swo | Bin 16384 -> 0 bytes 326.csv | 15 +++++++++++++ 426.csv | 14 +++++++++++++ AD.cxx | 59 +++++++++++++++++++++++++++++----------------------- Cleb.h | 10 +++++++-- Functlib.h | 34 ++++++++++++++++++------------ GUI_AD.h | 30 +++++++++++++++----------- GUI_Base.h | 14 +++++++------ QDK.h | 8 +++++++ ad.txt | 8 +++---- global.h | 8 ++++--- 11 files changed, 134 insertions(+), 66 deletions(-) delete mode 100644 .AD.cxx.swo create mode 100644 326.csv create mode 100644 426.csv diff --git a/.AD.cxx.swo b/.AD.cxx.swo deleted file mode 100644 index 20bea15f9d5db3bdb454203b88f9c29efba99197..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeI2TWlRi8OOIRml#@FQpzKIwsCaqoO|8YjU7XL3sxFeX%YlV%3-}b=XmWsyNBI9 zc8ucfBB;nGqdEkZN}9-0Rppb`ivr4R5z8!1KN1;hg?ttjFJC=w(o|8Hh@&n31? z`bIS?{m$7l-^@4P{AXr&cJ|B{KQ_CcM)G9?$1R3&+e5#ffAP7c8-D#c!)S;|1f2c` z$Gw5$dwJKlOn1wi4@ifFDG@G3exoqu1j35^V6`ym+oG^%sG194Qjtsb_w~}P+YeuZ1D#bXpcT*xXa%$aS^=$qRzNGD75INw zAZlzgPM{Ij#|=3Ze_z-2{d#;P`vDJi*{{U*lX3c`F8k%!emYM7d|W|N&!yNN#`gEd z0VVeT#P;K{{R>_8f5&!ii#%>nUrG7+r;&-xC%Wu$vi{NvXa%$aS^=$qRzNGD70?Q3 z1+)TM0jdLJhVe7-3^)s(1m6cI!5kO`1K<{LGkE1j_y;e7pM$gD zNpKphgX3TgxZsoEE^sG!Ke!EC53U1$dbeRb2c80_z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O z%ZCWXI5OE$IK}-nIo*klN$v{kN*d^$US9|D#cD5##??Dns^S*q2af4xoDJ%6xSDc) zlpGqPJLNamkmoy3VaVWdTQ?mqBgcPGv$A~CqoEdLnF z@N8wm3`J*NPDL1S*yge3`tzpCiTwP35zpDD@odh|{~3Jo@hqP0&x5DHDNqM4m;*gv z8@Pfpm%%0Q8u%yp2lzX<0A2vU0MCG*f**k&f**jhfcFR<2WP-{z_-D-z+>Q>;8E}h z_y+ho_!{^s;8?!`^r02d3TOqi0$KsBfL1^&pcT*xXa%$aZw&?dg=afe0~>pCw<8cy zGw}G$VAtkHY{2_8X~347+(75;!IFGj_ZyLX<%WGI-ZMzbt8Z*x;Ejtc$)|jzZ>wg# zWz%(RlK!wc6JYZIFTt`D`gMV=No+JYA*}?yS4-bLvIDtc%dcBhAiZsSCT!-T)^sYS zou72Ezrb%xWn%mh+wSrG#wMm&&xtzTv2w|{*g+A^z#53qv74rQq max_x) max_x = x[i]; if(x[i] < min_x) min_x = x[i]; @@ -338,9 +344,9 @@ int HistoGUIad::DrawData(double x_low_win, double y_low_win, double x_hi_win, do // min_y = y[0]; //hard set graphical boundaries max_x = 3.1415; - max_y = 2.; + max_y = A0*1.5; min_x = -.1; - min_y = -.1; + min_y = A0*0.5; /* for(int i=0; i max_x) max_x = x[i]; if(x[i] < min_x) min_x = x[i]; diff --git a/GUI_Base.h b/GUI_Base.h index 255fb5e..d1a269d 100644 --- a/GUI_Base.h +++ b/GUI_Base.h @@ -1,10 +1,12 @@ -#include -#include -#include -#include -#include -#include +//#################################################################### +// +// This is a base version of the AD GUI allowing the user to plot two +// input double vectors. The GUI consists of zooming, crosshair readout, +// and drawing on the canvas. +// +//#################################################################### +#include "global.h" class HistoGUI{ diff --git a/QDK.h b/QDK.h index e6b6820..792edb6 100644 --- a/QDK.h +++ b/QDK.h @@ -1,3 +1,11 @@ +//##################################################################### +// +//This file is a geometric calculation of the efficiency of radiation +//in germanium crystals as a function of energy, and the crystal +//geometry of the experiment. +// +//##################################################################### + #include "global.h" using namespace std; diff --git a/ad.txt b/ad.txt index 5cdeadd..240cc43 100644 --- a/ad.txt +++ b/ad.txt @@ -1,7 +1,7 @@ Radius = 3 [cm] Distance = 4 [cm] Thickness = 5 [cm] -Atten.C = 0.282206 [cm^-1] -Gamma_E = 1147 [KeV] -QD2 = 0.802565 -QD4 = 0.44946 +Atten.C = 0.476411 [cm^-1] +Gamma_E = 426 [KeV] +QD2 = 0.790549 +QD4 = 0.42078 diff --git a/global.h b/global.h index 5c10f13..cedeb7d 100644 --- a/global.h +++ b/global.h @@ -1,8 +1,10 @@ #ifndef __iamauniqueid_h__ #define __iamauniqueid_h__ - -//define any global data type here. - +//######################################################## +//This file is used for defining global data type and all +//includes needed for the program. +// +//######################################################## #include #include #include