-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParameters.h
50 lines (38 loc) · 978 Bytes
/
Parameters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef PARAMETERS_H
#define PARAMETERS_H
#include <QString>
extern int nCM;
extern int nBK;
extern int nPixel;
extern int nCrystal;
extern int crystalNum;
extern qreal enlarge; // enlarge the floodmap size
extern int bias; // mv the floodmap to center of FOV
// choose central area to analysis
extern int xmin;
extern int xmax;
extern int ymin;
extern int ymax;
extern qreal EW_width;
enum class SegmentMethod
{
SVD = 1,
FindMaximum = 2,
};
extern SegmentMethod segMethod;
extern qreal peakE;
extern int ADC_min;
extern int ADC_max; // ADC channel value
extern int ADC_nBins;
extern qreal ADC_binWidth;
extern int ADC_cutValue; // value < cutValue is set to 0, for finding the true peak
extern qreal recE_min;
extern qreal recE_max; // keV
extern int recE_nBins;
extern qreal recE_binWidth;
extern qreal recE_cutValue;
extern QString currentPath;
extern QString fName_LUT_P;
extern QString fName_LUT_E;
extern QString fName_LUT_U;
#endif // PARAMETERS_H