aboutsummaryrefslogtreecommitdiff
path: root/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-31 14:21:34 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:23 +0100
commit40c22e008a966d55e4a803373306f821f2fc788e (patch)
tree71eafaa33920678cdfbbbe44560dd0315a88ac24 /src/detector.h
parent3bd3007d172cb71684a328aeb064a1bed8f0ff1f (diff)
Allow default values in geometry files, and set integration radius seperately
Diffstat (limited to 'src/detector.h')
-rw-r--r--src/detector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/detector.h b/src/detector.h
index 42651ebd..0ceff341 100644
--- a/src/detector.h
+++ b/src/detector.h
@@ -39,6 +39,7 @@ struct panel
char badrow; /* 'x' or 'y' */
int no_index; /* Don't index peaks in this panel if non-zero */
double peak_sep; /* Characteristic peak separation */
+ double integr_radius; /* Peak integration radius */
double fsx;
double fsy;
@@ -76,6 +77,8 @@ struct detector
char *mask;
unsigned int mask_bad;
unsigned int mask_good;
+
+ struct panel defaults;
};