Changed everywhere from float to double, even mythenDetectorServer and the standalone files

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@206 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-08-02 12:58:08 +00:00
parent 3795dcedfe
commit 5aebcd4888
47 changed files with 615 additions and 611 deletions

View File

@ -16,8 +16,8 @@ using namespace std;
const float conven=1000./3.6; /**< electrons/keV */
const float el=1.67E-4; /**< electron charge in fC */
const double conven=1000./3.6; /**< electrons/keV */
const double el=1.67E-4; /**< electron charge in fC */
@ -148,7 +148,7 @@ Double_t erfFuncFluo(Double_t *x, Double_t *par);
#endif
/** Calculates the median of an array of n elements */
static float median(float *x, int n);
static double median(double *x, int n);
/** Calculates the median of an array of n elements (swaps the arrays!)*/
static int quick_select(int arr[], int n);
/** Calculates the median of an array of n elements (swaps the arrays!)*/