File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class CDetector
71
71
72
72
cos_acceptance_angle = 0 ;
73
73
alignment = ALIG_RND;
74
- processing_method = NEAREST ;
74
+ processing_method = 0 ;
75
75
76
76
w1_I = 0 ;
77
77
w1_Q = 0 ;
@@ -1101,7 +1101,9 @@ class CDetector
1101
1101
array_T[i] = matrixT[i_spectral + i_extra * nr_spectral_bins](i_x, i_y);
1102
1102
array_S[i] = matrixS[i_spectral + i_extra * nr_spectral_bins](i_x, i_y);
1103
1103
double N_ph = N_photon[i_spectral + i_extra * nr_spectral_bins](i_x, i_y);
1104
- if ((results_type == RESULTS_RAY || results_type == RESULTS_FULL) && processing_method == NEAREST && N_ph > 0 )
1104
+
1105
+ if ((results_type == RESULTS_RAY || results_type == RESULTS_FULL) &&
1106
+ detector_id == DET_POLAR && processing_method == NEAREST && N_ph > 0 )
1105
1107
{
1106
1108
array_T[i] /= N_ph;
1107
1109
array_S[i] /= N_ph;
Original file line number Diff line number Diff line change @@ -306,8 +306,8 @@ using namespace std;
306
306
#define RESULTS_FULL 2
307
307
308
308
// Polar to Cartesian mapping method
309
- #define NEAREST 0
310
- #define INTERP 1
309
+ #define NEAREST 1
310
+ #define INTERP 2
311
311
312
312
// Type of calorimetry data
313
313
#define CALO_HEAT_CAP 0
You can’t perform that action at this time.
0 commit comments